Scribus
Open source desktop publishing at your fingertips
propertywidget_pathtext.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_PATHTEXT_H
8 #define PROPERTYWIDGET_PATHTEXT_H
9 
10 #include "ui_propertywidget_pathtextbase.h"
11 
12 #include "propertywidgetbase.h"
13 
14 class ScribusDoc;
15 class ScribusMainWindow;
16 
17 class PropertyWidget_PathText : public QFrame, public Ui::PropertyWidget_PathTextBase,
18  public PropertyWidgetBase
19 {
20  Q_OBJECT
21 
22 public:
23  PropertyWidget_PathText(QWidget* parent);
25 
26 protected:
27  PageItem * m_item;
28  ScribusMainWindow* m_ScMW;
29 
30  double m_unitRatio;
31  int m_unitIndex;
32 
33  void connectSignals();
34  void disconnectSignals();
35 
36  void configureWidgets(void);
37  void setCurrentItem(PageItem *item);
38 
39  virtual void changeEvent(QEvent *e);
40 
41 public slots:
42  void setMainWindow(ScribusMainWindow *mw);
43  void setDoc(ScribusDoc *d);
44 
45  void handleSelectionChanged();
46  void handleUpdateRequest(int);
47 
48  void languageChange();
49  void unitChange();
50 
51 private slots:
52  void handlePathType();
53  void handlePathFlip();
54  void handlePathLine();
55  void handlePathDist();
56  void handlePathOffs();
57 };
58 
59 #endif
Definition: propertywidget_pathtext.h:17
This Class is the base class for your application. It sets up the main window and providing a menubar...
Definition: scribus.h:123
the Document Class
Definition: scribusdoc.h:90
Definition: propertywidgetbase.h:16
Definition: pageitem.h:92