表格新增右键单击回调函数
This commit is contained in:
@@ -253,6 +253,10 @@ namespace ezui {
|
||||
// 参数: row, col, oldValue, newValue
|
||||
std::function<void(int, int, const UIString&, const UIString&)> CellEditFinished = nullptr;
|
||||
|
||||
// 鼠标右键单击回调
|
||||
// 参数: row, col (row=-1 表示点击在表头,col=-1 表示点击在第一列)
|
||||
std::function<void(int, int)> RightClick = nullptr;
|
||||
|
||||
public:
|
||||
TableView(Object* parentObject = nullptr);
|
||||
virtual ~TableView();
|
||||
|
||||
Reference in New Issue
Block a user