Inviwo 0.9.12-pre
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>
Signals | |
void | pathChanged (const std::filesystem::path &) |
Signals inherited from inviwo::LineEditQt | |
void | editingCanceled () |
Public Member Functions | |
FilePathLineEditQt (QWidget *parent=nullptr) | |
void | setPath (const std::filesystem::path &path) |
const std::filesystem::path & | getPath () const |
void | setAcceptMode (AcceptMode mode) |
void | setFileMode (FileMode mode) |
void | setCursorToEnd () |
Public Member Functions inherited from inviwo::LineEditQt | |
LineEditQt (QWidget *parent=nullptr) | |
virtual QSize | sizeHint () const override |
virtual void | paintEvent (QPaintEvent *e) override |
Protected Member Functions | |
virtual void | resizeEvent (QResizeEvent *event) override |
bool | updateIcon (const std::filesystem::path &path) |
Protected Member Functions inherited from inviwo::LineEditQt | |
virtual void | keyPressEvent (QKeyEvent *e) override |
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.
|
protected |
update the status icon based on the given path