mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 08:51:28 +12:00
patch_manager: more information for branch nodes
This commit is contained in:
parent
7d3389d548
commit
9679ae68cb
3 changed files with 79 additions and 36 deletions
|
@ -66,10 +66,13 @@ namespace gui
|
|||
|
||||
// Open a path in the explorer and mark the file
|
||||
void open_dir(const QString& path);
|
||||
|
||||
|
||||
// Finds a child of a QTreeWidgetItem with given text
|
||||
QTreeWidgetItem* find_child(QTreeWidgetItem* parent, const QString& text);
|
||||
|
||||
// Finds all children of a QTreeWidgetItem that match the given criteria
|
||||
QList<QTreeWidgetItem*> find_children_by_data(QTreeWidgetItem* parent, const QList<QPair<int /*role*/, QVariant /*data*/>>& criteria, bool recursive = false);
|
||||
|
||||
// Constructs and adds a child to a QTreeWidgetItem
|
||||
QTreeWidgetItem* add_child(QTreeWidgetItem* parent, const QString& text, int column = 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue