对QDialog使用事件过滤器,过滤Esc键。 installEventFilter(new EventFilter(this)); bool EventFilter::eventFilter(QObject *obj, QEvent * ...
確定! 回上一頁