OpenMW
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
apps
opencs
view
doc
filewidget.hpp
Go to the documentation of this file.
1
#ifndef CSV_DOC_FILEWIDGET_H
2
#define CSV_DOC_FILEWIDGET_H
3
4
#include <QWidget>
5
6
#include <string>
7
8
class
QLabel;
9
class
QString;
10
class
QLineEdit;
11
12
namespace
CSVDoc
13
{
14
class
FileWidget
:
public
QWidget
15
{
16
Q_OBJECT
17
18
bool
mAddon
;
19
QLineEdit *
mInput
;
20
QLabel *
mType
;
21
22
QString
getExtension
()
const
;
23
24
public
:
25
26
FileWidget
(
QWidget
*parent = 0);
27
28
void
setType
(
bool
addon);
29
30
QString
getName
()
const
;
31
32
void
extensionLabelIsVisible
(
bool
visible);
33
34
void
setName
(
const
std::string& text);
35
36
private
slots:
37
38
void
textChanged
(
const
QString& text);
39
40
signals
:
41
42
void
nameChanged
(
const
QString& file,
bool
addon);
43
};
44
}
45
46
#endif
signals
static const struct @2 signals[]
QWidget
CSVDoc::FileWidget::getExtension
QString getExtension() const
Definition:
filewidget.cpp:9
CSVDoc::FileWidget::nameChanged
void nameChanged(const QString &file, bool addon)
CSVDoc::FileWidget::FileWidget
FileWidget(QWidget *parent=0)
Definition:
filewidget.cpp:14
CSVDoc::FileWidget::setName
void setName(const std::string &text)
Definition:
filewidget.cpp:58
CSVDoc::FileWidget::setType
void setType(bool addon)
Definition:
filewidget.cpp:31
CSVDoc::FileWidget
Definition:
filewidget.hpp:14
CSVDoc::FileWidget::mAddon
bool mAddon
Definition:
filewidget.hpp:18
CSVDoc::FileWidget::getName
QString getName() const
Definition:
filewidget.cpp:38
CSVDoc::FileWidget::mType
QLabel * mType
Definition:
filewidget.hpp:20
CSVDoc::FileWidget::mInput
QLineEdit * mInput
Definition:
filewidget.hpp:19
CSVDoc::FileWidget::textChanged
void textChanged(const QString &text)
Definition:
filewidget.cpp:48
CSVDoc::FileWidget::extensionLabelIsVisible
void extensionLabelIsVisible(bool visible)
Definition:
filewidget.cpp:53
Generated on Tue Jan 24 2017 02:05:48 for OpenMW by
1.8.6