**
****************************************************************************/
+#ifndef PULSEVIEW_PV_WIDGETS_WELLARRAY_HPP
+#define PULSEVIEW_PV_WIDGETS_WELLARRAY_HPP
+
#include <QWidget>
namespace pv {
Q_PROPERTY(int selectedRow READ selectedRow)
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; }
void keyPressEvent(QKeyEvent*);
void focusInEvent(QFocusEvent*);
void focusOutEvent(QFocusEvent*);
- void paintEvent(QPaintEvent *);
+ void paintEvent(QPaintEvent*);
private:
Q_DISABLE_COPY(WellArray)
WellArrayData *d;
};
-} // namespace wellarray
+} // namespace widgets
} // namespace pv
+
+#endif // PULSEVIEW_PV_WIDGETS_WELLARRAY_HPP