Qt: Add groups to cheat manager

This commit is contained in:
Connor McLaughlin
2020-10-21 21:30:23 +10:00
parent 133639122d
commit 1f948b1266
5 changed files with 71 additions and 34 deletions

View File

@@ -59,7 +59,9 @@ private:
void fillItemForCheatCode(QTreeWidgetItem* item, u32 index, const CheatCode& code);
QTreeWidgetItem* getItemForCheatIndex(u32 index) const;
QTreeWidgetItem* getItemForCheatGroup(const std::string& group) const;
QTreeWidgetItem* getItemForCheatGroup(const QString& group_name) const;
QTreeWidgetItem* createItemForCheatGroup(const QString& group_name) const;
QStringList getCheatGroupNames() const;
int getSelectedCheatIndex() const;
int getSelectedResultIndex() const;
int getSelectedWatchIndex() const;