FactDev  0.1
chosefilewidget.h
1 #ifndef CHOSEFILEWIDGET_H
2 #define CHOSEFILEWIDGET_H
3 
4 #include <QFileDialog>
5 #include "chosepathwidget.h"
6 
7 namespace Gui {
8 namespace Widgets {
9 namespace Path {
10 
15 {
16  Q_OBJECT
17 public:
22  explicit ChoseFileWidget(QWidget *parent = 0);
23 
28  QString getypeFiles() const;
29 
34  void setTypeFiles(const QString &getypeFiles);
35 
36 public slots:
40  void fillField();
41 
42 private:
43  QString _typeFiles;
44 };
45 }
46 }
47 }
48 #endif // CHOSEFILEWIDGET_H
The ChoseDirectoryWidget class Open a QFileDialog.and display path in textfield.
Definition: chosepathwidget.h:18
ChoseFileWidget(QWidget *parent=0)
ChoseFileWidget Construct a choseFileWidget.
Definition: chosefilewidget.cpp:7
The ChoseFileWidget class Chose a File in computer.
Definition: chosefilewidget.h:14
QString getypeFiles() const
getypeFiles Return the types of files, by default it's *
Definition: chosefilewidget.cpp:20
void fillField()
fillField Fill the textfield with path information
Definition: chosefilewidget.cpp:13
void setTypeFiles(const QString &getypeFiles)
setTypeFiles Change the files types. By default it's *
Definition: chosefilewidget.cpp:25