BibleTime
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-2021 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 
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 };
QVBoxLayout * m_verticalLayout
QRadioButton * m_removeRadioButton
QRadioButton * m_installRadioButton
BtBookshelfTaskPage(QWidget *parent=nullptr)
QRadioButton * m_updateRadioButton
WizardTaskType taskType() const
int nextId() const final override