CustusX
16.5.0-rc9
An IGT application
|
Widget for displaying and selecting a single file. More...
#include <cxFileSelectWidget.h>
Public Slots | |
void | refresh () |
Signals | |
void | fileSelected (QString name) |
Public Member Functions | |
FileSelectWidget (QWidget *parent) | |
QString | getFilename () const |
void | setFilename (QString name) |
void | setNameFilter (QStringList filter) |
void | setPaths (QStringList paths) |
void | setPath (QString path) |
void | setFolderDepth (int depth) |
QStringList | getAllFiles () |
Widget for displaying and selecting a single file.
A combo box shows all available files within the current path (recursively), and a tool button is used to browse for files outside this path.
Default name filter is .mhd
Definition at line 66 of file cxFileSelectWidget.h.
cx::FileSelectWidget::FileSelectWidget | ( | QWidget * | parent | ) |
Definition at line 52 of file cxFileSelectWidget.cpp.
|
signal |
QStringList cx::FileSelectWidget::getAllFiles | ( | ) |
Definition at line 138 of file cxFileSelectWidget.cpp.
QString cx::FileSelectWidget::getFilename | ( | ) | const |
Definition at line 76 of file cxFileSelectWidget.cpp.
|
slot |
Definition at line 171 of file cxFileSelectWidget.cpp.
void cx::FileSelectWidget::setFilename | ( | QString | name | ) |
Definition at line 81 of file cxFileSelectWidget.cpp.
void cx::FileSelectWidget::setFolderDepth | ( | int | depth | ) |
Definition at line 71 of file cxFileSelectWidget.cpp.
void cx::FileSelectWidget::setNameFilter | ( | QStringList | filter | ) |
Definition at line 101 of file cxFileSelectWidget.cpp.
void cx::FileSelectWidget::setPath | ( | QString | path | ) |
Definition at line 106 of file cxFileSelectWidget.cpp.
void cx::FileSelectWidget::setPaths | ( | QStringList | paths | ) |
Definition at line 114 of file cxFileSelectWidget.cpp.