Gui::TaskView::TaskWatcherPython Class Reference
#include <TaskDialogPython.h>
Public Member Functions | |
bool shouldShow () | |
is called wenn the document or the Selection changes. More... | |
TaskWatcherPython (const Py::Object &) | |
~TaskWatcherPython () | |
![]() | |
std::vector< QWidget * > & getWatcherContent (void) | |
TaskWatcher (const char *Filter) | |
virtual ~TaskWatcher () | |
![]() | |
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 () | |
Additional Inherited Members | |
![]() | |
std::vector< std::vector< SelectionObject > > Result | |
![]() | |
bool parse (void) | |
![]() | |
std::vector< QWidget * > Content | |
List of TaskBoxes of that dialog. More... | |
![]() | |
Node_Block * Ast | |
std::string Errors | |
std::string Filter | |
Constructor & Destructor Documentation
◆ TaskWatcherPython()
TaskWatcherPython::TaskWatcherPython | ( | const Py::Object & | o | ) |
References Gui::Command::addTo(), Gui::BitmapFactory(), Gui::Application::commandManager(), Gui::TaskView::TaskWatcher::Content, Gui::CommandManager::getCommandByName(), QSint::ActionGroup::groupLayout(), Gui::Application::Instance, Gui::PythonWrapper::loadCoreModule(), Gui::BitmapFactoryInst::pixmap(), Gui::SelectionFilter::setFilter(), and Gui::PythonWrapper::toQObject().
◆ ~TaskWatcherPython()
TaskWatcherPython::~TaskWatcherPython | ( | ) |
References Gui::TaskView::TaskWatcher::Content.
Member Function Documentation
◆ shouldShow()
|
virtual |
is called wenn the document or the Selection changes.
Reimplemented from Gui::TaskView::TaskWatcher.
References Gui::SelectionFilter::Filter, Gui::SelectionFilter::match(), and Gui::TaskView::TaskWatcher::shouldShow().
The documentation for this class was generated from the following files:
- src/Gui/TaskView/TaskDialogPython.h
- src/Gui/TaskView/TaskDialogPython.cpp