17 explicit DataGrid(QWidget *parent =
nullptr);
27 void configure(
const QString &text,
const QColor &bgColor,
const QColor &fgColor);
30 unsigned addItem(
const QString &text,
const QColor &fgColor);
31 void setBackgroundColor(
const QColor &bgColor);
32 void configureItem(
unsigned index,
const QColor &fgColor);
33 void updateInfo(
unsigned index,
bool visible,
const QString &strShape = QString(),
34 const QString &strX = QString(),
const QString &strY = QString());
37 void itemSelected(
unsigned index);
38 void itemUpdated(
unsigned index);
41 void selectItem(
unsigned index);
44 QColor backgroundColor;
45 QButtonGroup *cursorsSelectorGroup;
46 QGridLayout *cursorsLayout;
47 std::vector<CursorInfo> items;
QPalette palette
The widget's palette.
Definition: datagrid.h:20
QLabel * deltaXLabel
The horizontal distance between cursors.
Definition: datagrid.h:23
Definition: datagrid.h:13
QPushButton * shape
The cursor shape.
Definition: datagrid.h:22
QLabel * deltaYLabel
The vertical distance between cursors.
Definition: datagrid.h:24
Definition: datagrid.h:19
QPushButton * selector
The name of the channel.
Definition: datagrid.h:21