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:
Abdullah Tahiri 2015-06-09 14:19:20 +02:00 committed by wmayer
parent d1acd124cc
commit 61bd2d41ac
2 changed files with 1 additions and 8 deletions

View File

@ -103,10 +103,5 @@ bool TaskDlgEditSketch::reject()
return true;
}
void TaskDlgEditSketch::helpRequested()
{
}
#include "moc_TaskDlgEditSketch.cpp"

View File

@ -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&);