FactDev
0.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
chosepathwidget.h
1
#ifndef CHOSEPATHWIDGET_H
2
#define CHOSEPATHWIDGET_H
3
4
#include <QWidget>
5
#include <QDir>
6
7
namespace
Ui {
8
class
ChosePathWidget;
9
}
10
11
namespace
Gui {
12
namespace
Widgets {
13
namespace
Path {
14
18
class
ChosePathWidget
:
public
QWidget
19
{
20
Q_OBJECT
21
22
public
:
27
explicit
ChosePathWidget
(QWidget *parent = 0);
28
~
ChosePathWidget
();
29
34
void
setField
(QString text);
35
40
QString
getField
();
41
46
virtual
QString
getDefaultLocation
();
47
48
public
slots:
52
virtual
void
fillField
();
53
54
signals:
58
void
textChanged
();
59
60
protected
:
61
Ui::ChosePathWidget *ui;
62
};
63
64
}
65
}
66
}
67
68
#endif // CHOSEPATHWIDGET_H
Gui::Widgets::Path::ChosePathWidget::textChanged
void textChanged()
textChanged Signal is send when path changed.
Gui::Widgets::Path::ChosePathWidget
The ChoseDirectoryWidget class Open a QFileDialog.and display path in textfield.
Definition:
chosepathwidget.h:18
Gui::Widgets::Path::ChosePathWidget::ChosePathWidget
ChosePathWidget(QWidget *parent=0)
ChoseFileWidget Construct a choseFileWidget.
Definition:
chosepathwidget.cpp:6
Gui::Widgets::Path::ChosePathWidget::fillField
virtual void fillField()
fillField Fill the textfield with path information
Definition:
chosepathwidget.cpp:33
Gui::Widgets::Path::ChosePathWidget::setField
void setField(QString text)
setField Change the path in textfield
Definition:
chosepathwidget.cpp:19
Gui::Widgets::Path::ChosePathWidget::getDefaultLocation
virtual QString getDefaultLocation()
getDefaultLocation The default location when we open popup. In default case, it's ~/Documents ...
Definition:
chosepathwidget.cpp:28
Gui::Widgets::Path::ChosePathWidget::getField
QString getField()
getField The text in field
Definition:
chosepathwidget.cpp:24
travis
build
FACT-Team
FactDev
src
gui
widgets
path
chosepathwidget.h
Generated on Sun Oct 11 2015 15:51:54 for FactDev by
1.8.6