Source: scribus/libprefs/prefs.h


Annotated List
Files
Globals
Hierarchy
Index
#ifndef PREFS_H
#define PREFS_H

#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include "linecombo.h"
#include "linkbutton.h"
#include "scribusdoc.h"
#include "scfonts.h"
#include "mspinbox.h"

class Preferences : public QDialog
{
    Q_OBJECT

public:
    Preferences( QWidget* parent, preV *Vor);
    ~Preferences();
    float GetZeroFaktor();
    float GetMaxFaktor();

    QPushButton* buttonOK;
    QPushButton* buttonCancel;
    QTabWidget* TabWidget3;
    QWidget* tab;
    QGroupBox* Mouse;
    QLabel* TextLabel1_2;
    QLabel* TextLabel1_2_2;
    QSpinBox* SpinBox3;
    QSpinBox* SpinBox3_2;
    QSpinBox* Recen;
    QButtonGroup* ButtonGroup1;
    QLabel* TextGstil;
    QLabel* TextGstil2;
    QSpinBox* GFsize;
    QComboBox* GUICombo;
    QComboBox* UnitCombo;
    QGroupBox* GroupBox20;
    QGroupBox* GroupBox20a;
    QGroupBox* GroupBox20b;
    QGroupBox* GroupBox200;
    QLabel* PfadText;
		QLineEdit* Docs;
		QToolButton* FileC;
    QButtonGroup* ButtonGroup2;
    QButtonGroup* ButtonGroup5;
    QRadioButton* RadioButton6;
    QRadioButton* RadioButton7;
    QWidget* tab_2;
    QGroupBox* GroupBox1;
    QLabel* TextLabel1;
    QLabel* TextLabel2;
    QLabel* TextLabel2g;
    MSpinBox* SpinBox1;
    MSpinBox* SpinBox2;
    MSpinBox* SpinBox2g;
    QGroupBox* GroupBox2;
    QLabel* TextLabel3;
    QLabel* TextLabel4;
    QLabel* TextLabel4a;
    QLabel* TextLabel4b;
    QLabel* TextLabel4c;
    QLabel* TextLabel4g;
    QPushButton* minColor;
    QPushButton* MaxColor;
		QPushButton* GuideColor;
    QPushButton* PapColor;
    QPushButton* RandColor;
    QPushButton* Shorty;
    QWidget* tab_3;
		QWidgetStack* Fram;
    QLabel* TextLabel2_2;
    QLabel* TextLabel1_3;
    QComboBox* FontCombo;
    QComboBox* SizeCombo;
    QComboBox* ForegroundT;
    QLabel* TextLabelT1;
    QLabel* TextLabel1_4;
    QWidget* tab_4;
    QGroupBox* GroupBox4_2;
    QLabel* TextLabel2_3_2;
    QLabel* TextLabel1_5_2;
    QSpinBox* VTiefW;
    QSpinBox* VTiefWSc;
    QGroupBox* GroupBox4;
    QLabel* TextLabel2_3;
    QLabel* TextLabel1_5;
    QSpinBox* VHochW;
    QSpinBox* VHochWSc;
    QGroupBox* GroupBox4_3;
    QLabel* TextLabel2_3_3;
    QSpinBox* SmallCaps;
    QGroupBox* GroupBox4_3a;
    QLabel* TextLabel2_3_3a;
    QSpinBox* AutoLineV;
    QToolButton* TextButton;
    QToolButton* BildButton;
    QToolButton* RectButton;
    QToolButton* OvalButton;
    QToolButton* LineButton;
    QToolButton* ZoomButton;
    QToolButton* PolyButton;
    QFrame* ToolFrame;
    QFrame* ToolFrame2;
    QLabel* TextLabelT21;
    QLabel* TextLabelT22;
    QLabel* TextLabelT23;
    QLabel* TextLabelT24;
    QLabel* TextLabelT25;
    QLabel* TextLabelT26;
    QComboBox* Foreground;
    QSpinBox* Shade2;
    QComboBox* Background;
    QSpinBox* Shade;
    LineCombo* Linestyle;
    MSpinBox* LineW;
    QFrame* ToolFrame3;
    QLabel* TextLabelT31;
    QLabel* TextLabelT32;
    QLabel* TextLabelT35;
    QLabel* TextLabelT36;
    QComboBox* Foreground2;
    QSpinBox* Shade22;
    LineCombo* Linestyle2;
    MSpinBox* LineW2;
    QFrame* ToolFrame4;
    QLabel* TextLabelT42;
    QLabel* TextLabelT43;
    QLabel* TextLabelT44;
    QSpinBox* MinMag;
    QSpinBox* MaxMag;
    QSpinBox* StepMag;
    QButtonGroup* ToolFrame5;
    QLabel* TextLabelT51;
    QLabel* TextLabelT52;
    QLabel* TextLabelT53;
    QLabel* TextLabelT54;
    QRadioButton* FreeScale;
    QRadioButton* FrameScale;
    QCheckBox* Aspect;
    QSpinBox* XScale;
    QSpinBox* YScale;
    LinkButton* Kette;
    QComboBox* BackgroundP;
    QSpinBox* ShadeP;
    QLabel* TextLabelP;
    QWidget* tab_5;
    QGroupBox* Saving;
    QCheckBox* SaveAtQuit;
    QGroupBox* Preview;
    QComboBox* PreviewSize;
    QFrame* Frame6;
    QWidget* tab_6;
    QGroupBox* GroupBox10;
    QCheckBox* FramesVisible;
    QCheckBox* SidebySide;
    QCheckBox* RandFarb;
    QFrame* ToolFrame6;
    QLabel* T6_Text1;
    QSpinBox* T6_Ecken;
    QCheckBox* T6_Konvex;
    QLabel* T6_Text2;
    QSpinBox* T6_Faktor;
    QSlider* T6_Slider1;
    QLabel* T6_Preview;
    QLabel* T6_Text2_2;
    QSpinBox* T6_Faktor2;
    QSlider* T6_Slider2;
    QWidget* tab_7;
    QButtonGroup* GroupSize;
    QLabel* GZText2;
    QComboBox* GZComboF;
    QComboBox* GZComboO;
    QLabel* GZText1;
    QLabel* GZText3;
    QLabel* GZText4;
    MSpinBox* Breite;
    MSpinBox* Hoehe;
    QCheckBox* Doppelseiten;
    QCheckBox* Linkszuerst;
    QGroupBox* GroupRand;
    QLabel* GRText3;
    MSpinBox* TopR;
    MSpinBox* BottomR;
    MSpinBox* RightR;
    MSpinBox* LeftR;
    QLabel* GRText2;
    QLabel* GRText1;
    QLabel* GRText4;
		QCheckBox *UsePDFTrans;

    SCFonts *fon; // can't use a reference, and can't copy whole structure...
    float Umrech;
		QPixmap* Pre;
		float PFactor;
    QMap KKC;
		QColor Cmin;
		QColor Cmax;
		QColor Crand;
		QColor Cpaper;
		QColor Cgui;
		float Pagebr;
		float Pageho;
		int Einheit;

public slots:
    virtual void changeMaColor();
    virtual void changeMicolor();
		void ChangeDocs();
		void ChangeScaling();
		void setDS();
		void setBreite(int v);
		void setHoehe(int v);
		void setSize(int gr);
		void setOrien(int ori);
    void changePapColor();
    void changeRandColor();
		void changeGuideColor();
    void DefKB();
    void SetSample();
    void SetTool();
    void ToggleKette();
    void HChange();
    void VChange();
    void UnitChange();
		void UpdatePreView();
		float GetFaktor();
		void ValFromSpin(int a);
		void ValFromSpin2(int a);

protected:
    QVBoxLayout* PrefsLayout;
    QGridLayout* tabLayout;
    QGridLayout* ButtonGroup1Layout;
    QHBoxLayout* GroupBox20Layout;
    QHBoxLayout* GroupBox20aLayout;
    QGridLayout* GroupBox20bLayout;
    QHBoxLayout* GroupBox200Layout;
    QHBoxLayout* MouseLayout;
    QGridLayout* Layout5;
    QGridLayout* tabLayout_2;
    QHBoxLayout* ButtonGroup5Layout;
    QVBoxLayout* Layout7;
    QHBoxLayout* GroupBox1Layout;
    QGridLayout* Layout10;
    QHBoxLayout* GroupBox2Layout;
    QGridLayout* Layout11;
    QGridLayout* tabLayout_3;
    QHBoxLayout* GroupBox4_2Layout;
    QGridLayout* Layout12;
    QHBoxLayout* GroupBox4Layout;
    QGridLayout* Layout13;
    QHBoxLayout* GroupBox4_3Layout;
    QHBoxLayout* Layout14;
    QHBoxLayout* GroupBox4_3aLayout;
    QHBoxLayout* Layout14a;
    QHBoxLayout* tabLayout_4;
    QHBoxLayout* ButtonGroup2Layout;
    QGridLayout* Layout16;
    QHBoxLayout* ToolFrameLayout;
    QHBoxLayout* ToolFrame2Layout;
    QHBoxLayout* ToolFrame3Layout;
    QHBoxLayout* ToolFrame4Layout;
    QHBoxLayout* ToolFrame5Layout;
    QGridLayout* Layout15;
    QGridLayout* Layout15a;
    QGridLayout* Layout15b;
    QGridLayout* Layout15c;
    QGridLayout* Layout15d;
    QGridLayout* tabLayout_5;
    QHBoxLayout* SavingLayout;
    QHBoxLayout* PreviewLayout;
    QHBoxLayout* tabLayout_6;
    QHBoxLayout* Layout_6b;
    QVBoxLayout* GroupBox10Layout;
    QHBoxLayout* Layout3;
    QHBoxLayout* PolygonPropsLayout;
    QHBoxLayout* T6_Layout11;
    QVBoxLayout* T6_Layout10;
    QHBoxLayout* T6_Layout2;
    QHBoxLayout* T6_Layout9;
    QVBoxLayout* T6_Layout8;
    QHBoxLayout* T6_Layout7;
    QHBoxLayout* T6_Layout9_2;
    QVBoxLayout* T6_Layout8_2;
    QHBoxLayout* T6_Layout7_2;
    QHBoxLayout* tabLayout_7;
    QVBoxLayout* Layout21;
    QVBoxLayout* GroupSizeLayout;
    QGridLayout* Layout6;
    QHBoxLayout* Layout5_2;
    QHBoxLayout* Layout8;
    QGridLayout* GroupRandLayout;
};

#endif // PREFS_H

Generated by: paul on T6.linux on Tue Mar 18 23:32:13 2003, using kdoc 2.0a54.