Back to index

scribus-ng  1.3.4.dfsg+svn20071115
hysettings.h
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 #ifndef HYSETTINGS_H
00008 #define HYSETTINGS_H
00009 
00010 #include <qwidget.h>
00011 #include <qcombobox.h>
00012 #include <qlabel.h>
00013 #include <qspinbox.h>
00014 #include <qcheckbox.h>
00015 #include <qlayout.h>
00016 #include <qtooltip.h>
00017 
00018 #include "scribusapi.h"
00019 #include "prefsstructs.h"
00020 class ScribusDoc;
00021 
00022 class SCRIBUS_API HySettings : public QWidget
00023 { 
00024        Q_OBJECT
00025 
00026 public:
00027        HySettings( QWidget* parent, QMap<QString,QString>* langs);
00028        ~HySettings() {};
00029        void restoreDefaults(struct ApplicationPrefs *prefsData);
00030        void restoreDefaults(ScribusDoc *prefsData);
00031 
00032        QCheckBox* verbose;
00033        QCheckBox* input;
00034        QComboBox* language;
00035        QLabel* text1;
00036        QLabel* text2;
00037        QLabel* text3;
00038        QSpinBox* wordLen;
00039        QSpinBox* maxCount;
00040 
00041 protected:
00042        QMap<QString,QString> langsMap;
00043        QGridLayout* layout3;
00044 };
00045 
00046 #endif // HYSETTINGS_H