Scribus
Open source desktop publishing at your fingertips
propertywidget_orphans.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_FLOW_H
8 #define PROPERTYWIDGET_FLOW_H
9 
10 #include "ui_propertywidget_orphansbase.h"
11 
12 #include "propertywidgetbase.h"
13 
14 class ParagraphStyle;
15 
16 class PropertyWidget_Orphans : public QFrame, public Ui::PropertyWidget_OrphansBase, public PropertyWidgetBase
17 {
18  Q_OBJECT
19 
20 public:
21 
22  PropertyWidget_Orphans(QWidget* parent);
24 
25  void updateStyle(const ParagraphStyle& newCurrent);
26 
27 protected:
28  virtual void changeEvent(QEvent *e);
29 
30 public slots:
31  void languageChange();
32  void handleKeepLinesStart();
33  void handleKeepLinesEnd();
34  void handleKeepTogether();
35  void handleKeepWithNext();
36 
37 private:
38  void connectSignals();
39  void disconnectSignals();
40 };
41 
42 #endif
Definition: paragraphstyle.h:27
Definition: propertywidgetbase.h:16
Definition: propertywidget_orphans.h:16