// Buttons part of the dialog
QDialogButtonBox* aButtons =
- new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel, Qt::Horizontal, this);
+ new QDialogButtonBox(QDialogButtonBox::Help | QDialogButtonBox::Ok | QDialogButtonBox::Cancel,
+ Qt::Horizontal, this);
aMailLayout->addWidget(aButtons);
connect(aButtons, SIGNAL(accepted()), SLOT(accept()));
connect(aButtons, SIGNAL(rejected()), SLOT(reject()));
+ connect(aButtons, SIGNAL(helpRequested()), SLOT(onHelp()));
updateToolbarsList();
updateNumber();
myIsReset = true;
}
+void SHAPERGUI_ToolbarsDlg::onHelp()
+{
+
+}
+
//************************************************************************************
//************************************************************************************
// Buttons part of the dialog
QDialogButtonBox* aButtons =
- new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel, Qt::Horizontal, this);
+ new QDialogButtonBox(QDialogButtonBox::Help | QDialogButtonBox::Ok | QDialogButtonBox::Cancel,
+ Qt::Horizontal, this);
aMailLayout->addWidget(aButtons);
connect(aButtons, SIGNAL(accepted()), SLOT(accept()));
connect(aButtons, SIGNAL(rejected()), SLOT(reject()));
+ connect(aButtons, SIGNAL(helpRequested()), SLOT(onHelp()));
}
void SHAPERGUI_ToolbarItemsDlg::onAddItem()
}
return aList;
}
+
+void SHAPERGUI_ToolbarItemsDlg::onHelp()
+{
+
+}
/// A slot to move a current item down in list of toolbar command
void onDown();
+ /// A slot on help call
+ void onHelp();
+
private:
QIntList getItems(QListWidget* theWidget, int theStart) const;
/// A slot to delete a current toolbar
void onDelete();
- /// A slot to delete a current toolbar
+ /// A slot to reset toolbars
void onReset();
+ /// A slot on help call
+ void onHelp();
+
/// A slot called on double click on item in list
void onDoubleClick(const QModelIndex& theIdx);