Widget for a FileProperty with PythonEditor semantics.
More...
#include <pythonfilepropertywidgetqt.h>
|
virtual void | initEditor () override |
|
virtual void | dropEvent (QDropEvent *) override |
|
virtual void | dragEnterEvent (QDragEnterEvent *) override |
|
virtual void | dragMoveEvent (QDragMoveEvent *) override |
|
void | addEditor () |
|
void | setPropertyValue () |
|
virtual void | mousePressEvent (QMouseEvent *event) override |
|
virtual void | mouseMoveEvent (QMouseEvent *event) override |
|
virtual void | mouseReleaseEvent (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.
|
|
void | addObservation (ObservableInterface *observable) |
|
|
using | BaseCallBack = std::function<void()> |
|
static void | setSpacingAndMargins (QWidget *w, QLayout *layout) |
|
static const double | minimumWidthEm |
|
static const double | spacingEm |
|
static const double | marginEm |
|
static const int | minimumWidth |
|
static const int | spacing |
|
static const int | margin |
|
FileProperty * | property_ |
|
FilePathLineEditQt * | lineEdit_ |
|
QHBoxLayout * | hWidgetLayout_ |
|
std::unique_ptr< TextEditorDockWidget > | editor_ |
|
QPoint | mousePressedPosition_ |
|
Property * | property_ = nullptr |
|
std::unordered_set< ObservableInterface * > | observables_ |
|
Widget for a FileProperty with PythonEditor semantics.
- See also
- PythonEditorDockWidget
◆ initEditor()
virtual void inviwo::PythonFilePropertyWidgetQt::initEditor |
( |
| ) |
|
|
overrideprotectedvirtual |
The documentation for this class was generated from the following file:
- pythonfilepropertywidgetqt.h