如何在QT中获取对话框的大小? [英] How to get the size of the dialog in QT?
本文介绍了如何在QT中获取对话框的大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在QT中获取对话框的大小????
How to get the size of the dialog in QT????
推荐答案
使用从QWidget [包括窗户装饰和边框 [
Use the member function QRect QDialog::frameGeometry()
inherited from QWidget[^]. The returned values include the window decorations and borders[^].
这篇关于如何在QT中获取对话框的大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文