|
|
@ -25,11 +25,13 @@ class WaitTreeThread; |
|
|
class WaitTreeItem : public QObject { |
|
|
class WaitTreeItem : public QObject { |
|
|
Q_OBJECT |
|
|
Q_OBJECT |
|
|
public: |
|
|
public: |
|
|
|
|
|
~WaitTreeItem() override; |
|
|
|
|
|
|
|
|
virtual bool IsExpandable() const; |
|
|
virtual bool IsExpandable() const; |
|
|
virtual std::vector<std::unique_ptr<WaitTreeItem>> GetChildren() const; |
|
|
virtual std::vector<std::unique_ptr<WaitTreeItem>> GetChildren() const; |
|
|
virtual QString GetText() const = 0; |
|
|
virtual QString GetText() const = 0; |
|
|
virtual QColor GetColor() const; |
|
|
virtual QColor GetColor() const; |
|
|
virtual ~WaitTreeItem(); |
|
|
|
|
|
|
|
|
|
|
|
void Expand(); |
|
|
void Expand(); |
|
|
WaitTreeItem* Parent() const; |
|
|
WaitTreeItem* Parent() const; |
|
|
const std::vector<std::unique_ptr<WaitTreeItem>>& Children() const; |
|
|
const std::vector<std::unique_ptr<WaitTreeItem>>& Children() const; |
|
|
|