#include <CommitDialog.hpp>
|
std::unique_ptr< dbe::Ui::CommitDialog > | ui |
|
Definition at line 19 of file CommitDialog.hpp.
◆ ~CommitDialog()
dbe::CommitDialog::~CommitDialog |
( |
| ) |
|
|
default |
◆ CommitDialog()
dbe::CommitDialog::CommitDialog |
( |
QWidget * | parent = 0 | ) |
|
Setting Ui
Setting initial values
Setting Controller
Definition at line 6 of file CommitDialog.cpp.
7 : QDialog ( parent ),
8 ui (
new Ui::CommitDialog )
9{
11 setupUi ( this );
12
14 setModal ( true );
15 setSizePolicy ( QSizePolicy::Preferred, QSizePolicy::Preferred );
16 setToolTip ( "Enter a commit message (optional) and press the ok button." );
17 show();
18
21}
std::unique_ptr< dbe::Ui::CommitDialog > ui
◆ CancelCommitMessage
void dbe::CommitDialog::CancelCommitMessage |
( |
| ) |
|
|
privateslot |
◆ CommitMessageEdited
void dbe::CommitDialog::CommitMessageEdited |
( |
| ) |
|
|
privateslot |
Definition at line 36 of file CommitDialog.cpp.
37{
38 if ( !CommitMessageLine->text().isEmpty() )
39 {
40 OkButton->setEnabled ( true );
41 }
42 else
43 {
44 OkButton->setEnabled ( false );
45 }
46}
◆ GetCommitMessage()
QString dbe::CommitDialog::GetCommitMessage |
( |
| ) |
const |
Definition at line 31 of file CommitDialog.cpp.
32{
33 return CommitMessageLine->text();
34}
◆ OkCommitMessage
void dbe::CommitDialog::OkCommitMessage |
( |
| ) |
|
|
privateslot |
◆ SetController()
void dbe::CommitDialog::SetController |
( |
| ) |
|
Definition at line 23 of file CommitDialog.cpp.
24{
25 connect ( OkButton, SIGNAL ( clicked() ),
this, SLOT (
OkCommitMessage() ),
26 Qt::UniqueConnection );
28 Qt::UniqueConnection );
29}
void CancelCommitMessage()
◆ ui
std::unique_ptr<dbe::Ui::CommitDialog> dbe::CommitDialog::ui |
|
private |
The documentation for this class was generated from the following files: