Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F628787
ExperimentDialog.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
494 B
Referenced Files
None
Subscribers
None
ExperimentDialog.cpp
View Options
#include
"ExperimentDialog.h"
#include
"ui_ExperimentDialog.h"
#include
"GitHubAPI.h"
ExperimentDialog
::
ExperimentDialog
(
QWidget
*
parent
)
:
QDialog
(
parent
),
ui
(
new
Ui
::
ExperimentDialog
)
{
ui
->
setupUi
(
this
);
}
ExperimentDialog
::~
ExperimentDialog
()
{
delete
ui
;
}
void
ExperimentDialog
::
on_pushButton_get_clicked
()
{
QString
name
=
ui
->
lineEdit
->
text
();
GitHubAPI
github
;
QImage
image
=
github
.
avatarImage
(
name
.
toStdString
());
ui
->
label_image
->
setPixmap
(
QPixmap
::
fromImage
(
image
));
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sun, Nov 15, 5:04 AM (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
152079
Default Alt Text
ExperimentDialog.cpp (494 B)
Attached To
Mode
R77 Guitar
Attached
Detach File
Event Timeline