Scribus
Open source desktop publishing at your fingertips
propertywidget_flop.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 PROPERTYWIDGET_FLOP_H
8 #define PROPERTYWIDGET_FLOP_H
9 
10 #include "ui_propertywidget_flopbase.h"
11 
12 #include "scguardedptr.h"
13 
14 class ScribusDoc;
15 
16 class PropertyWidget_Flop : public QFrame, public Ui::PropertyWidget_FlopBase
17 {
18  Q_OBJECT
19 
20 public:
21 
22  enum FlopButtonID
23  {
24  RealHeightID = 0,
25  FontAscentID = 1,
26  LineSpacingID = 2,
27  BaselineGridID = 3
28  };
29 
30  PropertyWidget_Flop(QWidget* parent);
31  ~PropertyWidget_Flop() {};
32 
33 protected:
34 
36 
37  virtual void changeEvent(QEvent *e);
38 
39 public slots:
40 
41  void setDoc(ScribusDoc *d);
42 
43  void languageChange();
44  void unitChange() {};
45 };
46 
47 #endif
the Document Class
Definition: scribusdoc.h:90
Definition: propertywidget_flop.h:16