Special watcher class for showing commands when active document is empty. More...
#include <TaskWatcher.h>
Public Member Functions | |
virtual bool | shouldShow (void) |
is called wenn the document or the Selection changes. | |
TaskWatcherCommandsEmptyDoc (const char *commands[], const char *name, const char *pixmap) | |
~TaskWatcherCommandsEmptyDoc () |
Special watcher class for showing commands when active document is empty.
Definition at line 86 of file Gui/TaskView/TaskWatcher.h.
TaskWatcherCommandsEmptyDoc::TaskWatcherCommandsEmptyDoc | ( | const char * | commands[], | |
const char * | name, | |||
const char * | pixmap | |||
) |
Definition at line 124 of file Gui/TaskView/TaskWatcher.cpp.
TaskWatcherCommandsEmptyDoc::~TaskWatcherCommandsEmptyDoc | ( | ) |
Definition at line 131 of file Gui/TaskView/TaskWatcher.cpp.
bool TaskWatcherCommandsEmptyDoc::shouldShow | ( | void | ) | [virtual] |
is called wenn the document or the Selection changes.
Reimplemented from Gui::TaskView::TaskWatcherCommands.
Definition at line 140 of file Gui/TaskView/TaskWatcher.cpp.
References App::Document::countObjects(), App::Application::getActiveDocument(), and App::GetApplication().