Scribus
Open source desktop publishing at your fingertips
buttonicon.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 BUTTONICON_H
8 #define BUTTONICON_H
9 
10 #include <QDialog>
11 
12 class QGridLayout;
13 class QHBoxLayout;
14 class QVBoxLayout;
15 class QComboBox;
16 class QGroupBox;
17 class QSlider;
18 class QPushButton;
19 class QLabel;
20 
21 #include "scribusapi.h"
22 
23 class PageItem;
24 
25 class SCRIBUS_API ButtonIcon : public QDialog
26 {
27  Q_OBJECT
28 
29 public:
30  ButtonIcon(QWidget* parent, PageItem* ite);
31  ~ButtonIcon() {};
32 
33  QLabel* TextLabel1_2;
34  QComboBox* Place;
35  QLabel* TextLabel1;
36  QComboBox* ScaleW;
37  QLabel* TextLabel2;
38  QComboBox* ScaleH;
39  QGroupBox* GroupButton;
40  QLabel* TextLabel3;
41  QSlider* SliderX;
42  QSlider* SliderY;
43  QPushButton* OK;
44  QPushButton* Cancel;
45  QPushButton* Reset;
46  PageItem* Item;
47  int IcPlace;
48  int IcScaleW;
49  int IcScaleH;
50  qreal IcPlaceX;
51  qreal IcPlaceY;
52 
53 private slots:
54  void MoveIconY(int y);
55  void MoveIconX(int x);
56  void SetAllVals();
57  void SetScaleHow(int s);
58 
59 protected:
60  QVBoxLayout* ButtonIconLayout;
61  QGridLayout* Layout1;
62  QHBoxLayout* Layout5;
63  QGridLayout* Layout3;
64  QHBoxLayout* Layout4;
65 };
66 
67 #endif // BUTTONICON_H
Definition: buttonicon.h:25
Definition: pageitem.h:92