Scribus
Open source desktop publishing at your fingertips
annota.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 /***************************************************************************
8  * *
9  * This program is free software; you can redistribute it and/or modify *
10  * it under the terms of the GNU General Public License as published by *
11  * the Free Software Foundation; either version 2 of the License, or *
12  * (at your option) any later version. *
13  * *
14  ***************************************************************************/
15 #ifndef ANNOTA_H
16 #define ANNOTA_H
17 
18 #include <QDialog>
19 class QHBoxLayout;
20 class QGridLayout;
21 class QVBoxLayout;
22 class QFrame;
23 class QLabel;
24 class QComboBox;
25 class QStackedWidget;
26 class QGroupBox;
27 class QLineEdit;
28 class QPushButton;
29 class ScrSpinBox;
30 class QCheckBox;
31 
32 #include "scribusapi.h"
33 
34 class PageItem;
35 class Navigator;
36 class ScribusView;
37 
38 class SCRIBUS_API Annota : public QDialog
39 {
40  Q_OBJECT
41 
42 public:
43  Annota(QWidget* parent, PageItem *it, int Seite, int b, int h, ScribusView* vie);
44  ~Annota() {};
45  QStackedWidget* Fram;
46  QLabel* TextLabel1;
47  QComboBox* ComboBox1;
48  QGroupBox* GroupBox1;
49  QLabel* TextLabel3;
50  QLabel* TextLabel4;
51  QLabel* TextLabel5;
52  QLineEdit* Destfile;
53  QPushButton* ChFile;
54  QCheckBox* useAbsolute;
55  Navigator* Pg;
56  ScrSpinBox* SpinBox1;
57  ScrSpinBox* SpinBox2;
58  ScrSpinBox* SpinBox3;
59 // QFrame* Frame9;
60  QPushButton* PushButton1;
61  QPushButton* PushButton2;
62  QGroupBox* GroupBox2;
63  QLabel* TextLabelG1;
64  QComboBox* ComboBox2;
65  QCheckBox* textIsOpen;
66  PageItem* item;
67  ScribusView* view;
68  int Width;
69  int Height;
70  int OriWidth;
71  int OriHeight;
72  int MaxSeite;
73 
74 public slots:
75  void SetCoords(double x, double y);
76  void SetPage(double v);
77  void SetCross();
78  void SetValues();
79  void SetTarget(int i);
80  void GetFile();
81 
82 protected:
83  QVBoxLayout* AnnotLayout;
84  QHBoxLayout* Layout1;
85  QGridLayout* GroupBox1Layout;
86  QGridLayout* GroupBox2Layout;
87  QHBoxLayout* Layout1_2;
88 };
89 
90 #endif // ANNOT_H
Definition: navigator.h:40
ScrSpinBox is a Qt4 replacement for our old ScrSpinBox using Qt3.
Definition: scrspinbox.h:21
Definition: pageitem.h:92
Definition: annota.h:38
Definition: scribusview.h:87