swift
transpondercodespinbox.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2013 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_TRANSPONDERCODESPINBOX_H
7 #define SWIFT_GUI_COMPONENTS_TRANSPONDERCODESPINBOX_H
8 
9 #include <QObject>
10 #include <QSpinBox>
11 #include <QString>
12 
13 #include "gui/swiftguiexport.h"
14 
15 namespace swift::gui::components
16 {
18  class SWIFT_GUI_EXPORT CTransponderCodeSpinBox : public QSpinBox
19  {
20  Q_OBJECT
21  public:
23  explicit CTransponderCodeSpinBox(QWidget *parent = nullptr);
24 
26  virtual QString textFromValue(int value) const override;
27  };
28 } // namespace swift::gui::components
29 
30 #endif // SWIFT_GUI_COMPONENTS_TRANSPONDERCODESPINBOX_H
Specialized spin box for Transponder codes.
High level reusable GUI components.
Definition: aboutdialog.cpp:13
#define SWIFT_GUI_EXPORT
Export a class or function from the library.