DolphinQt: add lock state to WatchWidget

This commit is contained in:
iwubcode
2022-12-22 23:17:40 -06:00
parent 8f3e8e4ca3
commit 7d7fcdddd3
2 changed files with 47 additions and 5 deletions

View File

@ -46,6 +46,7 @@ private:
void ShowContextMenu();
void OnItemChanged(QTableWidgetItem* item);
void LockWatchAddress(u32 address);
void DeleteWatch(int row);
void AddWatchBreakpoint(int row);
void ShowInMemory(int row);
@ -61,11 +62,12 @@ private:
bool m_updating = false;
static constexpr int NUM_COLUMNS = 6;
static constexpr int NUM_COLUMNS = 7;
static constexpr int COLUMN_INDEX_LABEL = 0;
static constexpr int COLUMN_INDEX_ADDRESS = 1;
static constexpr int COLUMN_INDEX_HEX = 2;
static constexpr int COLUMN_INDEX_DECIMAL = 3;
static constexpr int COLUMN_INDEX_STRING = 4;
static constexpr int COLUMN_INDEX_FLOAT = 5;
static constexpr int COLUMN_INDEX_LOCK = 6;
};