BibleTime
src
frontend
bookshelfwizard
btbookshelftaskpage.h
Go to the documentation of this file.
1
/*********
2
*
3
* In the name of the Father, and of the Son, and of the Holy Spirit.
4
*
5
* This file is part of BibleTime's source code, https://bibletime.info/
6
*
7
* Copyright 1999-2025 by the BibleTime developers.
8
* The BibleTime source code is licensed under the GNU General Public License
9
* version 2.0.
10
*
11
**********/
12
13
#pragma once
14
15
#include "
btbookshelfwizardpage.h
"
16
17
#include <QObject>
18
#include <QString>
19
#include "
btbookshelfwizardenums.h
"
20
21
22
class
QGroupBox;
23
class
QLabel;
24
class
QRadioButton;
25
class
QVBoxLayout;
26
class
QWidget
;
27
28
class
BtBookshelfTaskPage
final:
public
BtBookshelfWizardPage
{
29
30
Q_OBJECT
31
32
public
:
// methods:
33
34
BtBookshelfTaskPage
(
QWidget
* parent =
nullptr
);
35
36
int
nextId
()
const
final
override
;
37
WizardTaskType
taskType
()
const
;
38
39
private
:
// methods:
40
41
bool
timeToUpdate
()
const
;
42
void
retranslateUi
();
43
44
private
:
// fields:
45
46
QLabel *
m_warningLabel
;
47
QGroupBox *
m_groupBox
;
48
QVBoxLayout *
m_verticalLayout
;
49
QRadioButton *
m_installRadioButton
;
50
QRadioButton *
m_updateRadioButton
;
51
QRadioButton *
m_removeRadioButton
;
52
53
};
btbookshelfwizardenums.h
WizardTaskType
WizardTaskType
Definition
btbookshelfwizardenums.h:27
btbookshelfwizardpage.h
BtBookshelfTaskPage
Definition
btbookshelftaskpage.h:28
BtBookshelfTaskPage::m_verticalLayout
QVBoxLayout * m_verticalLayout
Definition
btbookshelftaskpage.h:48
BtBookshelfTaskPage::timeToUpdate
bool timeToUpdate() const
Definition
btbookshelftaskpage.cpp:100
BtBookshelfTaskPage::m_removeRadioButton
QRadioButton * m_removeRadioButton
Definition
btbookshelftaskpage.h:51
BtBookshelfTaskPage::m_installRadioButton
QRadioButton * m_installRadioButton
Definition
btbookshelftaskpage.h:49
BtBookshelfTaskPage::m_warningLabel
QLabel * m_warningLabel
Definition
btbookshelftaskpage.h:46
BtBookshelfTaskPage::retranslateUi
void retranslateUi()
Definition
btbookshelftaskpage.cpp:74
BtBookshelfTaskPage::m_groupBox
QGroupBox * m_groupBox
Definition
btbookshelftaskpage.h:47
BtBookshelfTaskPage::m_updateRadioButton
QRadioButton * m_updateRadioButton
Definition
btbookshelftaskpage.h:50
BtBookshelfTaskPage::taskType
WizardTaskType taskType() const
Definition
btbookshelftaskpage.cpp:123
BtBookshelfTaskPage::nextId
int nextId() const final override
Definition
btbookshelftaskpage.cpp:107
BtBookshelfWizardPage
Definition
btbookshelfwizardpage.h:24
QWidget
Generated by
1.9.8