Inviwo
0.9.10.1
Inviwo documentation
|
QLineEdit for file paths. When editing the path, i.e. the widget is focused, the full path is shown. When not in focus, it shows only the file name with extension. A small warning icon is shown to indicate non-existing files and paths. More...
#include <filepathlineeditqt.h>
Public Member Functions | |
FilePathLineEditQt (QWidget *parent=nullptr) | |
void | setPath (const std::string &path) |
const std::string & | getPath () const |
void | setEditing (bool editing) |
bool | isEditingEnabled () const |
Public Member Functions inherited from inviwo::LineEditQt | |
LineEditQt (QWidget *parent=nullptr) | |
Protected Member Functions | |
virtual void | resizeEvent (QResizeEvent *event) override |
virtual void | focusInEvent (QFocusEvent *event) override |
virtual void | mousePressEvent (QMouseEvent *event) override |
void | updateContents () |
void | updateIcon () |
Protected Member Functions inherited from inviwo::LineEditQt | |
virtual void | keyPressEvent (QKeyEvent *e) override |
Additional Inherited Members | |
Signals inherited from inviwo::LineEditQt | |
void | editingCanceled () |
QLineEdit for file paths. When editing the path, i.e. the widget is focused, the full path is shown. When not in focus, it shows only the file name with extension. A small warning icon is shown to indicate non-existing files and paths.