增加通讯协议
This commit is contained in:
@@ -17,6 +17,9 @@ public:
|
||||
|
||||
void setReturnPage(PageId id) { m_returnPage = id; }
|
||||
|
||||
protected:
|
||||
void showEvent(QShowEvent* ev) override; // 进入页面时默认聚焦“分页”
|
||||
|
||||
private slots:
|
||||
void refresh();
|
||||
void onCategoryToggled(bool on);
|
||||
@@ -25,6 +28,7 @@ private slots:
|
||||
private:
|
||||
FaultTable* m_table = nullptr;
|
||||
QLabel* m_title = nullptr;
|
||||
QPushButton* m_back = nullptr;
|
||||
QVector<QPushButton*> m_categoryButtons;
|
||||
QVector<QString> m_categories;
|
||||
QString m_filter; // 空 = 全部
|
||||
|
||||
Reference in New Issue
Block a user