上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 75 下一页

2021年9月13日

Qt-QLayout: Attempting to add QLayout “to ***“, which already has a layout的终极解决方法

摘要: 相关资料: https://blog.csdn.net/qq_35621436/article/details/108676895 问题最近在捣鼓QT的时候,经常遇到Qlayout布局不成功的问题,提示是要设置的部件已经有布局了。 如字面意思,这种情况就是多次设置布局引起的,那么如何解决呢? 原因以 阅读全文

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

Qt-报错 QNativeSocketEngine::joinMulticastGroup() was not called in QAbstractSocket::BoundState

摘要: 相关资料: https://blog.csdn.net/xinguhong4645/article/details/99581508 https://blog.csdn.net/wg8826/article/details/80818673 CSDN:编写Qt udpsocket网络编程组播时候提示 阅读全文

posted @ 2021-09-13 15:42 疯狂delphi 阅读(2344) 评论(0) 推荐(0)

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 阅读(61) 评论(0) 推荐(0)

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

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

posted @ 2021-09-13 13:54 疯狂delphi 阅读(909) 评论(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 阅读(1127) 评论(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 阅读(969) 评论(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 阅读(3465) 评论(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 阅读(1068) 评论(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 阅读(585) 评论(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 阅读(823) 评论(0) 推荐(0)

上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 75 下一页

导航