We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用QWK::WidgetWindowAgent设置右侧的系统按钮,包括最小化,最大化和关闭三个按钮,这三个按钮的点击事件将失效。
windowAgent->setSystemButton(QWK::WindowAgentBase::Minimize, minButton); windowAgent->setSystemButton(QWK::WindowAgentBase::Maximize, maxButton); windowAgent->setSystemButton(QWK::WindowAgentBase::Close, closeButton);
The text was updated successfully, but these errors were encountered:
听不懂你在说什么
Sorry, something went wrong.
你可能没有手动连接这几个按钮的信号槽,上面几个语句只是实现样式相关的功能,点击操作仍需自己连接信号槽。如
connect(closeButton, &QPushButton::clicked, this, &QWidget::close);
No branches or pull requests
使用QWK::WidgetWindowAgent设置右侧的系统按钮,包括最小化,最大化和关闭三个按钮,这三个按钮的点击事件将失效。
The text was updated successfully, but these errors were encountered: