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
你好,我在测试 qtskinui 的时候发现,我添加一个 自定义窗口 [sub_dialog] inherit=default titlebar_style=MAIN_FORM_STYLE
然后 //这是对话框, 从QDialog继承 class About_Form : public Base_Widget { ... };
About_Form w(this, SkinManager::instance()->get("sub_dialog")); w.exec();
发现 about 窗口没有多出 图标,最小化,最大化,菜单 这些按钮出来,我看了一下 Title_Bar.h 里有定义 MAIN_FORM_STYLE = FORM_STYLE|SHOW_MENU,
但是从skin.ini 设置并没有生效。
The text was updated successfully, but these errors were encountered:
问题解决了吗?Qt有段时间没用了,这个我猜测下: 1)修改了ini没有重新编译skin.qrc这个资源文件? 2)你的代码初看没有问题,titlebar_style可以尝试下 MAIN_FORM_BG_STYLE?
Sorry, something went wrong.
No branches or pull requests
你好,我在测试 qtskinui 的时候发现,我添加一个 自定义窗口
[sub_dialog]
inherit=default
titlebar_style=MAIN_FORM_STYLE
然后
//这是对话框, 从QDialog继承
class About_Form : public Base_Widget {
...
};
发现 about 窗口没有多出 图标,最小化,最大化,菜单 这些按钮出来,我看了一下
Title_Bar.h 里有定义 MAIN_FORM_STYLE = FORM_STYLE|SHOW_MENU,
但是从skin.ini 设置并没有生效。
The text was updated successfully, but these errors were encountered: