Scribus
Open source desktop publishing at your fingertips
annot.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 ANNOT_H
8 #define ANNOT_H
9 
10 #include <QDialog>
11 
12 #include "scribusapi.h"
13 
14 #include "annotation.h"
15 #include "sccolor.h"
16 
17 #include "ui_annot.h"
18 
19 class PageItem;
20 class Navigator;
21 class ColorCombo;
22 class ScribusView;
23 class PrefsContext;
24 
25 class SCRIBUS_API ScAnnot : public QDialog, Ui::ScAnnot
26 {
27  Q_OBJECT
28 
29 public:
30  ScAnnot ( QWidget* parent, PageItem *it, int Seite, int b, int h, ColorList Farben, ScribusView* vie );
31  ~ScAnnot();
32 
33  void DecodeNum();
34  void DecodeVali();
35  void DecodeCalc();
36 
37  Navigator* Pg1;
38 
39  PageItem* item;
40  ScribusView* view;
41  int Width;
42  int Height;
43  int OriWidth;
44  int OriHeight;
45  int ScrEdited;
46  int FormNum;
47  QString JavaScr;
48  int MaxSeite;
49  QString OldName;
50 
51 public slots:
52  void NewName();
53  void IPlace();
54  void RemoveNIcon();
55  void RemovePIcon();
56  void RemoveRIcon();
57  void IconsEin();
58  void GetNIcon();
59  void GetPIcon();
60  void GetRIcon();
61  void SelectFelder();
62  void editKeySc();
63  void editFormatSc();
64  void editValidSc();
65  void editCalcSc();
66  void editJavaSc();
67  void SetFormNum();
68  void SetCurr();
69  void HandleVali();
70  void SetVali();
71  void HandleCalc();
72  void SetCalc();
73  void SetFoScript ( int it );
74  void SetCoords ( double x, double y );
75  void SetPage ( int v );
76  void SetCross();
77  void SetValues();
78  void SetAnnotationType ( int i );
79  void GetFile();
80  void SetActionType ( int it );
81  void SetLimit();
82  void SetActionScript ( int it );
83  void setDateSample ( const QString& ds );
84  void SetExternLink();
85 
86 protected:
87  PrefsContext* dirs;
88  Annotation m_annotation;
89 };
90 
91 #endif // ANNOT_H
Definition: annot.h:25
The ColorCombo widget is a combo box for displaying list of colors.
Definition: colorcombo.h:33
Definition: sccolor.h:155
Definition: navigator.h:40
Definition: prefscontext.h:40
Definition: pageitem.h:92
Definition: annotation.h:35
Definition: scribusview.h:87