/
githubmirror
/
x64dbg
Обзор
Документация
Войти
/
githubmirror
/
x64dbg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
development
src/gui/Src/BasicView/StdIconTable.h
25 строк
863 B
torusrxxx
Auto switch thread when following callstack
18 ноя 2023, 04:22
18 ноя 2023, 04:22
7158316
Код
Авторство
О чём код?
#pragma once #include "StdTable.h" // StdIconTable extends StdTable by adding icons to one of the columns class StdIconTable : public StdTable { Q_OBJECT public: explicit StdIconTable(QWidget* parent = nullptr) : StdTable(parent), mIconColumn(0) {} // Data Management void setRowIcon(duint r, const QIcon & icon); // set the icon for a row QIcon getRowIcon(duint r) const; void setIconColumn(duint c); // set in which column the icons appear duint getIconColumn() const; void setRowCount(duint count) override; void sortRows(duint column, bool ascending) override; QString paintContent(QPainter* painter, duint row, duint col, int x, int y, int w, int h) override; protected: std::vector<QIcon> mIcon; //listof(row) where row = (listof(col) where col = CellData) duint mIconColumn; };