Scribus
Open source desktop publishing at your fingertips
prefs_userinterface.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 
8 #ifndef PREFS_USERINTERFACE_H
9 #define PREFS_USERINTERFACE_H
10 
11 #include <QColor>
12 #include <QFont>
13 #include <QString>
14 
15 #include "ui_prefs_userinterfacebase.h"
16 #include "prefs_pane.h"
17 #include "scribusapi.h"
18 
19 class ScribusDoc;
20 
21 class SCRIBUS_API Prefs_UserInterface : public Prefs_Pane, Ui::Prefs_UserInterface
22 {
23  Q_OBJECT
24 
25  public:
26  Prefs_UserInterface(QWidget* parent, ScribusDoc* doc=NULL);
28  virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
29  virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
30 
31  public slots:
32  void languageChange();
33 
34  protected:
35  QString selectedGUILang;
36  QColor seFontColor;
37  QFont seFont;
38 
39  private slots:
40  void setSelectedGUILang( const QString &newLang );
41  void changeStoryEditorFont();
42  void changeStoryEditorFontColor();
43 };
44 
45 #endif // PREFS_USERINTERFACE_H
Definition: prefsstructs.h:453
Definition: prefs_userinterface.h:21
the Document Class
Definition: scribusdoc.h:90
Definition: prefs_pane.h:14