func:添加属性编辑功能。
This commit is contained in:
@@ -21,8 +21,9 @@ protected:
|
||||
void showEvent(QShowEvent* event) override;
|
||||
|
||||
public:
|
||||
void set_attribute(const Property_t& property);
|
||||
void set_attribute(const Property_t& property, bool is_key_edit = true);
|
||||
void get_attribute(Property_t& property);
|
||||
|
||||
private:
|
||||
void show_before();
|
||||
void init_table();
|
||||
@@ -35,6 +36,7 @@ private:
|
||||
Ui::CAttributeEdit* ui;
|
||||
Property_t property_{};
|
||||
QTableWidget* table_{};
|
||||
bool is_key_edit_{true};
|
||||
};
|
||||
|
||||
#endif // ATTRIBUTE_EDIT_H
|
||||
|
||||
Reference in New Issue
Block a user