mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
factory idea for wasm
cleanup remove unused defines
This commit is contained in:
@@ -2,17 +2,11 @@
|
||||
#include <QRadioButton>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
#ifdef INTERNAL
|
||||
#define EXPORT Q_DECL_EXPORT
|
||||
#else
|
||||
#define EXPORT Q_DECL_IMPORT
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Class representing a better radiobutton group
|
||||
*
|
||||
*/
|
||||
class EXPORT Better_Radiobutton : public QWidget
|
||||
class Better_Radiobutton : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -2,12 +2,6 @@
|
||||
#include "hex_spinbox.hpp"
|
||||
#include <QWidget>
|
||||
|
||||
#ifdef INTERNAL
|
||||
#define EXPORT Q_DECL_EXPORT
|
||||
#else
|
||||
#define EXPORT Q_DECL_IMPORT
|
||||
#endif
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class Can_Transceive;
|
||||
@@ -17,7 +11,7 @@ class Can_Transceive;
|
||||
* @brief Class representing a CAN transceive UI component
|
||||
*
|
||||
*/
|
||||
class EXPORT Can_Transceive : public QWidget
|
||||
class Can_Transceive : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
@@ -3,19 +3,13 @@
|
||||
#include <QRegularExpressionValidator>
|
||||
#include <QSpinBox>
|
||||
|
||||
#ifdef INTERNAL
|
||||
#define EXPORT Q_DECL_EXPORT
|
||||
#else
|
||||
#define EXPORT Q_DECL_IMPORT
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Class representing a hexadecimal spin box
|
||||
* @note Since QSpinBox uses int as the storage type, the effective editing range
|
||||
* is +/- 0x7FFF FFFF, so it can't handle a full unsigned int.
|
||||
* QDoubleSpinBox would be a more suitable base class if a wider range is needed.
|
||||
*/
|
||||
class EXPORT HexSpinBox : public QSpinBox
|
||||
class HexSpinBox : public QSpinBox
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
+1
-7
@@ -1,17 +1,11 @@
|
||||
#pragma once
|
||||
#include "QPushButton"
|
||||
|
||||
#ifdef INTERNAL
|
||||
#define EXPORT Q_DECL_EXPORT
|
||||
#else
|
||||
#define EXPORT Q_DECL_IMPORT
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Class representing an LED widget
|
||||
*
|
||||
*/
|
||||
class EXPORT Led : public QPushButton
|
||||
class Led : public QPushButton
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -4,17 +4,11 @@
|
||||
#include <qwt_plot_curve.h>
|
||||
#include <qwt_text.h>
|
||||
|
||||
#ifdef INTERNAL
|
||||
#define EXPORT Q_DECL_EXPORT
|
||||
#else
|
||||
#define EXPORT Q_DECL_IMPORT
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Class wrapping a QwtPlot for plotting data
|
||||
*
|
||||
*/
|
||||
class EXPORT Plot_wrapper : public QwtPlot
|
||||
class Plot_wrapper : public QwtPlot
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user