Public Member Functions | |
MeshInfoWatcher () | |
void | onSelectionChanged (const Gui::SelectionChanges &) |
bool | shouldShow (void) |
is called wenn the document or the Selection changes. More... | |
Public Member Functions inherited from Gui::TaskView::TaskWatcher | |
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 () |
Public Member Functions inherited from Gui::SelectionObserver | |
void | attachSelection () |
Attaches to the selection. More... | |
bool | blockSelection (bool block) |
void | detachSelection () |
Detaches from the selection. More... | |
bool | isSelectionAttached () const |
bool | isSelectionBlocked () const |
SelectionObserver (bool attach=true, ResolveMode resolve=ResolveMode::OldStyleElement) | |
Constructor. More... | |
SelectionObserver (const Gui::ViewProviderDocumentObject *vp, bool attach=true, ResolveMode resolve=ResolveMode::OldStyleElement) | |
Constructor. More... | |
virtual | ~SelectionObserver () |
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) |
Protected Attributes inherited from Gui::TaskView::TaskWatcher | |
std::vector< QWidget * > | Content |
List of TaskBoxes of that dialog. More... | |
Protected Attributes inherited from Gui::SelectionFilter | |
std::shared_ptr< Node_Block > | Ast |
std::string | Errors |
std::string | Filter |
MeshInfoWatcher::MeshInfoWatcher | ( | ) |
References QSint::ActionGroup::groupLayout().
|
virtual |
Implements Gui::SelectionObserver.
References Base::BoundBox3< _Precision >::Add(), Mesh::MeshObject::countPoints(), Gui::SelectionSingleton::getObjectsOfType(), Mesh::PropertyMeshKernel::getValue(), Base::BoundBox3< _Precision >::MaxX, Base::BoundBox3< _Precision >::MaxY, Base::BoundBox3< _Precision >::MaxZ, Mesh::Feature::Mesh, Base::BoundBox3< _Precision >::MinX, Base::BoundBox3< _Precision >::MinY, Base::BoundBox3< _Precision >::MinZ, and Gui::Selection().
|
virtual |
is called wenn the document or the Selection changes.
Reimplemented from Gui::TaskView::TaskWatcher.