Scribus
Open source desktop publishing at your fingertips
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
tfdia.h
1
/*
2
For general Scribus (>=1.3.2) copyright and licensing information please refer
3
to the COPYING file provided with the program. Following this notice may exist
4
a copyright and/or license notice that predates the release of Scribus 1.3.2
5
for which a new license (GPL+exception) is in place.
6
*/
7
#ifndef TFDIA_H
8
#define TFDIA_H
9
10
#include <vector>
11
#include <QDialog>
12
#include <QResizeEvent>
13
class
QFrame;
14
class
QComboBox;
15
class
QLineEdit;
16
class
QPushButton;
17
class
QScrollArea;
18
class
QBoxLayout;
19
class
QHBoxLayout;
20
class
QVBoxLayout;
21
#include <prefscontext.h>
22
#include "tffilter.h"
23
24
class
tfDia
:
public
QDialog
25
{
26
Q_OBJECT
27
private
:
28
PrefsContext
* prefs;
29
QBoxLayout* layout;
30
QBoxLayout* alayout;
31
QComboBox* filtersCombo;
32
QLineEdit* saveEdit;
33
QPushButton* clearButton;
34
QPushButton* deleteButton;
35
QPushButton* okButton;
36
QPushButton* cancelButton;
37
QString currentFilter;
38
QScrollArea* qsv;
39
QFrame* vbox;
40
int
currentIndex;
41
void
clear();
42
void
createLayout();
43
void
createFilter(
PrefsTable
* table);
44
void
writeFilterRow(
PrefsTable
* table,
int
row,
tfFilter
* filter);
45
void
storeLastFilter();
46
private
slots:
47
void
saveTextChanged(
const
QString& text);
48
void
createFilterRow(
tfFilter
* after);
49
void
removeRow(
tfFilter
* tff);
50
void
clearClicked();
51
void
okClicked();
52
void
cancelClicked();
53
void
deleteClicked();
54
void
loadFilter(
const
QString& name);
55
void
resizeEvent(QResizeEvent* e);
56
public
:
57
std::vector<tfFilter*> filters;
58
tfDia
();
59
~
tfDia
();
60
};
61
62
#endif // TFDIA_H
tfDia
Definition:
tfdia.h:24
PrefsContext
Definition:
prefscontext.h:40
tfFilter
Definition:
tffilter.h:39
PrefsTable
Definition:
prefstable.h:40
scribus
plugins
gettext
textfilter
tfdia.h
Generated on Tue Sep 29 2015 09:15:03 for Scribus by
1.8.9.1