本文整理汇总了C++中ConfigDialog::show方法的典型用法代码示例。如果您正苦于以下问题:C++ ConfigDialog::show方法的具体用法?C++ ConfigDialog::show怎么用?C++ ConfigDialog::show使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ConfigDialog
的用法示例。
在下文中一共展示了ConfigDialog::show方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: itemDoubleClicked
void MainWindow::itemDoubleClicked(QModelIndex index)
{
//QMessageBox::information(this, "Hi", "Clicked " + index.data().toString());
ConfigDialog * dialog = new ConfigDialog;
dialog->show();
connect(dialog, SIGNAL(sendItemDeleted()), this, SLOT(receiveItemDeleted()));
connect(dialog, SIGNAL(sendItemUpdated(QBrush)), this, SLOT(receiveItemUpdated(QBrush)));
}
示例2: preferences
void MainWindow::preferences()
{
if (ConfigDialog::isShown()) {
return;
}
ConfigDialog* dlg = new ConfigDialog(this);
connect(dlg, &ConfigDialog::settingsChanged,
this, &MainWindow::settingsChanged);
dlg->show();
}
示例3: slotConfigure
void Klipper::slotConfigure()
{
if (KConfigDialog::showDialog("preferences")) {
return;
}
ConfigDialog *dlg = new ConfigDialog( 0, KlipperSettings::self(), this, m_collection, isApplet() );
connect(dlg, SIGNAL(settingsChanged(QString)), SLOT(loadSettings()));
dlg->show();
}
示例4: action_Configure
void Atlas::action_Configure()
{
ConfigDialog * dialog =new ConfigDialog(this);
dialog->show();
}
示例5: configure
void NepomukEMailFeeder::configure(WId windowId)
{
ConfigDialog* dlg = new ConfigDialog( windowId );
dlg->setAttribute( Qt::WA_DeleteOnClose );
dlg->show();
}