GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
libgui
src
welcome-wizard.h
Go to the documentation of this file.
1
/*
2
3
Copyright (C) 2013-2015 John W. Eaton
4
Copyright (C) 2011-2015 Jacob Dawid
5
6
This file is part of Octave.
7
8
Octave is free software; you can redistribute it and/or modify it
9
under the terms of the GNU General Public License as published by the
10
Free Software Foundation; either version 3 of the License, or (at your
11
option) any later version.
12
13
Octave is distributed in the hope that it will be useful, but WITHOUT
14
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16
for more details.
17
18
You should have received a copy of the GNU General Public License
19
along with Octave; see the file COPYING. If not, see
20
<http://www.gnu.org/licenses/>.
21
22
*/
23
24
#ifndef WELCOMEWIZARD_H
25
#define WELCOMEWIZARD_H
26
27
#include <QDialog>
28
#include <QCheckBox>
29
#include <QLabel>
30
31
class
welcome_wizard
:
public
QDialog
32
{
33
Q_OBJECT
34
35
public
:
36
37
typedef
QWidget
*(*page_creator_fptr) (
welcome_wizard
*wizard);
38
39
welcome_wizard
(
QWidget
*parent = 0);
40
41
~welcome_wizard
(
void
) { }
42
43
private
:
44
45
QList<page_creator_fptr>
page_ctor_list
;
46
QList<page_creator_fptr>::iterator
page_list_iterator
;
47
QWidget
*
current_page
;
48
bool
allow_web_connect_state
;
49
50
private
slots:
51
52
void
handle_web_connect_option
(
int
state
);
53
54
void
show_page
(
void
);
55
void
previous_page
(
void
);
56
void
next_page
(
void
);
57
58
void
accept
(
void
);
59
};
60
61
62
class
initial_page
:
public
QWidget
63
{
64
Q_OBJECT
65
66
public
:
67
68
initial_page
(
welcome_wizard
*wizard);
69
70
~initial_page
(
void
) { }
71
72
static
QWidget
*
73
create
(
welcome_wizard
*wizard) {
return
new
initial_page
(wizard); }
74
75
private
:
76
77
QLabel *
title
;
78
QLabel *
message
;
79
QLabel *
logo
;
80
QPushButton
*
next
;
81
QPushButton
*
cancel
;
82
};
83
84
85
class
setup_community_news
:
public
QWidget
86
{
87
Q_OBJECT
88
89
public
:
90
91
setup_community_news
(
welcome_wizard
*wizard);
92
93
~setup_community_news
(
void
) { }
94
95
static
QWidget
*
96
create
(
welcome_wizard
*wizard) {
return
new
setup_community_news
(wizard); }
97
98
private
:
99
100
QLabel *
title
;
101
QLabel *
message
;
102
QCheckBox *
checkbox
;
103
QLabel *
checkbox_message
;
104
QLabel *
logo
;
105
QPushButton
*
previous
;
106
QPushButton
*
next
;
107
QPushButton
*
cancel
;
108
};
109
110
111
class
final_page
:
public
QWidget
112
{
113
Q_OBJECT
114
115
public
:
116
117
final_page
(
welcome_wizard
*wizard);
118
119
~final_page
(
void
) { }
120
121
static
QWidget
*
122
create
(
welcome_wizard
*wizard) {
return
new
final_page
(wizard); }
123
124
private
:
125
126
QLabel *
title
;
127
QLabel *
message
;
128
QLabel *
logo
;
129
QLabel *
links
;
130
QPushButton
*
previous
;
131
QPushButton
*
finish
;
132
QPushButton
*
cancel
;
133
};
134
135
#endif // WELCOMEWIZARD_H
welcome_wizard::next_page
void next_page(void)
Definition:
welcome-wizard.cc:327
welcome_wizard::page_ctor_list
QList< page_creator_fptr > page_ctor_list
Definition:
welcome-wizard.h:45
setup_community_news::cancel
QPushButton * cancel
Definition:
welcome-wizard.h:107
QDialog
state
static uint32_t state[624]
Definition:
randmtzig.c:188
setup_community_news::~setup_community_news
~setup_community_news(void)
Definition:
welcome-wizard.h:93
final_page
Definition:
welcome-wizard.h:111
setup_community_news::next
QPushButton * next
Definition:
welcome-wizard.h:106
QWidget
setup_community_news::checkbox_message
QLabel * checkbox_message
Definition:
welcome-wizard.h:103
welcome_wizard::current_page
QWidget * current_page
Definition:
welcome-wizard.h:47
QPushButton
setup_community_news::message
QLabel * message
Definition:
welcome-wizard.h:101
setup_community_news::checkbox
QCheckBox * checkbox
Definition:
welcome-wizard.h:102
final_page::final_page
final_page(welcome_wizard *wizard)
Definition:
welcome-wizard.cc:197
setup_community_news::title
QLabel * title
Definition:
welcome-wizard.h:100
final_page::~final_page
~final_page(void)
Definition:
welcome-wizard.h:119
welcome_wizard
Definition:
welcome-wizard.h:31
final_page::finish
QPushButton * finish
Definition:
welcome-wizard.h:131
initial_page::title
QLabel * title
Definition:
welcome-wizard.h:77
welcome_wizard::previous_page
void previous_page(void)
Definition:
welcome-wizard.cc:319
initial_page
Definition:
welcome-wizard.h:62
setup_community_news::create
static QWidget * create(welcome_wizard *wizard)
Definition:
welcome-wizard.h:96
welcome_wizard::welcome_wizard
welcome_wizard(QWidget *parent=0)
Definition:
welcome-wizard.cc:273
final_page::title
QLabel * title
Definition:
welcome-wizard.h:126
initial_page::next
QPushButton * next
Definition:
welcome-wizard.h:80
welcome_wizard::page_list_iterator
QList< page_creator_fptr >::iterator page_list_iterator
Definition:
welcome-wizard.h:46
initial_page::~initial_page
~initial_page(void)
Definition:
welcome-wizard.h:70
initial_page::initial_page
initial_page(welcome_wizard *wizard)
Definition:
welcome-wizard.cc:52
setup_community_news::previous
QPushButton * previous
Definition:
welcome-wizard.h:105
initial_page::message
QLabel * message
Definition:
welcome-wizard.h:78
welcome_wizard::handle_web_connect_option
void handle_web_connect_option(int state)
Definition:
welcome-wizard.cc:299
welcome_wizard::~welcome_wizard
~welcome_wizard(void)
Definition:
welcome-wizard.h:41
initial_page::logo
QLabel * logo
Definition:
welcome-wizard.h:79
welcome_wizard::show_page
void show_page(void)
Definition:
welcome-wizard.cc:305
final_page::previous
QPushButton * previous
Definition:
welcome-wizard.h:130
welcome_wizard::allow_web_connect_state
bool allow_web_connect_state
Definition:
welcome-wizard.h:48
final_page::create
static QWidget * create(welcome_wizard *wizard)
Definition:
welcome-wizard.h:122
initial_page::cancel
QPushButton * cancel
Definition:
welcome-wizard.h:81
final_page::cancel
QPushButton * cancel
Definition:
welcome-wizard.h:132
setup_community_news
Definition:
welcome-wizard.h:85
final_page::links
QLabel * links
Definition:
welcome-wizard.h:129
welcome_wizard::accept
void accept(void)
Definition:
welcome-wizard.cc:335
final_page::message
QLabel * message
Definition:
welcome-wizard.h:127
final_page::logo
QLabel * logo
Definition:
welcome-wizard.h:128
setup_community_news::setup_community_news
setup_community_news(welcome_wizard *wizard)
Definition:
welcome-wizard.cc:107
initial_page::create
static QWidget * create(welcome_wizard *wizard)
Definition:
welcome-wizard.h:73
QList
setup_community_news::logo
QLabel * logo
Definition:
welcome-wizard.h:104
Generated on Thu Jun 4 2015 23:30:12 for GNU Octave by
1.8.8