You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <QTreeWidget>
|
|
|
|
|
#include "Defines.h"
|
|
|
|
|
#include "iGuiConfig_global.h"
|
|
|
|
|
|
|
|
|
|
class TreeItemConfig;
|
|
|
|
|
class X_GUI_CONFIG_EXPORT TreeWxConfig : public QTreeWidget
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
TreeWxConfig(QWidget* parent = 0);
|
|
|
|
|
~TreeWxConfig();
|
|
|
|
|
|
|
|
|
|
virtual void refresh();
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
// 填充
|
|
|
|
|
virtual void fillTree();
|
|
|
|
|
|
|
|
|
|
Q_SIGNALS:
|
|
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
|
|
|
|
|
void slotCurItemChanged(QTreeWidgetItem* current, QTreeWidgetItem* previous);
|
|
|
|
|
|
|
|
|
|
// 从主窗体选择
|
|
|
|
|
void slotCurrentWxChanged(ConfigWxType&);
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
// Tags
|
|
|
|
|
QStringList m_listTags;
|
|
|
|
|
};
|