Father class of watcher classes. More...
#include <TaskWatcher.h>
Public Member Functions | |
| std::vector< QWidget * > & | getWatcherContent (void) |
| virtual bool | shouldShow (void) |
| is called wenn the document or the Selection changes. More... | |
| TaskWatcher (const char *Filter) | |
| virtual | ~TaskWatcher () |
Public Member Functions inherited from Gui::SelectionFilter | |
| void | addError (const char *e) |
| const std::string & | getFilter () const |
| bool | isValid (void) const |
| true if a valid filter is set More... | |
| bool | match (void) |
| Test to current selection This method tests the current selection set against the filter and returns true if the described object(s) are selected. More... | |
| SelectionFilter (const char *filter) | |
| Constructs a SelectionFilter object. More... | |
| SelectionFilter (const std::string &filter) | |
| void | setFilter (const char *filter) |
| Set a new filter string. More... | |
| bool | test (App::DocumentObject *pObj, const char *sSubName) |
| Test objects This method tests if a given object is described in the filter. More... | |
| virtual | ~SelectionFilter () |
Protected Attributes | |
| std::vector< QWidget * > | Content |
| List of TaskBoxes of that dialog. More... | |
Protected Attributes inherited from Gui::SelectionFilter | |
| Node_Block * | Ast |
| std::string | Errors |
| std::string | Filter |
Additional Inherited Members | |
Public Attributes inherited from Gui::SelectionFilter | |
| std::vector< std::vector< SelectionObject > > | Result |
Protected Member Functions inherited from Gui::SelectionFilter | |
| bool | parse (void) |
Detailed Description
Father class of watcher classes.
Constructor & Destructor Documentation
◆ TaskWatcher()
| TaskWatcher::TaskWatcher | ( | const char * | Filter | ) |
◆ ~TaskWatcher()
|
virtual |
References Content.
Member Function Documentation
◆ getWatcherContent()
◆ shouldShow()
|
virtual |
is called wenn the document or the Selection changes.
Reimplemented in Gui::TaskView::TaskWatcherCommandsEmptySelection, MeshInfoWatcher, Gui::TaskView::TaskWatcherCommandsEmptyDoc, Gui::TaskView::TaskWatcherCommands, RobotGui::TaskWatcherRobot, and Gui::TaskView::TaskWatcherPython.
Referenced by Gui::TaskView::TaskWatcherPython::shouldShow().
Member Data Documentation
◆ Content
|
protected |
List of TaskBoxes of that dialog.
Referenced by getWatcherContent(), Gui::TaskView::TaskWatcherCommands::TaskWatcherCommands(), Gui::TaskView::TaskWatcherPython::TaskWatcherPython(), RobotGui::TaskWatcherRobot::TaskWatcherRobot(), ~TaskWatcher(), and Gui::TaskView::TaskWatcherPython::~TaskWatcherPython().
The documentation for this class was generated from the following files:
- src/Gui/TaskView/TaskWatcher.h
- src/Gui/TaskView/TaskWatcher.cpp
Public Member Functions inherited from
1.8.17