projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DecoderSelector: Implement filtering
[pulseview.git]
/
pv
/
widgets
/
wellarray.hpp
diff --git
a/pv/widgets/wellarray.hpp
b/pv/widgets/wellarray.hpp
index 8132eb0076c35fd69ea35154a456ead64cdb2566..4c67ca114d0f4ba236a4428bab30a7fcbdfa61bb 100644
(file)
--- a/
pv/widgets/wellarray.hpp
+++ b/
pv/widgets/wellarray.hpp
@@
-39,6
+39,9
@@
**
****************************************************************************/
**
****************************************************************************/
+#ifndef PULSEVIEW_PV_WIDGETS_WELLARRAY_HPP
+#define PULSEVIEW_PV_WIDGETS_WELLARRAY_HPP
+
#include <QWidget>
namespace pv {
#include <QWidget>
namespace pv {
@@
-49,11
+52,11
@@
struct WellArrayData;
class WellArray : public QWidget
{
Q_OBJECT
class WellArray : public QWidget
{
Q_OBJECT
- Q_PROPERTY(int selectedColumn READ selectedColumn)
- Q_PROPERTY(int selectedRow READ selectedRow)
+ Q_PROPERTY(int selectedColumn READ selectedColumn)
// clazy-exclude:qproperty-without-notify
+ Q_PROPERTY(int selectedRow READ selectedRow)
// clazy-exclude:qproperty-without-notify
public:
public:
- WellArray(int rows, int cols, QWidget* parent
=0
);
+ WellArray(int rows, int cols, QWidget* parent
= nullptr
);
QString cellContent(int row, int col) const;
int selectedColumn() const { return selCol; }
QString cellContent(int row, int col) const;
int selectedColumn() const { return selCol; }
@@
-119,7
+122,7
@@
protected:
void keyPressEvent(QKeyEvent*);
void focusInEvent(QFocusEvent*);
void focusOutEvent(QFocusEvent*);
void keyPressEvent(QKeyEvent*);
void focusInEvent(QFocusEvent*);
void focusOutEvent(QFocusEvent*);
- void paintEvent(QPaintEvent
*);
+ void paintEvent(QPaintEvent*);
private:
Q_DISABLE_COPY(WellArray)
private:
Q_DISABLE_COPY(WellArray)
@@
-135,5
+138,7
@@
private:
WellArrayData *d;
};
WellArrayData *d;
};
-}
// namespace wellarray
+}
// namespace widgets
} // namespace pv
} // namespace pv
+
+#endif // PULSEVIEW_PV_WIDGETS_WELLARRAY_HPP