Get list of widgets for QGuiApplication----stackoverflow
来源:互联网 发布:波利亚计数定理 知乎 编辑:程序博客网 时间:2024/05/16 17:31
原文地址::https://stackoverflow.com/questions/24672390/get-list-of-widgets-for-qguiapplication
I need to get list of UI elements on the application main window (all windows, doesn't matter). The problem is that there is no topLevelWidgets()
function in QGuiApplication
, it is in QApplication
. Of course I could use QApplication
instead of QGuiApplication
, but the application already exists and I can't change source codes. I'm writing plugin.
I think if Qt
allows you to write place UI elements for application using QGuiApplication
class, it should give some way to get those elements, but maybe I'm wrong.
Any ideas?
I need to get list of UI elements on the application main window (all windows, doesn't matter). The problem is that there is no topLevelWidgets()
function in QGuiApplication
, it is in QApplication
. Of course I could use QApplication
instead of QGuiApplication
, but the application already exists and I can't change source codes. I'm writing plugin.
I think if Qt
allows you to write place UI elements for application using QGuiApplication
class, it should give some way to get those elements, but maybe I'm wrong.
Any ideas?
- Get list of widgets for QGuiApplication----stackoverflow
- List of free available programming books From stackoverflow
- 【跟着stackoverflow学Pandas】 -Get list from pandas DataFrame column headers
- free ebooks: http://stackoverflow.com/questions/194812/list-of-freely-available-programming-books
- Widgets for GWT platform
- Get middle element of a linked-list
- get the entry of the circle list;
- 【跟着stackoverflow学Pandas】-How do I get the row count of a Pandas dataframe-获取DataFrame行数
- List of partition identifiers for PCs
- list of ping servies for blogs
- List of Solaris commands for process management
- List of Free Firewalls for Windows!
- List of tools for static code analysis
- List of tools for static code analysis
- List of Useful Libraries for iOS Projects
- List of salaries for Silicon Valley intern
- GtkContainer — Base class for widgets which contain other widgets
- MACRO of a method of loop list for visit elements
- 动态规划——一个神奇的算法类
- Debug的设置级别
- 三生万物:决策树
- VS2013中双在击*.ui打不开的解决方法
- 严蔚敏版数据结构学习笔记和代码实现
- Get list of widgets for QGuiApplication----stackoverflow
- 两个链式存储的一元多项式乘法运算算法
- php中正则表达式
- 经验:搞代码就行了,别乱动数据库(【测试数据要尽量写好一点,只改不删,后期不要轻易删表记录】。关联复杂。oracle报错难以解决)==教训经历如下:
- Android状态栏--实现状态栏全透明
- 判断一个二维数组里面是否含有一个整数
- C
- layui select动态添加option
- Maven之(七)pom.xml配置文件详解