mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 10:48:36 +12:00
kernel_explorer: keep existing trees expanded
This commit is contained in:
parent
b75af69cf9
commit
66f1cbfb34
4 changed files with 338 additions and 143 deletions
|
@ -8,6 +8,7 @@
|
|||
#include <QLabel>
|
||||
#include <QTableWidget>
|
||||
#include <QHeaderView>
|
||||
#include <QTreeWidgetItem>
|
||||
|
||||
namespace gui
|
||||
{
|
||||
|
@ -65,5 +66,11 @@ namespace gui
|
|||
|
||||
// Open a path in the explorer and mark the file
|
||||
void open_dir(const QString& path);
|
||||
|
||||
// Constructs and adds a child to a QTreeWidgetItem
|
||||
QTreeWidgetItem* add_child(QTreeWidgetItem* parent, const QString& text, int column = 0);
|
||||
|
||||
// Removes all children of a QTreeWidgetItem
|
||||
void remove_children(QTreeWidgetItem* parent);
|
||||
} // utils
|
||||
} // gui
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue