|
OpenHantek
|
#include <datagrid.h>
Data Structures | |
| struct | CursorInfo |
Public Slots | |
| void | selectItem (unsigned index) |
Signals | |
| void | itemSelected (int index) |
| void | itemUpdated (int index) |
Public Member Functions | |
| DataGrid (QWidget *parent=nullptr) | |
| int | addItem (const QString &text, const QColor &fgColor) |
| void | setToolTipsVisible (bool visible=true) |
| void | setBackgroundColor (const QColor &bgColor) |
| void | configureItem (unsigned index, const QColor &fgColor) |
| void | updateInfo (unsigned index, bool visible, const QString &strOnOff=QString(), const QString &strX=QString(), const QString &strY=QString()) |
Private Attributes | |
| QColor | backgroundColor |
| bool | toolTipsVisible = false |
| QButtonGroup * | cursorsSelectorGroup |
| QGridLayout * | cursorsLayout |
| std::vector< CursorInfo > | items |
|
explicit |
| int DataGrid::addItem | ( | const QString & | text, |
| const QColor & | fgColor ) |
| void DataGrid::configureItem | ( | unsigned | index, |
| const QColor & | fgColor ) |
|
signal |
|
signal |
|
slot |
| void DataGrid::setBackgroundColor | ( | const QColor & | bgColor | ) |
| void DataGrid::setToolTipsVisible | ( | bool | visible = true | ) |
| void DataGrid::updateInfo | ( | unsigned | index, |
| bool | visible, | ||
| const QString & | strOnOff = QString(), | ||
| const QString & | strX = QString(), | ||
| const QString & | strY = QString() ) |
|
private |
|
private |
|
private |
|
private |
|
private |