Back to index

scribus-ng  1.3.4.dfsg+svn20071115
oneclick.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 ONECLICK_H
00008 #define ONECLICK_H
00009 
00010 #include <qdialog.h>
00011 class QLayout;
00012 class QLabel;
00013 class QPushButton;
00014 class QButtonGroup;
00015 class QGroupBox;
00016 class QRadioButton;
00017 class QFrame;
00018 class QString;
00019 class QVBoxLayout;
00020 class QHBoxLayout;
00021 class QGridLayout;
00022 class QCheckBox;
00023 class MSpinBox;
00024 class LinkButton;
00025 
00026 #include "scribusapi.h"
00027 
00028 class SCRIBUS_API OneClick : public QDialog
00029 {
00030        Q_OBJECT
00031 
00032 public:
00033        OneClick( QWidget* parent, QString titel, int unitIndex, double defW, double defH, bool remember, int origin, int mode );
00034        ~OneClick() {};
00035        MSpinBox *spinWidth;
00036        MSpinBox *spinHeight;
00037        LinkButton* linkSize;
00038        QCheckBox* checkRemember;
00039        QButtonGroup* RotationGroup;
00040 
00041 public slots:
00042        void ToggleKette();
00043        void changeSizesH();
00044        void changeSizesW();
00045 
00046 private:
00047        QVBoxLayout* queryLayout;
00048        QGridLayout* editLayout;
00049        QGridLayout* Layout12a;
00050        QGridLayout* Layout12;
00051        QGridLayout* SizeGroupLayout;
00052        QHBoxLayout* okCancelLayout;
00053        QPushButton* okButton;
00054        QPushButton* cancelButton;
00055        QLabel* questionLabel;
00056        QLabel* questionLabel2;
00057        QRadioButton* TopLeft;
00058        QRadioButton* TopRight;
00059        QRadioButton* Center;
00060        QRadioButton* BottomLeft;
00061        QRadioButton* BottomRight;
00062        QFrame* Line1;
00063        QFrame* Line2;
00064        QFrame* Line4;
00065        QFrame* Line5;
00066        QGroupBox* SizeGroup;
00067 };
00068 
00069 #endif