Exemplo n.º 1
0
/*
 * Wizard
 */
NewDbWizard::NewDbWizard(QWidget *parent)
  : QWizard(parent) {
  setupUi(this);
  setWindowIcon(IconManager::get("bookmark-new"));

  setupPages();
}
Exemplo n.º 2
0
ConquirereSettingsDialog::ConquirereSettingsDialog(QWidget *parent)
    : KPageDialog(parent)
{
    setupPages();

    connect(this, SIGNAL(applyClicked()), this, SLOT(applyChanges()));
}
Exemplo n.º 3
0
/**
 * 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()));
}
Exemplo n.º 4
0
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()));
}
Exemplo n.º 6
0
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();
}
Exemplo n.º 7
0
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()));
}
Exemplo n.º 8
0
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();
}