Fraxinus  16.5.0-fx-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::FileSelectWidget Class Reference

Widget for displaying and selecting a single file. More...

#include <cxFileSelectWidget.h>

Inheritance diagram for cx::FileSelectWidget:

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 ()
 

Detailed Description

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.

Constructor & Destructor Documentation

cx::FileSelectWidget::FileSelectWidget ( QWidget *  parent)

Definition at line 52 of file cxFileSelectWidget.cpp.

Member Function Documentation

void cx::FileSelectWidget::fileSelected ( QString  name)
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.

void cx::FileSelectWidget::refresh ( )
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.


The documentation for this class was generated from the following files: