Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 1640 → Rev 1641

/branches/Version13x/Scribus/scribus/prefs.h
0,0 → 1,252
#ifndef PREFS_H
#define PREFS_H
 
#include <qdialog.h>
#include <qbuttongroup.h>
#include <qcombobox.h>
#include <qgroupbox.h>
#include <qlabel.h>
#include <qpushbutton.h>
#include <qradiobutton.h>
#include <qspinbox.h>
#include <qwidget.h>
#include <qlayout.h>
#include <qtoolbutton.h>
#include <qframe.h>
#include <qcheckbox.h>
#include <qwidgetstack.h>
#include <qpixmap.h>
#include <qslider.h>
#include <qlineedit.h>
#include <qfiledialog.h>
 
class QListView;
 
#include "scribusstructs.h"
 
#include "mspinbox.h"
#include "scribus.h"
#include "prefsdialogbase.h"
class TabTypograpy;
class HySettings;
class CMSPrefs;
class KeyManager;
class TabGuides;
class TabTools;
class TabCheckDoc;
class TabPDFOptions;
class FontPrefs;
class DocumentItemAttributes;
 
#include "langmgr.h"
 
class Preferences : public PrefsDialogBase
{
Q_OBJECT
 
public:
Preferences( QWidget* parent, ApplicationPrefs *prefsData);
~Preferences();
 
QString prefsPageSizeName;
//const QString getSelectedGUILang( void );
QString selectedGUILang;
void drawRuler();
 
QWidget* tab;
QLabel* TextLabel1_2;
QSpinBox* SpinBox3;
QSpinBox* Recen;
QButtonGroup* ButtonGroup1;
QLabel* guiLangLabel;
QLabel* TextGstil;
QLabel* TextGstil2;
QSpinBox* GFsize;
QComboBox* guiLangCombo;
QComboBox* GUICombo;
QComboBox* UnitCombo;
QLabel* unitComboText;
QGroupBox* GroupBox200;
QLabel* PfadText;
QLineEdit* Docs;
QToolButton* FileC;
QLabel* PfadText2;
QLineEdit* ProPfad;
QToolButton* FileC2;
QLabel* PfadText3;
QLineEdit* ScriptPfad;
QToolButton* FileC3;
QLabel* PfadText4;
QLineEdit* TemplateDir;
QToolButton* FileC4;
 
TabGuides* tabGuides;
 
QLabel* TextLabel4c;
 
TabTypograpy* tabTypo;
 
QWidget* tabView;
QButtonGroup* pageBackground;
QLabel* textLabel9;
QCheckBox* checkLink;
QCheckBox* checkFrame;
QCheckBox* checkPictures;
QPushButton* backColor;
QCheckBox* checkUnprintable;
QGroupBox* groupScratch;
MSpinBox* topScratch;
MSpinBox* bottomScratch;
MSpinBox* leftScratch;
MSpinBox* rightScratch;
QLabel* TextLabel7s;
QLabel* TextLabel5s;
QLabel* Linkss;
QLabel* Rechtss;
 
TabTools* tabTools;
 
HySettings* tabHyphenator;
FontPrefs* tabFonts;
TabCheckDoc* tabDocChecker;
CMSPrefs* tabColorManagement;
TabPDFOptions* tabPDF;
DocumentItemAttributes* tabDefaultItemAttributes;
KeyManager* tabKeys;
 
QLabel* textLabelP;
QWidget* tab_5;
QGroupBox* saving;
QCheckBox* SaveAtQuit;
QGroupBox* preview;
QComboBox* PreviewSize;
QWidget* tab_7;
QButtonGroup* GroupSize;
QLabel* GZText2;
QComboBox* GZComboF;
QComboBox* GZComboO;
QLabel* GZText1;
QLabel* GZText3;
QLabel* GZText4;
MSpinBox* pageWidth;
MSpinBox* pageHeight;
QCheckBox* facingPages;
QCheckBox* Linkszuerst;
QGroupBox* GroupRand;
QLabel* GRText3;
MSpinBox* TopR;
MSpinBox* BottomR;
MSpinBox* RightR;
MSpinBox* LeftR;
QLabel* GRText2;
QLabel* GRText1;
QLabel* GRText4;
QGroupBox* GroupAS;
QCheckBox* ASon;
QLabel* ASText;
QSpinBox* ASTime;
QGroupBox* urGroup;
QLabel* urLabel;
QSpinBox* urSpinBox;
QGroupBox* CaliGroup;
QLabel* CaliText;
QLabel* CaliRuler;
QSlider* CaliSlider;
QLabel* CaliAnz;
QWidget* ExtTool;
QGroupBox* groupGS;
QLabel* GSText;
QLineEdit* GSName;
QCheckBox* GSantiText;
QCheckBox* GSantiGraph;
QGroupBox* groupGimp;
QLabel* GimpText;
QLineEdit* GimpName;
QWidget* Misc;
QGroupBox* groupPrint;
QCheckBox* ClipMarg;
QCheckBox* DoGCR;
QCheckBox* AskForSubs;
// plugin manager
QWidget* pluginManagerWidget;
QGroupBox* plugGroupBox;
QListView* pluginsList;
QLabel* pluginWarning;
 
double Umrech;
double PFactor;
double Pagebr;
double Pageho;
double RandT;
double RandB;
double RandL;
double RandR;
int docUnitIndex;
double DisScale;
ScribusApp *ap;
QColor colorPaper;
 
 
public slots:
virtual void changePaperColor();
void changeDocs();
void changeProfs();
void changeScripts();
void changeTemplates();
void setDS();
void setPageWidth(int v);
void setPageHeight(int v);
void setTop(int v);
void setBottom(int v);
void setLeft(int v);
void setRight(int v);
void setSize(const QString &);
void setOrien(int ori);
void unitChange();
void setDisScale();
void switchCMS(bool enable);
 
protected:
QGridLayout* tabLayout;
QGridLayout* ButtonGroup1Layout;
QGridLayout* GroupBox200Layout;
QGridLayout* tabLayout_5;
QHBoxLayout* savingLayout;
QHBoxLayout* previewLayout;
QHBoxLayout* Layout3;
QHBoxLayout* tabLayout_7;
QVBoxLayout* Layout21;
QVBoxLayout* GroupSizeLayout;
QGridLayout* Layout6;
QHBoxLayout* Layout5_2;
QHBoxLayout* Layout8;
QGridLayout* GroupRandLayout;
QGridLayout* GroupASLayout;
QVBoxLayout* CaliGroupLayout;
QHBoxLayout* layout15ca;
QVBoxLayout* ExtToolLayout;
QVBoxLayout* groupGSLayout;
QHBoxLayout* GSlayout;
QHBoxLayout* groupGimpLayout;
QVBoxLayout* MiscLayout;
QVBoxLayout* groupPrintLayout;
QVBoxLayout* tabViewLayout;
QVBoxLayout* pageBackgroundLayout;
QHBoxLayout* layout10;
QHBoxLayout* groupScratchLayout;
QGridLayout* Layout4s;
// plugin manager
QVBoxLayout* plugLayout1;
QVBoxLayout* pluginMainLayout;
QGridLayout* plugGroupBoxLayout;
 
private slots:
void setSelectedGUILang( const QString &newLang );
void setActionHistoryLength();
void changePluginLoad(QListViewItem *, const QPoint &, int);
 
private:
LanguageManager langMgr;
};
 
#endif // PREFS_H
Property changes:
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Revision
\ No newline at end of property