summaryrefslogtreecommitdiffstats
path: root/kbarcode/confwizard.h
blob: 736a96a1aa677736f7dd241d484901dda8190499 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
/***************************************************************************
                          confwizard.h  -  description
                             -------------------
    begin                : Son Jun 16 2002
    copyright            : (C) 2002 by Dominik Seichter
    email                : domseichter@web.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef CONFWIZARD_H
#define CONFWIZARD_H

#include <kwizard.h>

class TQButtonGroup;
class TQCheckBox;
class TQVBoxLayout;
class TQHBoxLayout; 
class TQGridLayout;
class TQRadioButton;
class KComboBox;
class KLineEdit;
class KPushButton;
class KURLLabel;
class TQLabel;
class TQWidget;
class SqlWidget;
/** KBarcodes configuration wizard.
  */
class ConfWizard : public KWizard
{ 
    Q_OBJECT
  

    public:
        ConfWizard( TQWidget* parent = 0, const char* name = 0, bool modal = true );
        ~ConfWizard();

        void showPage( TQWidget* page );

        // used in dsmainwindow.cpp
        // not a clean API, but I am lazy :-(
        TQCheckBox* checkDatabase;

    private slots:
        void testSettings( bool b );
        void create();
        void example();
        void useDatabase();

    protected slots:
        void accept();
        
    private:
        void setupPage1();
        void setupPage0();
        void setupPage2();
        void setupPage3();

        SqlWidget* sqlwidget;
        
        TQWidget* page;
        TQLabel* logo;
        TQLabel* TextLabel2_2;
        KURLLabel* KURLLabel1;
        TQWidget* page_2;
        TQLabel* TextLabel1;
        TQLabel* TextLabel2;
        TQLabel* TextLabel3;
        TQLabel* TextLabel4;
        TQLabel* TextLabel5;
        TQLabel* TextLabel6;
        KPushButton* buttonTest;
        TQWidget* page_3;
        TQLabel* TextLabel1_2;
        KPushButton* buttonCreate;
        KPushButton* buttonExample;
        TQButtonGroup* groupDatabase;

    protected:
        TQVBoxLayout* pageLayout;
        TQHBoxLayout* Layout8;
        TQVBoxLayout* Layout7;
        TQVBoxLayout* pageLayout_2;
        TQVBoxLayout* pageLayout_4;
        TQHBoxLayout* Layout5;
        TQVBoxLayout* Layout3;
        TQVBoxLayout* Layout4;
        TQVBoxLayout* Layout6;
        TQVBoxLayout* pageLayout_3;
        TQVBoxLayout* Layout5_2;
};

#endif // CONFWIZARD_H