The property view class. More...
#include <PropertyView.h>
Classes | |
struct PropFind | |
struct PropInfo | |
Public Slots | |
void onTimer () | |
void tabChanged (int index) | |
Stores a preference for the last tab selected. More... | |
Public Member Functions | |
void clearPropertyItemSelection () | |
PropertyView (QWidget *parent=0) | |
virtual ~PropertyView () | |
![]() | |
void attachSelection () | |
Attaches to the selection. More... | |
bool blockConnection (bool block) | |
void detachSelection () | |
Detaches from the selection. More... | |
bool isConnectionAttached () const | |
bool isConnectionBlocked () const | |
SelectionObserver (bool attach=true, int resolve=1) | |
Constructor. More... | |
SelectionObserver (const Gui::ViewProviderDocumentObject *vp, bool attach=true, int resolve=1) | |
Constructor. More... | |
virtual ~SelectionObserver () | |
Static Public Member Functions | |
static bool isPropertyHidden (const App::Property *) | |
static void setShowAll (bool) | |
static bool showAll () | |
Public Attributes | |
Gui::PropertyEditor::PropertyEditor * propertyEditorData | |
Gui::PropertyEditor::PropertyEditor * propertyEditorView | |
Protected Member Functions | |
void changeEvent (QEvent *e) override | |
void hideEvent (QHideEvent *) override | |
void showEvent (QShowEvent *) override | |
Detailed Description
The property view class.
Constructor & Destructor Documentation
◆ PropertyView()
PropertyView::PropertyView | ( | QWidget * | parent = 0 | ) |
Property Editor Widget
Provides two Gui::PropertyEditor::PropertyEditor widgets, for "View" and "Data", in two tabs.
References App::GetApplication(), ParameterGrp::GetInt(), Gui::Application::Instance, onTimer(), propertyEditorData, propertyEditorView, Gui::PropertyEditor::PropertyEditor::setAutomaticDocumentUpdate(), Gui::Application::signalActiveDocument, App::Application::signalAppendDynamicProperty, Gui::Application::signalChangedObject, App::Application::signalChangedObject, App::Application::signalChangePropertyEditor, Gui::Application::signalDeletedObject, App::Application::signalDeletedObject, Gui::Application::signalDeleteDocument, App::Application::signalRedoDocument, App::Application::signalRemoveDynamicProperty, App::Application::signalUndoDocument, and tabChanged().
◆ ~PropertyView()
|
virtual |
Member Function Documentation
◆ changeEvent()
|
overrideprotected |
◆ clearPropertyItemSelection()
void PropertyView::clearPropertyItemSelection | ( | ) |
References propertyEditorData, and propertyEditorView.
Referenced by hideEvent(), and onTimer().
◆ hideEvent()
|
overrideprotected |
◆ isPropertyHidden()
|
static |
References App::Property::getType(), App::Property::Hidden, App::Prop_Hidden, showAll(), and App::Property::testStatus().
Referenced by onTimer(), and Gui::PropertyEditor::PropertyEditor::updateEditorMode().
◆ onTimer
|
slot |
References Gui::PropertyEditor::PropertyEditor::buildUp(), clearPropertyItemSelection(), Base::Persistence::getClassTypeId(), Base::Type::getKey(), App::Property::getName(), Gui::ViewProviderDocumentObject::getObject(), App::ExtensionContainer::getPropertyList(), App::ExtensionContainer::getPropertyMap(), Gui::SelectionSingleton::getSelectionEx(), Base::Persistence::getTypeId(), Gui::Application::getViewProvider(), Gui::Application::Instance, Gui::SelectionObserver::isConnectionAttached(), Base::BaseClass::isDerivedFrom(), isPropertyHidden(), App::Property::PropDynamic, propertyEditorData, propertyEditorView, Gui::PropertyView::PropInfo::propId, Gui::PropertyView::PropInfo::propList, Gui::PropertyView::PropInfo::propName, Gui::TreeWidget::selectedDocument(), Gui::Selection(), and App::Property::testStatus().
Referenced by PropertyView().
◆ setShowAll()
|
static |
References Gui::getMainWindow().
Referenced by Gui::PropertyEditor::PropertyEditor::contextMenuEvent().
◆ showAll()
|
static |
◆ showEvent()
|
overrideprotected |
References Gui::SelectionObserver::attachSelection().
◆ tabChanged
|
slot |
Stores a preference for the last tab selected.
References ParameterGrp::SetInt().
Referenced by PropertyView().
Member Data Documentation
◆ propertyEditorData
Gui::PropertyEditor::PropertyEditor* Gui::PropertyView::propertyEditorData |
Referenced by clearPropertyItemSelection(), hideEvent(), onTimer(), and PropertyView().
◆ propertyEditorView
Gui::PropertyEditor::PropertyEditor* Gui::PropertyView::propertyEditorView |
Referenced by clearPropertyItemSelection(), hideEvent(), onTimer(), and PropertyView().
The documentation for this class was generated from the following files:
- src/Gui/PropertyView.h
- src/Gui/PropertyView.cpp