Qt3代码升级到Qt5
QWidget * QApplication::mainWidget () [static]
Returns the main application widget, or 0 if there is no main widget.
See also setMainWidget().
这个函数接口可以让控件获取到主窗口的指针。Qt5中没有这个函数
无法使用。
qApp->mainWidget () 获取主窗体的指针
Qt3代码升级到Qt5
Returns the main application widget, or 0 if there is no main widget.
See also setMainWidget().
这个函数接口可以让控件获取到主窗口的指针。Qt5中没有这个函数
无法使用。
qApp->mainWidget () 获取主窗体的指针
619
234

被折叠的 条评论
为什么被折叠?