mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
client
now works on windows
This commit is contained in:
@@ -2,11 +2,17 @@
|
||||
#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 Better_Radiobutton : public QWidget
|
||||
class EXPORT Better_Radiobutton : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -2,6 +2,12 @@
|
||||
#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;
|
||||
@@ -11,7 +17,7 @@ class Can_Transceive;
|
||||
* @brief Class representing a CAN transceive UI component
|
||||
*
|
||||
*/
|
||||
class Can_Transceive : public QWidget
|
||||
class EXPORT Can_Transceive : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
@@ -3,13 +3,19 @@
|
||||
#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 HexSpinBox : public QSpinBox
|
||||
class EXPORT HexSpinBox : public QSpinBox
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
+7
-1
@@ -1,11 +1,17 @@
|
||||
#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 Led : public QPushButton
|
||||
class EXPORT Led : public QPushButton
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -4,11 +4,17 @@
|
||||
#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 Plot_wrapper : public QwtPlot
|
||||
class EXPORT Plot_wrapper : public QwtPlot
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user