modify:回车默认ok
This commit is contained in:
@@ -28,6 +28,8 @@ public:
|
||||
|
||||
protected:
|
||||
bool eventFilter(QObject *obj, QEvent *event) override;
|
||||
// 统一处理物理键盘确认键,保证主键盘 Enter 和小键盘 Enter 都等价于点击 OK。
|
||||
void keyPressEvent(QKeyEvent *event) override;
|
||||
|
||||
private slots:
|
||||
void on_btn_ok_clicked();
|
||||
|
||||
Reference in New Issue
Block a user