Back to index

scribus-ng  1.3.4.dfsg+svn20071115
selfield.h
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 #ifndef SELECTFIELDS_H
00008 #define SELECTFIELDS_H
00009 
00010 #include <qdialog.h>
00011 #include <qlabel.h>
00012 #include <qlistbox.h>
00013 #include <qpushbutton.h>
00014 #include <qlayout.h>
00015 #include <qtooltip.h>
00016 
00017 #include "scribusapi.h"
00018 #include "pageitem.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        QListBox* AvailFields;
00031        QPushButton* ToSel;
00032        QPushButton* FromSel;
00033        QLabel* Text2;
00034        QListBox* 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(QListBoxItem *c);
00045        void SelEField(QListBoxItem *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