mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-11-01 07:30:04 +00:00
Separating tree model from radar product model
This commit is contained in:
parent
782d61e5f0
commit
1ab0d62b1f
7 changed files with 182 additions and 79 deletions
|
|
@ -27,9 +27,6 @@ public:
|
|||
TreeItem(TreeItem&&) noexcept;
|
||||
TreeItem& operator=(TreeItem&&) noexcept;
|
||||
|
||||
void AppendChild(TreeItem* child);
|
||||
TreeItem* FindChild(int column, const QVariant& data);
|
||||
|
||||
const TreeItem* child(int row) const;
|
||||
TreeItem* child(int row);
|
||||
std::vector<TreeItem*> children();
|
||||
|
|
@ -39,6 +36,11 @@ public:
|
|||
int row() const;
|
||||
const TreeItem* parent_item() const;
|
||||
|
||||
void AppendChild(TreeItem* child);
|
||||
TreeItem* FindChild(int column, const QVariant& data);
|
||||
bool InsertChildren(int position, int count, int columns);
|
||||
bool SetData(int column, const QVariant& value);
|
||||
|
||||
private:
|
||||
class Impl;
|
||||
std::unique_ptr<Impl> p;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue