Subversion Repositories Scribus

Rev

Rev 2969 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4430 cbradney 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
*/
788 fschmid 7
#ifndef TABTYPOGRAPHY_H
8
#define TABTYPOGRAPHY_H
9
 
10
#include <qvariant.h>
11
#include <qwidget.h>
2969 craig 12
#include "scribusapi.h"
788 fschmid 13
class QGridLayout;
14
class QGroupBox;
15
class QLabel;
16
class MSpinBox;
17
class QSpinBox;
18
 
2969 craig 19
class SCRIBUS_API TabTypograpy : public QWidget
788 fschmid 20
{
21
        Q_OBJECT
22
 
23
public:
1195 fschmid 24
        TabTypograpy( QWidget* parent, struct typoPrefs *prefsData);
788 fschmid 25
        ~TabTypograpy() {};
1828 fschmid 26
        void restoreDefaults(struct typoPrefs *prefsData);
788 fschmid 27
 
28
        QGroupBox* groupBox1a;
29
        QLabel* textLabel1a;
30
        QLabel* textLabel2a;
31
        QSpinBox* subDisplacement;
32
        QSpinBox* subScaling;
33
        QGroupBox* groupBox2a;
34
        QLabel* textLabel3a;
35
        QLabel* textLabel4a;
36
        QSpinBox* superDisplacement;
37
        QSpinBox* superScaling;
38
        QGroupBox* groupBox3a;
39
        QLabel* textLabel5a;
40
        QSpinBox* capsScaling;
2174 fschmid 41
        QGroupBox* underlineGroup;
42
        QLabel* textLabel1;
2262 fschmid 43
        MSpinBox* underlinePos;
2174 fschmid 44
        QLabel* textLabel2;
2262 fschmid 45
        MSpinBox* underlineWidth;
2272 fschmid 46
        QGroupBox* strikethruGroup;
47
        QLabel* textLabel1_2;
48
        MSpinBox* strikethruPos;
49
        QLabel* textLabel2_2;
50
        MSpinBox* strikethruWidth;
1834 fschmid 51
        QGroupBox* groupBox4a;
52
        QLabel* textLabel8a;
53
        QSpinBox* autoLine;
788 fschmid 54
 
55
protected:
56
        QGridLayout* tabTypoLayout;
57
        QGridLayout* groupBox1aLayout;
58
        QGridLayout* groupBox2aLayout;
59
        QGridLayout* groupBox3aLayout;
1834 fschmid 60
        QGridLayout* groupBox4aLayout;
2174 fschmid 61
        QGridLayout* underlineGroupLayout;
2176 fschmid 62
    QGridLayout* strikethruGroupLayout;
788 fschmid 63
};
64
 
65
#endif