swift
registercomponent.h
1 // SPDX-FileCopyrightText: Copyright (C) 2015 swift Project Community / Contributors
2 // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3 
4 #ifndef SWIFT_GUI_COMPONENTS_REGISTERCOMPONENT_H
5 #define SWIFT_GUI_COMPONENTS_REGISTERCOMPONENT_H
6 
7 #include <QFrame>
8 #include <QObject>
9 #include <QScopedPointer>
10 #include <QTimer>
11 
12 #include "gui/swiftguiexport.h"
13 
14 namespace Ui
15 {
16  class CRegisterComponent;
17 }
18 namespace swift::gui::components
19 {
22  class SWIFT_GUI_EXPORT CRegisterComponent : public QFrame
23  {
24  Q_OBJECT
25 
26  public:
28  explicit CRegisterComponent(QWidget *parent = nullptr);
29 
31  virtual ~CRegisterComponent();
32 
33  private:
34  QScopedPointer<Ui::CRegisterComponent> ui;
35  QTimer m_updateTimer;
36 
38  void update();
39  };
40 } // namespace swift::gui::components
41 
42 #endif // SWIFT_GUI_COMPONENTS_REGISTERCOMPONENT_H
Show registered applications (registered with core) in the GUI.
High level reusable GUI components.
Definition: aboutdialog.cpp:13
#define SWIFT_GUI_EXPORT
Export a class or function from the library.