Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

annot.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 ANNOT_H
00008 #define ANNOT_H
00009 
00010 #include <QDialog>
00011 class QHBoxLayout;
00012 class QGridLayout;
00013 class QVBoxLayout;
00014 class QStackedWidget;
00015 class QGroupBox;
00016 class QTextEdit;
00017 class QLabel;
00018 class QFrame;
00019 class QComboBox;
00020 class QLineEdit;
00021 class QCheckBox;
00022 class QPushButton;
00023 class QSpinBox;
00024 class QTabWidget;
00025 class QWidget;
00026 class QRadioButton;
00027 
00028 #include "scribusapi.h"
00029 #include "sccolor.h"
00030 
00031 class PageItem;
00032 class Navigator;
00033 class ColorCombo;
00034 class ScribusView;
00035 class PrefsContext;
00036 
00037 class SCRIBUS_API Annot : public QDialog
00038 {
00039     Q_OBJECT
00040 
00041 public:
00042     Annot ( QWidget* parent, PageItem *it, int Seite, int b, int h, ColorList Farben, ScribusView* vie );
00043     ~Annot();
00044     void DecodeNum();
00045     void DecodeVali();
00046     void DecodeCalc();
00047     QStackedWidget* Fram;
00048     QStackedWidget* Fram2;
00049     QStackedWidget* FramOp;
00050     QStackedWidget* FoFram;
00051     QLabel* TextLabel1;
00052     QComboBox* ComboBox1;
00053     QLabel* TextVa;
00054     QFrame* Frame9;
00055     QComboBox* ActionCombo;
00056     QFrame* Frame3;
00057     QFrame* Frame4;
00058     QFrame* Frame4a;
00059     QLabel* TextLabel4a;
00060     QLineEdit *Name;
00061     QLabel* TextLabel4b;
00062     QLineEdit *Tip;
00063     QLabel* AcText1;
00064     QLabel* AcText2;
00065     QComboBox* SelAction;
00066     QTextEdit* EditJava;
00067     QGroupBox* GroupBox11;
00068     QLabel* TextLabel31;
00069     QLabel* TextLabel41;
00070     QLabel* TextLabel51;
00071     QCheckBox* LExtern;
00072     QLineEdit* Destfile;
00073     QPushButton* ChFile;
00074     Navigator* Pg1;
00075     QSpinBox* SpinBox11;
00076     QSpinBox* SpinBox21;
00077     QSpinBox* SpinBox31;
00078     QGroupBox* GroupBox10;
00079     QLabel* TextLabel20;
00080     QLabel* TextLabel30;
00081     QTabWidget* TabWidget2;
00082     QWidget* tab;
00083     QGroupBox* GroupBox40;
00084     QComboBox* Schrift;
00085     QLabel* TextLabel60;
00086     QLabel* CheckBox30;
00087     QLabel* CheckBox40;
00088     QLineEdit* DownT;
00089     QLineEdit* TextO;
00090     QGroupBox* GroupBox30;
00091     QCheckBox* ReadOnly;
00092     QCheckBox* Required;
00093     QCheckBox* NoExport;
00094     QLabel* TextLabel8_2;
00095     QComboBox* ComboBox7_2;
00096     QLabel* TextLabel90;
00097     QComboBox* Visib;
00098     QGroupBox* GroupBox20;
00099     ColorCombo* BorderC;
00100     QLabel* TextLabel40a;
00101     QComboBox* BorderW;
00102     QLabel* TextLabel40;
00103     QLabel* TextLabel50;
00104     QComboBox* BorderS;
00105     QWidget* tab_2;
00106     QLabel* TextLabel70;
00107     QWidget* tab_3;
00108     QGroupBox* GroupBox40a;
00109     QGroupBox* GroupBox30a;
00110     QGroupBox* OptTextFeld;
00111     QCheckBox* MultiL;
00112     QCheckBox* Passwd;
00113     QCheckBox* Limit;
00114     QSpinBox* MaxChars;
00115     QCheckBox* NoScroll;
00116     QCheckBox* NoSpell;
00117     QLabel* TextLabel2_2;
00118     QGroupBox* OptCheck;
00119     QLabel* CText1;
00120     QComboBox* ChkStil;
00121     QCheckBox* isChkd;
00122     QGroupBox* OptCombo;
00123     QCheckBox* CanEdit;
00124     QWidget* tab4;
00125     QLabel* TextForm1;
00126     QComboBox* TxFormat;
00127     QGroupBox* GroupCust;
00128     QLabel* TextForm2;
00129     QPushButton* EditFormat;
00130     QTextEdit* FormatScript;
00131     QLabel* TextForm3;
00132     QPushButton* EditKeystr;
00133     QTextEdit* KeyScript;
00134     QFrame* FoFrameNone;
00135     QGroupBox* NumbGroup;
00136     QLabel* TextNu1;
00137     QSpinBox* Decim;
00138     QCheckBox* UseCurr;
00139     QLineEdit* CurSym;
00140     QCheckBox* PreCurr;
00141     QGroupBox* NumGroup2;
00142     QRadioButton* Format0;
00143     QRadioButton* Format1;
00144     QRadioButton* Format2;
00145     QRadioButton* Format3;
00146     QGroupBox* PercGroup;
00147     QLabel* TextNu1a;
00148     QSpinBox* Decim2;
00149     QGroupBox* NumGroup2a;
00150     QRadioButton* Format0a;
00151     QRadioButton* Format1a;
00152     QRadioButton* Format2a;
00153     QRadioButton* Format3a;
00154     QGroupBox* TimeGroup;
00155     QRadioButton* Format0b;
00156     QRadioButton* Format1b;
00157     QRadioButton* Format2b;
00158     QRadioButton* Format3b;
00159     QGroupBox* DateGroup;
00160     QComboBox* Format0c;
00161     QLabel* TextDa1;
00162     QWidget* tab_4;
00163     QGroupBox* ValidateGroup;
00164     QRadioButton* NoValid;
00165     QRadioButton* SimpleValid;
00166     QLineEdit* MinValid;
00167     QLineEdit* MaxValid;
00168     QRadioButton* CustomValid;
00169     QTextEdit* ValidScript;
00170     QPushButton* EditValScript;
00171     QWidget* tab_5;
00172     QGroupBox* CalcGroup;
00173     QRadioButton* NoCalc;
00174     QRadioButton* SimpleCalc;
00175     QComboBox* CalcArt;
00176     QLabel* TextLabel1_2;
00177     QLineEdit* CalcFields;
00178     QRadioButton* CustomCalc;
00179     QTextEdit* CalcScript;
00180     QPushButton* EditCalc;
00181     QPushButton* EditJ;
00182     QPushButton* SeField;
00183     QFrame* Frame3b;
00184     QLabel* SubText1;
00185     QLineEdit* SubURL;
00186     QCheckBox* SubAsHtml;
00187     QFrame* Frame3c;
00188     QLabel* SubText1a;
00189     QLineEdit* SubURLa;
00190     QGroupBox* OptIcons;
00191     QCheckBox* UseIcons;
00192     QPushButton* IconN;
00193     QLabel* NiconPrev;
00194     QPushButton* IconP;
00195     QLabel* PiconPrev;
00196     QPushButton* IconR;
00197     QLabel* RiconPrev;
00198     QPushButton* IconNR;
00199     QPushButton* IconPR;
00200     QPushButton* IconRR;
00201     QPushButton* PlaceIcon;
00202     QPushButton* PushButton1;
00203     QPushButton* PushButton2;
00204     PageItem* item;
00205     ScribusView* view;
00206     int Breite;
00207     int Hoehe;
00208     int OriBreite;
00209     int OriHoehe;
00210     int ScrEdited;
00211     int FormNum;
00212     QString JavaScr;
00213     int MaxSeite;
00214     QString OldName;
00215 
00216 public slots:
00217     void NewName();
00218     void IPlace();
00219     void RemoveNIcon();
00220     void RemovePIcon();
00221     void RemoveRIcon();
00222     void IconsEin();
00223     void GetNIcon();
00224     void GetPIcon();
00225     void GetRIcon();
00226     void SelectFelder();
00227     void editKeySc();
00228     void editFormatSc();
00229     void editValidSc();
00230     void editCalcSc();
00231     void editJavaSc();
00232     void SetFormNum();
00233     void SetCurr();
00234     void HandleVali();
00235     void SetVali();
00236     void HandleCalc();
00237     void SetCalc();
00238     void SetFoScript ( int it );
00239     void SetCo ( double x, double y );
00240     void SetPg ( int v );
00241     void SetCross();
00242     void SetVals();
00243     void SetZiel ( int i );
00244     void GetFile();
00245     void SetActTyp ( int it );
00246     void SetLimit();
00247     void SetActScript ( int it );
00248     void setDateSample ( const QString& ds );
00249     void SetExternL();
00250 
00251 protected:
00252     QVBoxLayout* AnnotLayout;
00253     QHBoxLayout* Layout1;
00254     QHBoxLayout* Layout1_2;
00255     QGridLayout* GroupBox11Layout;
00256     QVBoxLayout* Frame3Layout;
00257     QVBoxLayout* Frame3bLayout;
00258     QVBoxLayout* Frame3cLayout;
00259     QVBoxLayout* GroupBox10Layout;
00260     QGridLayout* Layout60;
00261     QVBoxLayout* tabLayout;
00262     QHBoxLayout* Layout10;
00263     QGridLayout* GroupBox40Layout;
00264     QGridLayout* GroupBox30Layout;
00265     QGridLayout* GroupBox20Layout;
00266     QVBoxLayout* tabLayout_2;
00267     QHBoxLayout* Layout20;
00268     QVBoxLayout* tabLayout_3;
00269     QGridLayout* GroupBox40aLayout;
00270     QGridLayout* GroupBox30aLayout;
00271     QGridLayout* Frame4aLayout;
00272     QVBoxLayout* OptTextFeldLayout;
00273     QHBoxLayout* Layout7;
00274     QHBoxLayout* Layout71;
00275     QHBoxLayout* Layout8;
00276     QVBoxLayout* OptCheckLayout;
00277     QHBoxLayout* ChkLayout;
00278     QVBoxLayout* OptComboLayout;
00279     QVBoxLayout* Layout;
00280     QHBoxLayout* FLayout;
00281     QVBoxLayout* GroupCustLayout;
00282     QVBoxLayout* FLayout3;
00283     QHBoxLayout* FLayout2;
00284     QVBoxLayout* FLayout5;
00285     QHBoxLayout* FLayout4;
00286     QVBoxLayout* NumbGroupLayout;
00287     QHBoxLayout* LayoutFN1;
00288     QHBoxLayout* LayoutFN2;
00289     QGridLayout* NumGroup2Layout;
00290     QVBoxLayout* PercGroupLayout;
00291     QHBoxLayout* LayoutFN1a;
00292     QGridLayout* NumGroup2aLayout;
00293     QVBoxLayout* TimeGroupLayout;
00294     QVBoxLayout* DateGroupLayout;
00295     QHBoxLayout* LayoutFN1c;
00296     QVBoxLayout* tabLayout_4;
00297     QVBoxLayout* ValidateGroupLayout;
00298     QGridLayout* VLayout1;
00299     QHBoxLayout* VLayout2;
00300     QVBoxLayout* tabLayout_5;
00301     QVBoxLayout* CalcGroupLayout;
00302     QHBoxLayout* CLayout1;
00303     QHBoxLayout* CLayout2;
00304     QHBoxLayout* CLayout3;
00305     QHBoxLayout* Layout18;
00306     QVBoxLayout* OptIconsLayout;
00307     QHBoxLayout* Layout17;
00308     QGridLayout* Layout14;
00309     QGridLayout* Layout15;
00310     QGridLayout* Layout16;
00311     PrefsContext* dirs;
00312 };
00313 
00314 #endif // ANNOT_H
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.