blob: c1bfc207a9d42da66b2de25756f3c02ce618ba2c (
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
|
/***************************************************************************
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 QButtonGroup;
class QCheckBox;
class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QRadioButton;
class KComboBox;
class KLineEdit;
class KPushButton;
class KURLLabel;
class QLabel;
class QWidget;
class SqlWidget;
/** KBarcodes configuration wizard.
*/
class ConfWizard : public KWizard
{
Q_OBJECT
public:
ConfWizard( QWidget* parent = 0, const char* name = 0, bool modal = true );
~ConfWizard();
void showPage( QWidget* page );
// used in dsmainwindow.cpp
// not a clean API, but I am lazy :-(
QCheckBox* 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;
QWidget* page;
QLabel* logo;
QLabel* TextLabel2_2;
KURLLabel* KURLLabel1;
QWidget* page_2;
QLabel* TextLabel1;
QLabel* TextLabel2;
QLabel* TextLabel3;
QLabel* TextLabel4;
QLabel* TextLabel5;
QLabel* TextLabel6;
KPushButton* buttonTest;
QWidget* page_3;
QLabel* TextLabel1_2;
KPushButton* buttonCreate;
KPushButton* buttonExample;
QButtonGroup* groupDatabase;
protected:
QVBoxLayout* pageLayout;
QHBoxLayout* Layout8;
QVBoxLayout* Layout7;
QVBoxLayout* pageLayout_2;
QVBoxLayout* pageLayout_4;
QHBoxLayout* Layout5;
QVBoxLayout* Layout3;
QVBoxLayout* Layout4;
QVBoxLayout* Layout6;
QVBoxLayout* pageLayout_3;
QVBoxLayout* Layout5_2;
};
#endif // CONFWIZARD_H
|