GNU Octave
4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
welcome-wizard.h
Go to the documentation of this file.
1
/*
2
3
Copyright (C) 2013-2018 John W. Eaton
4
Copyright (C) 2011-2018 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
10
the Free Software Foundation, either version 3 of the License, or
11
(at your option) any later version.
12
13
Octave is distributed in the hope that it will be useful, but
14
WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
GNU General Public License 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
<https://www.gnu.org/licenses/>.
21
22
*/
23
24
#if ! defined (octave_welcome_wizard_h)
25
#define octave_welcome_wizard_h 1
26
27
#include <QDialog>
28
#include <QCheckBox>
29
#include <QLabel>
30
31
namespace
octave
32
{
33
class
welcome_wizard
:
public
QDialog
34
{
35
Q_OBJECT
36
37
public
:
38
39
typedef
QWidget
*(*page_creator_fptr) (
welcome_wizard
*wizard);
40
41
welcome_wizard
(
QWidget
*parent =
nullptr
);
42
43
~welcome_wizard
(
void
) =
default
;
44
45
private
:
46
47
QList<page_creator_fptr>
m_page_ctor_list
;
48
QList<page_creator_fptr>::iterator
m_page_list_iterator
;
49
QWidget
*
m_current_page
;
50
bool
m_allow_web_connect_state
;
51
52
private
slots:
53
54
void
handle_web_connect_option
(
int
state
);
55
56
void
show_page
(
void
);
57
void
previous_page
(
void
);
58
void
next_page
(
void
);
59
60
void
accept
(
void
);
61
};
62
63
64
class
initial_page
:
public
QWidget
65
{
66
Q_OBJECT
67
68
public
:
69
70
initial_page
(
welcome_wizard
*wizard);
71
72
~initial_page
(
void
) =
default
;
73
74
static
QWidget
*
75
create
(
welcome_wizard
*wizard) {
return
new
initial_page
(wizard); }
76
77
private
:
78
79
QLabel *
m_title
;
80
QLabel *
m_message
;
81
QLabel *
m_logo
;
82
QPushButton
*
m_next
;
83
QPushButton
*
m_cancel
;
84
};
85
86
87
class
setup_community_news
:
public
QWidget
88
{
89
Q_OBJECT
90
91
public
:
92
93
setup_community_news
(
welcome_wizard
*wizard);
94
95
~setup_community_news
(
void
) =
default
;
96
97
static
QWidget
*
98
create
(
welcome_wizard
*wizard) {
return
new
setup_community_news
(wizard); }
99
100
private
:
101
102
QLabel *
m_title
;
103
QLabel *
m_message
;
104
QCheckBox *
m_checkbox
;
105
QLabel *
m_checkbox_message
;
106
QLabel *
m_logo
;
107
QPushButton
*
m_previous
;
108
QPushButton
*
m_next
;
109
QPushButton
*
m_cancel
;
110
};
111
112
113
class
final_page
:
public
QWidget
114
{
115
Q_OBJECT
116
117
public
:
118
119
final_page
(
welcome_wizard
*wizard);
120
121
~final_page
(
void
) =
default
;
122
123
static
QWidget
*
124
create
(
welcome_wizard
*wizard) {
return
new
final_page
(wizard); }
125
126
private
:
127
128
QLabel *
m_title
;
129
QLabel *
m_message
;
130
QLabel *
m_logo
;
131
QLabel *
m_links
;
132
QPushButton
*
m_previous
;
133
QPushButton
*
m_finish
;
134
QPushButton
*
m_cancel
;
135
};
136
}
137
138
#endif
octave::initial_page::~initial_page
~initial_page(void)=default
octave::setup_community_news::m_checkbox
QCheckBox * m_checkbox
Definition:
welcome-wizard.h:104
octave::setup_community_news::create
static QWidget * create(welcome_wizard *wizard)
Definition:
welcome-wizard.h:98
octave::initial_page::create
static QWidget * create(welcome_wizard *wizard)
Definition:
welcome-wizard.h:75
octave
Definition:
aepbalance.cc:44
octave::welcome_wizard::next_page
void next_page(void)
Definition:
welcome-wizard.cc:102
octave::welcome_wizard::m_current_page
QWidget * m_current_page
Definition:
welcome-wizard.h:49
QDialog
octave::setup_community_news::m_previous
QPushButton * m_previous
Definition:
welcome-wizard.h:107
octave::welcome_wizard::welcome_wizard
welcome_wizard(QWidget *parent=nullptr)
Definition:
welcome-wizard.cc:52
QWidget
octave::initial_page::m_logo
QLabel * m_logo
Definition:
welcome-wizard.h:81
QPushButton
octave::setup_community_news::m_next
QPushButton * m_next
Definition:
welcome-wizard.h:108
octave::welcome_wizard::show_page
void show_page(void)
Definition:
welcome-wizard.cc:82
octave::final_page::m_previous
QPushButton * m_previous
Definition:
welcome-wizard.h:132
octave::final_page::m_links
QLabel * m_links
Definition:
welcome-wizard.h:131
octave::final_page::~final_page
~final_page(void)=default
octave::final_page::m_finish
QPushButton * m_finish
Definition:
welcome-wizard.h:133
octave::welcome_wizard::~welcome_wizard
~welcome_wizard(void)=default
octave::setup_community_news::m_checkbox_message
QLabel * m_checkbox_message
Definition:
welcome-wizard.h:105
octave::initial_page::m_next
QPushButton * m_next
Definition:
welcome-wizard.h:82
octave::welcome_wizard::m_page_list_iterator
QList< page_creator_fptr >::iterator m_page_list_iterator
Definition:
welcome-wizard.h:48
octave::initial_page::initial_page
initial_page(welcome_wizard *wizard)
Definition:
welcome-wizard.cc:128
octave::initial_page::m_message
QLabel * m_message
Definition:
welcome-wizard.h:80
octave::final_page::m_cancel
QPushButton * m_cancel
Definition:
welcome-wizard.h:134
octave::final_page::m_logo
QLabel * m_logo
Definition:
welcome-wizard.h:130
octave::initial_page::m_cancel
QPushButton * m_cancel
Definition:
welcome-wizard.h:83
octave::welcome_wizard::m_page_ctor_list
QList< page_creator_fptr > m_page_ctor_list
Definition:
welcome-wizard.h:47
octave::welcome_wizard
Definition:
welcome-wizard.h:33
octave::welcome_wizard::accept
void accept(void)
Definition:
welcome-wizard.cc:109
octave::setup_community_news::m_logo
QLabel * m_logo
Definition:
welcome-wizard.h:106
octave::setup_community_news
Definition:
welcome-wizard.h:87
octave::final_page::m_message
QLabel * m_message
Definition:
welcome-wizard.h:129
state
static uint32_t state[624]
Definition:
randmtzig.cc:183
octave::initial_page
Definition:
welcome-wizard.h:64
octave::setup_community_news::setup_community_news
setup_community_news(welcome_wizard *wizard)
Definition:
welcome-wizard.cc:181
octave::final_page::create
static QWidget * create(welcome_wizard *wizard)
Definition:
welcome-wizard.h:124
octave::setup_community_news::m_title
QLabel * m_title
Definition:
welcome-wizard.h:102
octave::final_page::m_title
QLabel * m_title
Definition:
welcome-wizard.h:128
octave::final_page::final_page
final_page(welcome_wizard *wizard)
Definition:
welcome-wizard.cc:272
octave::welcome_wizard::handle_web_connect_option
void handle_web_connect_option(int state)
Definition:
welcome-wizard.cc:77
octave::setup_community_news::m_message
QLabel * m_message
Definition:
welcome-wizard.h:103
octave::welcome_wizard::m_allow_web_connect_state
bool m_allow_web_connect_state
Definition:
welcome-wizard.h:50
octave::setup_community_news::~setup_community_news
~setup_community_news(void)=default
octave::setup_community_news::m_cancel
QPushButton * m_cancel
Definition:
welcome-wizard.h:109
octave::welcome_wizard::previous_page
void previous_page(void)
Definition:
welcome-wizard.cc:95
octave::initial_page::m_title
QLabel * m_title
Definition:
welcome-wizard.h:79
octave::final_page
Definition:
welcome-wizard.h:113
QList
libgui
src
welcome-wizard.h
Generated on Sat Sep 1 2018 14:01:38 for GNU Octave by
1.8.14