diff options
Diffstat (limited to 'ldmicro/contactsdialog.cpp')
-rw-r--r-- | ldmicro/contactsdialog.cpp | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/ldmicro/contactsdialog.cpp b/ldmicro/contactsdialog.cpp index 35c1c65..40d8055 100644 --- a/ldmicro/contactsdialog.cpp +++ b/ldmicro/contactsdialog.cpp @@ -53,9 +53,12 @@ static void MakeControls(void) ContactsGrid->setSpacing(3); SourceGrid->setSpacing(3); - SourceInternalRelayRadio = new QRadioButton(_("Internal Relay"), ContactsDialog); - SourceInputPinRadio = new QRadioButton(_("Input pin"), ContactsDialog); - SourceOutputPinRadio = new QRadioButton(_("Output pin"), ContactsDialog); + SourceInternalRelayRadio = new QRadioButton(_("Internal Relay"), + ContactsDialog); + SourceInputPinRadio = new QRadioButton(_("Input pin"), + ContactsDialog); + SourceOutputPinRadio = new QRadioButton(_("Output pin"), + ContactsDialog); SourceGrid->addWidget(SourceInternalRelayRadio,0,0); SourceGrid->addWidget(SourceInputPinRadio,1,0); SourceGrid->addWidget(SourceOutputPinRadio,2,0); @@ -74,8 +77,14 @@ static void MakeControls(void) ContactsGrid->addWidget(grouper,0,0); ContactsGrid->addLayout(NameGrid,0,1); ContactsGrid->addWidget(ButtonBox,0,2); - QObject::connect(ButtonBox, SIGNAL(accepted()), ContactsDialog, SLOT(accept())); - QObject::connect(ButtonBox, SIGNAL(rejected()), ContactsDialog, SLOT(reject())); + QObject::connect(ButtonBox, + SIGNAL(accepted()), + ContactsDialog, + SLOT(accept())); + QObject::connect(ButtonBox, + SIGNAL(rejected()), + ContactsDialog, + SLOT(reject())); } static inline void DestroyWindow (){ |