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

A text editor with GLSL syntax highlighting. More...

#include <glsleditordockwidget.h>

+ Inheritance diagram for inviwo::GLSLEditorDockWidget:

Public Member Functions

 GLSLEditorDockWidget (Property *property)
 
- Public Member Functions inherited from inviwo::TextEditorDockWidget
 TextEditorDockWidget (Property *property)
 Create a text editor for property.
 
SyntaxHighlightergetSyntaxHighlighter ()
 
void updateFromProperty ()
 
virtual PropertygetProperty () const override
 
- Public Member Functions inherited from inviwo::PropertyEditorWidgetQt
 PropertyEditorWidgetQt (Property *property, const std::string &widgetName)
 
 PropertyEditorWidgetQt (Property *property, const std::string &widgetName, const std::string &objName)
 
virtual bool isVisible () const override
 
virtual void setVisible (bool visible) override
 
virtual ivec2 getPosition () const override
 
virtual void setPosition (const ivec2 &pos) override
 
virtual ivec2 getDimensions () const override
 
virtual void setDimensions (const ivec2 &dimensions) override
 
virtual void saveState () override
 
virtual void loadState () override
 
- Public Member Functions inherited from inviwo::InviwoDockWidget
 InviwoDockWidget (QString title, QWidget *parent)
 
 InviwoDockWidget (QString title, QWidget *parent, QString objname)
 
virtual void keyPressEvent (QKeyEvent *keyEvent) override
 
void setSticky (bool sticky)
 
bool isSticky () const
 
void setContents (QWidget *widget)
 
void setContents (QLayout *layout)
 
- Public Member Functions inherited from inviwo::PropertyEditorWidget
- Public Member Functions inherited from inviwo::PropertyObserver
virtual void onSetIdentifier (Property *property, const std::string &identifier)
 
virtual void onSetSemantics (Property *property, const PropertySemantics &semantics)
 
virtual void onSetVisible (Property *property, bool visible)
 
- 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 ()
 

Additional Inherited Members

- Signals inherited from inviwo::InviwoDockWidget
void stickyFlagChanged (bool sticky)
 
- Protected Member Functions inherited from inviwo::TextEditorDockWidget
virtual void closeEvent (QCloseEvent *) override
 
virtual void onSetDisplayName (Property *, const std::string &displayName) override
 
virtual void setReadOnly (bool readonly) override
 
void updateWindowTitle ()
 
void propertyModified ()
 
void save ()
 
void saveToFile (const std::filesystem::path &filename)
 
- Protected Member Functions inherited from inviwo::PropertyEditorWidgetQt
virtual void resizeEvent (QResizeEvent *event) override
 
virtual void showEvent (QShowEvent *) override
 
virtual void moveEvent (QMoveEvent *event) override
 
virtual void onSetReadOnly (Property *property, bool readonly) override
 
- Protected Member Functions inherited from inviwo::InviwoDockWidget
- Protected Member Functions inherited from inviwo::Observer
void addObservation (ObservableInterface *observable)
 
- Protected Attributes inherited from inviwo::TextEditorDockWidget
Propertyproperty_
 
FilePropertyfileProperty_
 
StringPropertystringProperty_
 
CodeEditeditor_
 
std::shared_ptr< std::function< void()> > propertyCallback_
 
utilqt::EditorFileObserver fileObserver_
 
- Protected Attributes inherited from inviwo::Observer
std::unordered_set< ObservableInterface * > observables_
 
- Static Protected Attributes inherited from inviwo::PropertyEditorWidgetQt
static const std::string visibleKey
 
static const std::string floatingKey
 
static const std::string stickyKey
 
static const std::string sizeKey
 
static const std::string positionKey
 
static const std::string dockareaKey
 

Detailed Description

A text editor with GLSL syntax highlighting.

See also
TextEditorDockWidget
GLSLSyntaxHighlight

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