Scribus
Open source desktop publishing at your fingertips
prefs_externaltools.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_EXTERNALTOOLS_H
9 #define PREFS_EXTERNALTOOLS_H
10 
11 #include "ui_prefs_externaltoolsbase.h"
12 #include "prefs_pane.h"
13 #include "scribusapi.h"
14 #include "scribusstructs.h"
15 
16 class SCRIBUS_API Prefs_ExternalTools : public Prefs_Pane, Ui::Prefs_ExternalTools
17 {
18  Q_OBJECT
19 
20  public:
21  Prefs_ExternalTools(QWidget* parent, ScribusDoc* doc=NULL);
22  ~Prefs_ExternalTools();
23  virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
24  virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
25 
26  public slots:
27  void languageChange();
28 
29  protected:
30  void insertConfigItem(QString config, int row = -1);
31  void setConfigItemText(QListWidgetItem *item);
32  QMap<QString, QString> commands;
33 
34  protected slots:
35  void changePostScriptTool();
36  void changeImageTool();
37  void changeWebBrowser();
38  void changePDFViewer();
39  void changeUniconvertor();
40  void changeLatexEditor();
41  void rescanForTools();
42  void upButtonPressed();
43  void downButtonPressed();
44  void addConfig();
45  void deleteConfig();
46  void changeLatexPath();
47 
48 };
49 
50 #endif // PREFS_EXTERNALTOOLS_H
Definition: prefsstructs.h:453
the Document Class
Definition: scribusdoc.h:90
Definition: prefs_pane.h:14