Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F626091
DoYouWantToInitDialog.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
777 B
Referenced Files
None
Subscribers
None
DoYouWantToInitDialog.cpp
View Options
#include
"DoYouWantToInitDialog.h"
#include
"ui_DoYouWantToInitDialog.h"
DoYouWantToInitDialog
::
DoYouWantToInitDialog
(
QWidget
*
parent
,
QString
const
&
dir
)
:
QDialog
(
parent
),
ui
(
new
Ui
::
DoYouWantToInitDialog
)
{
ui
->
setupUi
(
this
);
ui
->
lineEdit
->
setText
(
dir
);
ui
->
pushButton
->
setEnabled
(
false
);
}
DoYouWantToInitDialog
::~
DoYouWantToInitDialog
()
{
delete
ui
;
}
void
DoYouWantToInitDialog
::
on_radioButton_yes_clicked
()
{
ui
->
pushButton
->
setText
(
tr
(
"Next..."
));
ui
->
pushButton
->
setEnabled
(
true
);
}
void
DoYouWantToInitDialog
::
on_radioButton_no_clicked
()
{
ui
->
pushButton
->
setText
(
tr
(
"Cancel"
));
ui
->
pushButton
->
setEnabled
(
true
);
}
void
DoYouWantToInitDialog
::
on_pushButton_clicked
()
{
done
(
ui
->
radioButton_yes
->
isChecked
()
?
QDialog
::
Accepted
:
QDialog
::
Rejected
);
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sun, Nov 15, 12:18 AM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
115894
Default Alt Text
DoYouWantToInitDialog.cpp (777 B)
Attached To
Mode
R77 Guitar
Attached
Detach File
Event Timeline