上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 77 下一页

2021年9月13日

Qt-QSystemTrayIcon实现系统托盘

摘要: 相关资料: https://blog.csdn.net/u011417605/article/details/51322997 .pro 1 QT += core gui 2 3 greaterThan(QT_MAJOR_VERSION, 4): QT += widgets 4 5 CONFIG + 阅读全文

posted @ 2021-09-13 14:09 疯狂delphi 阅读(69) 评论(0) 推荐(0)

Qt设置窗口不在系统的任务栏上显示

摘要: 相关资料: https://www.cnblogs.com/acmexyz/p/11683413.html 有时候有特殊需求,不希望在任务栏上出现应用程序的图标。该怎么办呢? 其实可以通过设置窗口标志来实现。 调用QWidget的setWindowFlags()函数。 设置为Qt::Tool、Qt: 阅读全文

posted @ 2021-09-13 13:54 疯狂delphi 阅读(922) 评论(0) 推荐(0)

通过setwindowlong设置的windows窗口样式总结

摘要: 相关资料: https://blog.csdn.net/jigetage/article/details/85207073 对于windows api中创建的窗口,可以通过SetWindowLong函数修改其样式。 函数声明为: LONG SetWindowLongA( HWND hWnd, int 阅读全文

posted @ 2021-09-13 13:50 疯狂delphi 阅读(1186) 评论(0) 推荐(0)

Qt事件:changeEvent(改变事件)

摘要: 相关资料: https://blog.csdn.net/kenfan1647/article/details/109993095 改变事件changeEvent(QEvent* e)继承自QWidget 以下事件的变化会触发changeEvent: QEvent::ToolBarChange, 工具 阅读全文

posted @ 2021-09-13 13:45 疯狂delphi 阅读(993) 评论(0) 推荐(0)

2021年9月10日

ImGui-imgui实例解析之ShowDemoWindowWidgets-Basic

摘要: ImGui-imgui实例解析之ShowDemoWindowWidgets 应该是禁用的功能:但不知道为什么在1.83的界面没看到。而且1.72版本是没有这个功能的。ImGui::BeginDisabled();ImGui::EndDisabled();增加按钮:处理事件,作者这种处理方式,我还是第 阅读全文

posted @ 2021-09-10 16:08 疯狂delphi 阅读(3521) 评论(0) 推荐(1)

ImGui-imgui实例解析之Window options

摘要: ImGui-imgui实例解析之Window options 增加表格:// 这应该是说有3列,你是不是想问为什么不我试一下,我TM发现能测试的电脑用的是1.72版本,// 用的是checkbox显示的,不能测试的电脑用的是1.83版本的,对我现在就是在1.83上。if (ImGui::BeginT 阅读全文

posted @ 2021-09-10 15:06 疯狂delphi 阅读(1091) 评论(0) 推荐(0)

ImGui-imgui实例解析之ShowStyleEditor-Fonts

摘要: ImGui-imgui实例解析之ShowStyleEditor-Fonts 获得字体:ImFontAtlas* atlas = io.Fonts;显示字体集:ImGui::ShowFontAtlas(atlas);艹,这里面代码太多了,你们自己看吧。呵呵。for (int i = 0; i < at 阅读全文

posted @ 2021-09-10 11:15 疯狂delphi 阅读(605) 评论(0) 推荐(0)

ImGui-imgui实例解析之ShowStyleEditor-Colors

摘要: ImGui-imgui实例解析之ShowStyleEditor-Colors 没有明白是什么意思:LogBegin(ImGuiLogType_TTY, auto_open_depth);ImGui::LogText("ImVec4* colors = ImGui::GetStyle().Colors 阅读全文

posted @ 2021-09-10 11:04 疯狂delphi 阅读(843) 评论(0) 推荐(0)

ImGui-imgui实例解析之ShowStyleEditor-Sizes

摘要: ImGui-imgui实例解析之ShowStyleEditor-Sizes 获取皮肤:ImGuiStyle& style = ImGui::GetStyle();设置宽度:ImGui::PushItemWidth(ImGui::GetWindowWidth() * 0.50f);颜色选择器:if ( 阅读全文

posted @ 2021-09-10 11:00 疯狂delphi 阅读(2174) 评论(0) 推荐(0)

ImGui-imgui实例解析之ShowDemoWindow

摘要: imgui实例解析之ShowDemoWindow 实例入口:实例的总入口。ShowDemoWindow断言:判断IMGUI上下文是否正常,如果不正常后面的函数将全部报错,所以在此断言。IM_ASSERT(ImGui::GetCurrentContext() != NULL && "Missing d 阅读全文

posted @ 2021-09-10 09:38 疯狂delphi 阅读(1969) 评论(0) 推荐(0)

上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 77 下一页

导航