/
githubmirror
/
x64dbg
Обзор
Документация
Войти
/
githubmirror
/
x64dbg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
development
src/gui/Src/Gui/ThreadView.h
49 строк
1 KB
Duncan Ogilvie
Simplify the showthreadid command
18 дек 2023, 02:44
18 дек 2023, 02:44
afb5ac4
Код
Авторство
О чём код?
#pragma once #include "StdTable.h" #include <QMenu> class ThreadView : public StdTable { Q_OBJECT public: explicit ThreadView(StdTable* parent = nullptr); QString paintContent(QPainter* painter, duint row, duint col, int x, int y, int w, int h) override; void setupContextMenu(); signals: void displayThreadsView(); public slots: void selectionThreadsSet(const SELECTIONDATA* selection); void selectionThreadsGet(SELECTIONDATA* selection); void updateThreadListSlot(); void doubleClickedSlot(); void execCommandSlot(); void gotoThreadEntrySlot(); void contextMenuSlot(const QPoint & pos); void setNameSlot(); private: QAction* makeCommandAction(QAction* action, const QString & command); duint mCurrentThreadId; MenuBuilder* mMenuBuilder; enum { ColNumber = 0, ColThreadId, ColEntry, ColTeb, ColCip, ColSuspendCount, ColPriority, ColWaitReason, ColLastError, ColUserTime, ColKernelTime, ColCreationTime, ColCpuCycles, ColThreadName, }; };