Scribus
Open source desktop publishing at your fingertips
oneclick.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 ONECLICK_H
8 #define ONECLICK_H
9 
10 #include <QDialog>
11 class QGridLayout;
12 class QHBoxLayout;
13 class QVBoxLayout;
14 class QLabel;
15 class QCheckBox;
16 class QPushButton;
17 class QGroupBox;
18 
19 class BasePointWidget;
20 class ScrSpinBox;
21 class LinkButton;
22 
23 #include "scribusapi.h"
24 
25 class SCRIBUS_API OneClick : public QDialog
26 {
27  Q_OBJECT
28 
29 public:
30  OneClick( QWidget* parent, QString titel, int unitIndex, double defW, double defH, bool remember, int origin, int mode );
31  ~OneClick() {};
32  ScrSpinBox *spinWidth;
33  ScrSpinBox *spinHeight;
34  LinkButton* linkSize;
35  QCheckBox* checkRemember;
36  QGroupBox* RotationGroupContainer;
37  BasePointWidget* RotationGroup;
38 
39 public slots:
40  void ToggleKette();
41  void changeSizesH();
42  void changeSizesW();
43 
44 private:
45  QVBoxLayout* queryLayout;
46  QGridLayout* editLayout;
47  QGridLayout* Layout12a;
48  QGridLayout* SizeGroupLayout;
49  QHBoxLayout* okCancelLayout;
50  QPushButton* okButton;
51  QPushButton* cancelButton;
52  QLabel* questionLabel;
53  QLabel* questionLabel2;
54  QGroupBox* SizeGroup;
55 };
56 
57 #endif
Definition: basepointwidget.h:16
Definition: oneclick.h:25
ScrSpinBox is a Qt4 replacement for our old ScrSpinBox using Qt3.
Definition: scrspinbox.h:21