Sketcher: Requested Feature: Remove help button
=============================================== The help button next to the close button in the Task dialog is now removed. It was requested that this button is removed as it is inconsistent with other help sources and it is not implemented.
This commit is contained in:
parent
d1acd124cc
commit
61bd2d41ac
|
@ -103,10 +103,5 @@ bool TaskDlgEditSketch::reject()
|
|||
return true;
|
||||
}
|
||||
|
||||
void TaskDlgEditSketch::helpRequested()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
#include "moc_TaskDlgEditSketch.cpp"
|
||||
|
|
|
@ -58,14 +58,12 @@ public:
|
|||
virtual bool accept();
|
||||
/// is called by the framework if the dialog is rejected (Cancel)
|
||||
virtual bool reject();
|
||||
/// is called by the framework if the user presses the help button
|
||||
virtual void helpRequested();
|
||||
virtual bool isAllowedAlterDocument(void) const
|
||||
{ return false; }
|
||||
|
||||
/// returns for Close and Help button
|
||||
virtual QDialogButtonBox::StandardButtons getStandardButtons(void) const
|
||||
{ return QDialogButtonBox::Close|QDialogButtonBox::Help; }
|
||||
{ return QDialogButtonBox::Close; }
|
||||
|
||||
protected:
|
||||
void slotUndoDocument(const App::Document&);
|
||||
|
|
Loading…
Reference in New Issue
Block a user