selfield.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007 #ifndef SELECTFIELDS_H
00008 #define SELECTFIELDS_H
00009
00010 #include <QDialog>
00011 class QHBoxLayout;
00012 class QVBoxLayout;
00013 class QListWidget;
00014 class QListWidgetItem;
00015 class QPushButton;
00016 class QLabel;
00017
00018 #include "scribusapi.h"
00019 #include "scribusview.h"
00020
00021 class SCRIBUS_API SelectFields : public QDialog
00022 {
00023 Q_OBJECT
00024
00025 public:
00026 SelectFields( QWidget* parent, QString Felder, QString Own, ScribusDoc *Doc, int Art);
00027 ~SelectFields() {};
00028
00029 QLabel* Text1;
00030 QListWidget* AvailFields;
00031 QPushButton* ToSel;
00032 QPushButton* FromSel;
00033 QLabel* Text2;
00034 QListWidget* SelFields;
00035 QPushButton* OK;
00036 QPushButton* Cancel;
00037 QString S_Fields;
00038 int FTyp;
00039
00040 public slots:
00041 void SetRetVal();
00042 void RemoveSel();
00043 void PutToSel();
00044 void SelAField(QListWidgetItem *c);
00045 void SelEField(QListWidgetItem *c);
00046
00047 protected:
00048 QVBoxLayout* SelectFieldsLayout;
00049 QHBoxLayout* Layout5;
00050 QVBoxLayout* Layout1;
00051 QVBoxLayout* Layout2;
00052 QVBoxLayout* Layout3;
00053 QHBoxLayout* Layout4;
00054 };
00055
00056 #endif // SELECTFIELDS_H