Back to index

scribus-ng  1.3.4.dfsg+svn20071115
annota.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 /***************************************************************************
00008  *                                                                         *
00009  *   This program is free software; you can redistribute it and/or modify  *
00010  *   it under the terms of the GNU General Public License as published by  *
00011  *   the Free Software Foundation; either version 2 of the License, or     *
00012  *   (at your option) any later version.                                   *
00013  *                                                                         *
00014  ***************************************************************************/
00015 #ifndef ANNOTA_H
00016 #define ANNOTA_H
00017 
00018 #include <qdialog.h>
00019 #include <qcombobox.h>
00020 #include <qgroupbox.h>
00021 #include <qlabel.h>
00022 #include <qpushbutton.h>
00023 #include <qspinbox.h>
00024 #include <qlayout.h>
00025 #include <qtooltip.h>
00026 #include <qwidgetstack.h>
00027 #include <qlineedit.h>
00028 #include <qframe.h>
00029 
00030 #include "scribusapi.h"
00031 
00032 class PageItem;
00033 class Navigator;
00034 class ScribusView;
00035 
00036 class SCRIBUS_API Annota : public QDialog
00037 {
00038        Q_OBJECT
00039 
00040 public:
00041        Annota(QWidget* parent, PageItem *it, int Seite, int b, int h, ScribusView* vie);
00042        ~Annota() {};
00043        QWidgetStack* Fram;
00044        QLabel* TextLabel1;
00045        QComboBox* ComboBox1;
00046        QGroupBox* GroupBox1;
00047        QLabel* TextLabel3;
00048        QLabel* TextLabel4;
00049        QLabel* TextLabel5;
00050        QLineEdit* Destfile;
00051        QPushButton* ChFile;
00052        Navigator* Pg;
00053        QSpinBox* SpinBox1;
00054        QSpinBox* SpinBox2;
00055        QSpinBox* SpinBox3;
00056        QFrame* Frame9;
00057        QPushButton* PushButton1;
00058        QPushButton* PushButton2;
00059        PageItem* item;
00060        ScribusView* view;
00061        int Breite;
00062        int Hoehe;
00063        int OriBreite;
00064        int OriHoehe;
00065        int MaxSeite;
00066 
00067 public slots:
00068        void SetCo(double x, double y);
00069        void SetPg(int v);
00070        void SetCross();
00071        void SetVals();
00072        void SetZiel(int i);
00073        void GetFile();
00074 
00075 protected:
00076        QVBoxLayout* AnnotLayout;
00077        QHBoxLayout* Layout1;
00078        QGridLayout* GroupBox1Layout;
00079        QHBoxLayout* Layout1_2;
00080 };
00081 
00082 #endif // ANNOT_H