Scribus
Open source desktop publishing at your fingertips
scripterprefsgui.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 SCRIPTERPREFSGUI_H
8 #define SCRIPTERPREFSGUI_H
9 
10 #include "ui_scripterprefsgui.h"
11 #include "ui/prefspanel.h"
12 
13 class SyntaxColors;
14 
17 class ScripterPrefsGui : public PrefsPanel, public Ui::ScripterPrefsGui
18 {
19  Q_OBJECT
20 
21  public:
22  ScripterPrefsGui(QWidget* parent);
24 
25  public slots:
26  void apply();
27 
28  protected:
29  void setupSyntaxColors();
30  void setButtonIcon(QPushButton* button, QColor color);
31 
32  SyntaxColors* syntaxColors;
33 
34  protected slots:
35  void languageChange();
39  void setColor();
40 
41  void changeStartupScript();
42 
43  signals:
44  void prefsChanged();
45 };
46 
47 #endif
Store colors for syntax highligter. It provides defaults, loading and storing preferences.
Definition: pconsole.h:88
A base class for all preferences panels.
Definition: prefspanel.h:21
void setColor()
All requests for color change are handled here.
Definition: scripterprefsgui.cpp:85
Subclass of PrefsPanel that's supplied to the prefs dialog for use when showing plugin preferences...
Definition: scripterprefsgui.h:17