Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::GLSLFilePropertyWidgetQt Class Reference

Widget for a FileProperty with ShaderEditor semantics. More...

#include <glslfilepropertywidgetqt.h>

+ Inheritance diagram for inviwo::GLSLFilePropertyWidgetQt:

Public Member Functions

 GLSLFilePropertyWidgetQt (FileProperty *property)
 
- Public Member Functions inherited from inviwo::FilePropertyWidgetQt
 FilePropertyWidgetQt (FileProperty *property)
 
virtual void updateFromProperty () override
 
virtual bool requestFile () override
 
virtual PropertyEditorWidgetgetEditorWidget () const override
 
virtual bool hasEditorWidget () const override
 
- Public Member Functions inherited from inviwo::PropertyWidgetQt
 PropertyWidgetQt (Property *property=nullptr)
 
virtual void initState ()
 
void setSpacingAndMargins (QLayout *layout)
 
virtual void onChildVisibilityChange (PropertyWidgetQt *child)
 
virtual void setReadOnly (bool readonly)
 
virtual QSize sizeHint () const override
 
virtual QSize minimumSizeHint () const override
 
void setNestedDepth (int depth)
 
int getNestedDepth () const
 
PropertyWidgetQtgetParentPropertyWidget () const
 
void setParentPropertyWidget (PropertyWidgetQt *parent)
 
virtual std::unique_ptr< QMenu > getContextMenu ()
 
virtual std::unique_ptr< QMimeData > getPropertyMimeData () const
 
- Public Member Functions inherited from inviwo::PropertyWidget
 PropertyWidget (Property *property)
 
 PropertyWidget (const PropertyWidget &)
 
 PropertyWidget (PropertyWidget &&)
 
PropertyWidgetoperator= (const PropertyWidget &)
 
PropertyWidgetoperator= (PropertyWidget &&)
 
virtual ~PropertyWidget ()
 
virtual PropertygetProperty ()
 
- Public Member Functions inherited from inviwo::PropertyObserver
virtual void onSetIdentifier (Property *property, const std::string &identifier)
 
virtual void onSetDisplayName (Property *property, const std::string &displayName)
 
virtual void onSetSemantics (Property *property, const PropertySemantics &semantics)
 
- Public Member Functions inherited from inviwo::Observer
 Observer (const Observer &other)
 
 Observer (Observer &&other)
 
Observeroperator= (Observer &&other)
 
Observeroperator= (const Observer &other)
 
virtual ~Observer ()
 
void removeObservation (ObservableInterface *observable)
 
void removeObservations ()
 
- Public Member Functions inherited from inviwo::FileRequestable

Protected Member Functions

virtual void initEditor () override
 
- Protected Member Functions inherited from inviwo::FilePropertyWidgetQt
virtual void dropEvent (QDropEvent *) override
 
virtual void dragEnterEvent (QDragEnterEvent *) override
 
virtual void dragMoveEvent (QDragMoveEvent *) override
 
void addEditor ()
 
void setPropertyValue ()
 
- Protected Member Functions inherited from inviwo::PropertyWidgetQt
virtual void mousePressEvent (QMouseEvent *event) override
 
virtual void mouseMoveEvent (QMouseEvent *event) override
 
virtual void onSetReadOnly (Property *property, bool readonly) override
 
virtual void onSetVisible (Property *property, bool visible) override
 
virtual void setVisible (bool visible) override
 
virtual bool event (QEvent *event) override
 
virtual void paintEvent (QPaintEvent *pe) override
 
int getSpacing () const
 Assigned on mousePressEvent.
 
- Protected Member Functions inherited from inviwo::Observer
void addObservation (ObservableInterface *observable)
 

Additional Inherited Members

- Public Types inherited from inviwo::PropertyWidgetQt
using BaseCallBack = std::function<void()>
 
- Static Public Member Functions inherited from inviwo::PropertyWidgetQt
static void setSpacingAndMargins (QWidget *w, QLayout *layout)
 
- Static Public Attributes inherited from inviwo::PropertyWidgetQt
static const double minimumWidthEm
 
static const double spacingEm
 
static const double marginEm
 
static const int minimumWidth
 
static const int spacing
 
static const int margin
 
- Protected Attributes inherited from inviwo::FilePropertyWidgetQt
FilePropertyproperty_
 
FilePathLineEditQtlineEdit_
 
QHBoxLayout * hWidgetLayout_
 
std::unique_ptr< TextEditorDockWidgeteditor_
 
- Protected Attributes inherited from inviwo::PropertyWidgetQt
QPoint mousePressedPosition_
 
- Protected Attributes inherited from inviwo::PropertyWidget
Propertyproperty_ = nullptr
 
- Protected Attributes inherited from inviwo::Observer
std::unordered_set< ObservableInterface * > observables_
 

Detailed Description

Widget for a FileProperty with ShaderEditor semantics.

See also
GLSLEditorDockWidget

Member Function Documentation

◆ initEditor()

virtual void inviwo::GLSLFilePropertyWidgetQt::initEditor ( )
overrideprotectedvirtual

Reimplemented from inviwo::FilePropertyWidgetQt.


The documentation for this class was generated from the following file: