Scribus
Open source desktop publishing at your fingertips
swdialog.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 /* This is the Scribus Short Words GUI class specification.
8 
9 This code is based on the Scribus-Vlna plug in rewritten for
10 international use.
11 
12 2004 Petr Vanek <petr@yarpen.cz>
13 
14 This program is free software - see LICENSE file in the distribution
15 or documentation
16 */
17 
18 #ifndef _SHORTWORDSDIALOG_H
19 #define _SHORTWORDSDIALOG_H
20 
21 // #include <QDialog>
22 #include "ui_swdialog.h"
23 
24 // class QVBoxLayout;
25 // class QHBoxLayout;
26 // class QGridLayout;
27 // class QGroupBox;
28 // class QRadioButton;
29 // class QPushButton;
30 // class QLabel;
31 
32 class SWConfig;
33 
38 class SWDialog : public QDialog, public Ui::SWDialog
39 {
40  Q_OBJECT
41 
42  public:
43  SWDialog(QWidget* parent = 0);
44  ~SWDialog();
45 
46  int actionSelected();
47  bool useStyleLang();
48  QString lang();
49 
50  protected slots:
51  virtual void languageChange();
52 
53  private:
55  SWConfig *cfg;
56 
58  void selectAction(int aAction);
59 
60  void savePrefs();
61 
62  private slots:
64  virtual void okButton_pressed();
66  virtual void cancelButton_pressed();
67 };
68 
69 #endif // SWDialog_H
GUI dialog for user to make decision. Generated from Qt designer UI file. Later changes by my hands :...
Definition: swdialog.h:38
This is the Scribus Short Words configuratin specification. Methods of this class read config files a...
Definition: configuration.h:25