/* * Wizard */ NewDbWizard::NewDbWizard(QWidget *parent) : QWizard(parent) { setupUi(this); setWindowIcon(IconManager::get("bookmark-new")); setupPages(); }
ConquirereSettingsDialog::ConquirereSettingsDialog(QWidget *parent) : KPageDialog(parent) { setupPages(); connect(this, SIGNAL(applyClicked()), this, SLOT(applyChanges())); }
/** * Constructor. */ ObjectNodeDialog::ObjectNodeDialog(QWidget *parent, ObjectNodeWidget * pWidget) : MultiPageDialogBase(parent), m_pObjectNodeWidget(pWidget), m_bChangesMade(false) { setCaption(i18n("Properties")); setupPages(); connect(this, SIGNAL(okClicked()), this, SLOT(slotOk())); connect(this, SIGNAL(applyClicked()), this, SLOT(slotApply())); }
CameraGroupView::CameraGroupView(boost::shared_ptr<ClientGroup>group, QWidget *parent): QWidget(parent), ui(new Ui::CameraGroupView), m_ClientGroup(group), m_LastWidget(NULL) { ui->setupUi(this); setupPages(); setupSignals(); }
/** * Sets up an Association Properties Dialog. * @param parent The parent of the AssociationPropertiesDialog * @param assocWidget The Association Widget to display properties of. * @param pageNum The page to show first. */ AssociationPropertiesDialog::AssociationPropertiesDialog (QWidget *parent, AssociationWidget * assocWidget, int pageNum) : MultiPageDialogBase(parent), m_pAssoc(assocWidget) { Q_UNUSED(pageNum) setCaption(i18n("Association Properties")); setupPages(); connect(this, SIGNAL(okClicked()), this, SLOT(slotOk())); connect(this, SIGNAL(applyClicked()), this, SLOT(slotApply())); }
Prefs::Prefs(QSettings *settings, QWidget* parent) : QDialog(parent) { _settings = settings; this->setupUi(this); connect(listBox, SIGNAL(currentItemChanged(QListWidgetItem *,QListWidgetItem *)), this, SLOT(changeGroup(QListWidgetItem *, QListWidgetItem*))); setupPages(); updateGUI(); }
ObjectNodeDialog::ObjectNodeDialog( UMLView * pView, ObjectNodeWidget * pWidget ) : KPageDialog(pView) { setCaption( i18n("Properties") ); setButtons( Ok | Apply | Cancel | Help ); setDefaultButton( Ok ); setModal( true ); setFaceType( KPageDialog::List ); showButtonSeparator( true ); m_pView = pView; m_pObjectNodeWidget = pWidget; m_bChangesMade = false; setupPages(); connect(this,SIGNAL(okClicked()),this,SLOT(slotOk())); connect(this,SIGNAL(applyClicked()),this,SLOT(slotApply())); }
AssocPropDlg::AssocPropDlg (QWidget *parent, AssociationWidget * assocWidget, int pageNum) : KPageDialog(parent) { Q_UNUSED(pageNum); setCaption( i18n("Association Properties") ); setButtons( Ok | Apply | Cancel | Help ); setDefaultButton( Ok ); setModal( true ); setFaceType( KPageDialog::List ); showButtonSeparator( true ); m_pGenPage = 0; m_pRolePage = 0; m_pAssoc = assocWidget; setupPages(assocWidget); connect(this,SIGNAL(okClicked()),this,SLOT(slotOk())); connect(this,SIGNAL(applyClicked()),this,SLOT(slotApply())); }
KMoneyThingMainWidget::KMoneyThingMainWidget(QWidget *parent, const char *name, int face) : KJanusWidget(parent, name, face) { mCurrentFile = new KMoneyThingFile(); setupPages(); }