Scribus
Open source desktop publishing at your fingertips
selfield.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 SELECTFIELDS_H
8 #define SELECTFIELDS_H
9 
10 #include <QDialog>
11 class QHBoxLayout;
12 class QVBoxLayout;
13 class QListWidget;
14 class QListWidgetItem;
15 class QPushButton;
16 class QLabel;
17 
18 #include "scribusapi.h"
19 
20 class ScribusDoc;
21 
22 class SCRIBUS_API SelectFields : public QDialog
23 {
24  Q_OBJECT
25 
26 public:
27  SelectFields( QWidget* parent, QString Felder, QString Own, ScribusDoc *Doc, int Art);
28  ~SelectFields() {};
29 
30  QLabel* Text1;
31  QListWidget* AvailFields;
32  QPushButton* ToSel;
33  QPushButton* FromSel;
34  QLabel* Text2;
35  QListWidget* SelFields;
36  QPushButton* OK;
37  QPushButton* Cancel;
38  QString S_Fields;
39  int FTyp;
40 
41 public slots:
42  void SetRetVal();
43  void RemoveSel();
44  void PutToSel();
45  void SelAField(QListWidgetItem *c);
46  void SelEField(QListWidgetItem *c);
47 
48 protected:
49  QVBoxLayout* SelectFieldsLayout;
50  QHBoxLayout* Layout5;
51  QVBoxLayout* Layout1;
52  QVBoxLayout* Layout2;
53  QVBoxLayout* Layout3;
54  QHBoxLayout* Layout4;
55 };
56 
57 #endif // SELECTFIELDS_H
Definition: selfield.h:22
the Document Class
Definition: scribusdoc.h:90