在 QT 中,我们是否可以在没有类的情况下为 ui 表单发出信号?
我们正在开发一个 UI 应用程序,其中我们将为用户提供一个定制的 QT 设计器。然后,用户可以使用拖放功能创建表单,该功能会为表单生成常规 .ui 文件。用户会将一些功能与信号链接起来,例如按下按钮、选择复选框等。
机器上会有一个守护进程,它会从某个地方获取一些数据。
现在的问题是守护进程能否在UI文件中指定的位置调用适当的信号,条件是没有UI文件与c++/头文件关联。
如果没有的话如何使用 UIC 来做到这一点。
问候
We are developing a UI application wherein we would be giving the users a customised QT designer. The users would then create forms using drag and drop functionality which generates a regular .ui file for the form. The user would link some functionalities with signals, like button press, checkbox select, etc.
There would be a daemon process on the machine which would get some data from somewhere.
Now the question is can the daemon process invoke the appropriate signal in the specified in the UI file, the condition is that no UI file is associated with c++ / header file.
If not how to do it using UIC.
Regards
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
QUILoader 是您的朋友:
QUILoader is your friend :