swift
Loading...
Searching...
No Matches
updateinfodialog.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (C) 2017 swift Project Community / Contributors
2// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3
5
6#ifndef SWIFT_GUI_COMPONENTS_UPDATEINFODIALOG_H
7#define SWIFT_GUI_COMPONENTS_UPDATEINFODIALOG_H
8
9#include <QDialog>
10
12#include "gui/swiftguiexport.h"
13
14namespace Ui
15{
16 class CUpdateInfoDialog;
17}
19{
24 {
26
27 public:
29 explicit CUpdateInfoDialog(QWidget *parent = nullptr);
30
33
35 bool isNewVersionAvailable() const;
36
38 int exec() override;
39
40 private:
43
45 void onDontShowAgain(bool dontShowAgain);
46
48 void selectionChanged();
49 };
50} // namespace swift::gui::components
51
52#endif // SWIFT_GUI_COMPONENTS_UPDATEINFODIALOG_H
CUpdateInfoDialog(QWidget *parent=nullptr)
Constructor.
bool isNewVersionAvailable() const
A new version existing?
Class template for accessing a specific value in the CSettingsCache.
High level reusable GUI components.
QDialog(QWidget *parent, Qt::WindowFlags f)
Q_OBJECTQ_OBJECT
QObject * parent() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
#define SWIFT_GUI_EXPORT
Export a class or function from the library.