Scribus
Open source desktop publishing at your fingertips
propertywidget_advanced.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_ADVANCED_H
8 #define PROPERTYWIDGET_ADVANCED_H
9 
10 #include "ui_propertywidget_advancedbase.h"
11 
12 #include "propertywidgetbase.h"
13 
14 class CharStyle;
15 class ParagraphStyle;
16 class ScribusDoc;
17 class ScribusMainWindow;
18 
19 class PropertyWidget_Advanced : public QFrame, Ui::PropertyWidget_AdvancedBase,
20  public PropertyWidgetBase
21 {
22  Q_OBJECT
23 
24 public:
25  PropertyWidget_Advanced(QWidget* parent);
27 
28 protected:
29  void connectSignals();
30  void disconnectSignals();
31 
32  double m_unitRatio;
33  int m_unitIndex;
34 
35  PageItem* m_item;
36  ScribusMainWindow* m_ScMW;
37 
38  void configureWidgets(void);
39  void setCurrentItem(PageItem *i);
40 
41  virtual void changeEvent(QEvent *e);
42 
43 public slots:
44  void setMainWindow(ScribusMainWindow *mw);
45  void setDoc(ScribusDoc *d);
46 
47  void handleSelectionChanged();
48 
49  void languageChange();
50  void unitChange() {};
51 
52  void showBaseLineOffset(double e);
53  void showTextScaleH(double e);
54  void showTextScaleV(double e);
55  void showTracking(double e);
56 
57  void updateCharStyle(const CharStyle& charStyle);
58  void updateStyle(const ParagraphStyle& newCurrent);
59 
60 private slots:
61  void handleBaselineOffset();
62  void handleMinWordTracking();
63  void handleNormWordTracking();
64  void handleMinGlyphExtension();
65  void handleMaxGlyphExtension();
66  void handleTextScaleH();
67  void handleTextScaleV();
68  void handleTracking();
69 
70 };
71 
72 #endif
Definition: charstyle.h:78
This Class is the base class for your application. It sets up the main window and providing a menubar...
Definition: scribus.h:123
Definition: propertywidget_advanced.h:19
Definition: paragraphstyle.h:27
the Document Class
Definition: scribusdoc.h:90
Definition: propertywidgetbase.h:16
Definition: pageitem.h:92