Widget that allows to browse for a file and shows the current path.
More...
#include <filepickerwidget.h>
Widget that allows to browse for a file and shows the current path.
◆ FilePickerWidget()
Constructs a new widget that allows to browse for a file and shows the current path.
- Parameters
-
| facetsController | Controller for validating type facets. |
| projectController | Controller for creating, loading and saving projects. |
| parent | Optional owner widget. |
◆ getFileName()
| QVariant FilePickerWidget::getFileName |
( |
| ) |
const |
Gets the current file name.
- Returns
- Current file name.
◆ setFieldType()
| void FilePickerWidget::setFieldType |
( |
const QString & |
fieldType | ) |
|
Sets the type of the field to edit with this widget (e.g. custom type deriving from File).
- Parameters
-
| fieldType | Type of the field to edit with this widget |
◆ setFileName()
| void FilePickerWidget::setFileName |
( |
const QVariant & |
fileName | ) |
|
Sets the current file name.
- Parameters
-
| fileName | Current file name. |
The documentation for this class was generated from the following files:
- Source/Tome/Features/Fields/View/filepickerwidget.h
- Source/Tome/Features/Fields/View/filepickerwidget.cpp