Text Editor for a FileProperty or a StringProperty.
More...
#include <texteditorwidgetqt.h>
|
| | TextEditorDockWidget (Property *property) |
| | Create a text editor for property.
|
|
SyntaxHighlighter & | getSyntaxHighlighter () |
|
void | updateFromProperty () |
| virtual Property * | getProperty () const override |
|
| 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 |
|
| 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) |
| virtual void | onSetIdentifier (Property *property, const std::string &identifier) |
| virtual void | onSetSemantics (Property *property, const PropertySemantics &semantics) |
| virtual void | onSetVisible (Property *property, bool visible) |
|
| Observer (const Observer &other) |
|
| Observer (Observer &&other) |
|
Observer & | operator= (Observer &&other) |
|
Observer & | operator= (const Observer &other) |
| virtual | ~Observer () |
| void | removeObservation (ObservableInterface *observable) |
|
void | removeObservations () |
|
| 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) |
|
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 |
| void | addObservation (ObservableInterface *observable) |
|
|
void | stickyFlagChanged (bool sticky) |
|
static constexpr std::string_view | visibleKey {"PropertyEditorWidgetVisible"} |
|
static constexpr std::string_view | floatingKey {"PropertyEditorWidgetFloating"} |
|
static constexpr std::string_view | stickyKey {"PropertyEditorWidgetSticky"} |
|
static constexpr std::string_view | sizeKey {"PropertyEditorWidgetSize"} |
|
static constexpr std::string_view | positionKey {"PropertyEditorWidgetPosition"} |
|
static constexpr std::string_view | dockareaKey {"PropertyEditorWidgetDockStatus"} |
◆ TextEditorDockWidget()
| inviwo::TextEditorDockWidget::TextEditorDockWidget |
( |
Property * | property | ) |
|
|
explicit |
◆ closeEvent()
| virtual void inviwo::TextEditorDockWidget::closeEvent |
( |
QCloseEvent * | | ) |
|
|
overrideprotectedvirtual |
◆ getProperty()
| virtual Property * inviwo::TextEditorDockWidget::getProperty |
( |
| ) |
const |
|
overridevirtual |
◆ onSetDisplayName()
| virtual void inviwo::TextEditorDockWidget::onSetDisplayName |
( |
Property * | , |
|
|
const std::string & | displayName ) |
|
overrideprotectedvirtual |
◆ setReadOnly()
| virtual void inviwo::TextEditorDockWidget::setReadOnly |
( |
bool | readonly | ) |
|
|
overrideprotectedvirtual |
The documentation for this class was generated from the following file: