@@ -7,17 +7,17 | |||||
7 | #include <QList> |
|
7 | #include <QList> | |
8 | #include <QTimer> |
|
8 | #include <QTimer> | |
9 | #include "registerwidget.h" |
|
9 | #include "registerwidget.h" | |
10 |
#if defined( |
|
10 | #if defined(SOCEXPLORER_SDK_BUILD) | |
11 |
# define |
|
11 | # define SOCEXPLORER_SDK_EXPORT Q_DECL_EXPORT | |
12 | #else |
|
12 | #else | |
13 |
# define |
|
13 | # define SOCEXPLORER_SDK_EXPORT Q_DECL_IMPORT | |
14 | #endif |
|
14 | #endif | |
15 |
|
15 | |||
16 | /* |
|
16 | /* | |
17 | * TODO ADD an outdated marker |
|
17 | * TODO ADD an outdated marker | |
18 | * Show outdated registers with a different color for example |
|
18 | * Show outdated registers with a different color for example | |
19 | */ |
|
19 | */ | |
20 |
class |
|
20 | class SOCEXPLORER_SDK_EXPORT peripheralWidget : public QWidget | |
21 | { |
|
21 | { | |
22 | Q_OBJECT |
|
22 | Q_OBJECT | |
23 | public: |
|
23 | public: |
@@ -3,13 +3,13 | |||||
3 | #include <QtWidgets> |
|
3 | #include <QtWidgets> | |
4 | #include <QWidget> |
|
4 | #include <QWidget> | |
5 | #include <QTimer> |
|
5 | #include <QTimer> | |
6 |
#if defined( |
|
6 | #if defined(SOCEXPLORER_SDK_BUILD) | |
7 |
# define |
|
7 | # define SOCEXPLORER_SDK_EXPORT Q_DECL_EXPORT | |
8 | #else |
|
8 | #else | |
9 |
# define |
|
9 | # define SOCEXPLORER_SDK_EXPORT Q_DECL_IMPORT | |
10 | #endif |
|
10 | #endif | |
11 |
|
11 | |||
12 |
class |
|
12 | class SOCEXPLORER_SDK_EXPORT regWidgetElement | |
13 | { |
|
13 | { | |
14 | public: |
|
14 | public: | |
15 | regWidgetElement(const QString& value,QFont font,int xMargin,int yMargin) |
|
15 | regWidgetElement(const QString& value,QFont font,int xMargin,int yMargin) | |
@@ -57,7 +57,7 protected: | |||||
57 | int p_yMargins; |
|
57 | int p_yMargins; | |
58 | }; |
|
58 | }; | |
59 |
|
59 | |||
60 |
class |
|
60 | class SOCEXPLORER_SDK_EXPORT bitfieldsElement: public regWidgetElement | |
61 | { |
|
61 | { | |
62 | class bitFieldAttribute |
|
62 | class bitFieldAttribute | |
63 | { |
|
63 | { | |
@@ -182,7 +182,7 private: | |||||
182 | }; |
|
182 | }; | |
183 |
|
183 | |||
184 |
|
184 | |||
185 |
class |
|
185 | class SOCEXPLORER_SDK_EXPORT registerWidget : public QObject | |
186 | { |
|
186 | { | |
187 | Q_OBJECT |
|
187 | Q_OBJECT | |
188 | public: |
|
188 | public: |
@@ -5,13 +5,13 | |||||
5 | #include <QtWidgets> |
|
5 | #include <QtWidgets> | |
6 | #include "peripheralwidget.h" |
|
6 | #include "peripheralwidget.h" | |
7 |
|
7 | |||
8 |
#if defined( |
|
8 | #if defined(SOCEXPLORER_SDK_BUILD) | |
9 |
# define |
|
9 | # define SOCEXPLORER_SDK_EXPORT Q_DECL_EXPORT | |
10 | #else |
|
10 | #else | |
11 |
# define |
|
11 | # define SOCEXPLORER_SDK_EXPORT Q_DECL_IMPORT | |
12 | #endif |
|
12 | #endif | |
13 |
|
13 | |||
14 |
class |
|
14 | class SOCEXPLORER_SDK_EXPORT socRegsViewer : public QScrollArea | |
15 | { |
|
15 | { | |
16 | Q_OBJECT |
|
16 | Q_OBJECT | |
17 | public: |
|
17 | public: |
General Comments 0
You need to be logged in to leave comments.
Login now