以下成员源于类 QDesktopWidget 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(obsolete)
							
							
								
									primaryScreen
								
							
							: const int
						
(obsolete)
							
							
								
									screenCount
								
							
							: const int
						
(obsolete)
							
							
								
									virtualDesktop
								
							
							: const bool
						
(obsolete)
							
							
								
									windowIconText
								
							
							: QString
						| 
(obsolete)
								const QRect | availableGeometry (int screen = -1) const | 
| 
(obsolete)
								const QRect | availableGeometry (const QPoint & p ) const | 
| 
(obsolete)
								 | dumpObjectInfo () | 
| 
(obsolete)
								 | dumpObjectTree () | 
| 
(obsolete)
								bool | isEnabledToTLW () const | 
| 
(obsolete)
								bool | isTopLevel () const | 
| 
(obsolete)
								int | numScreens () const | 
| 
(obsolete)
								QWidget * | screen (int screen = -1) | 
| 
(obsolete)
								const QRect | screenGeometry (int screen = -1) const | 
| 
(obsolete)
								const QRect | screenGeometry (const QPoint & p ) const | 
| 
(obsolete)
								int | screenNumber (const QPoint & point ) const | 
| 
(obsolete)
								QWidget * | topLevelWidget () const | 
| 
(obsolete)
								void | resized (int screen ) | 
| 
(obsolete)
								void | workAreaResized (int screen ) | 
此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。
Returns the available geometry of the screen with index screen . What is available will be subrect of screenGeometry () based on what the platform decides is available (for example excludes the dock and menu bar on macOS , or the task bar on Windows). The default screen is used if screen 为 -1。
使用 QGuiApplication::screens () 代替。
另请参阅 screenNumber (), screenGeometry (),和 QScreen::availableGeometry ().
此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。
这是重载函数。
返回屏幕的可用几何体,其包含 p .
使用 QGuiApplication::screenAt () 代替。
另请参阅 screenGeometry ().
此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。
返回可用屏幕的编号。
使用 QGuiApplication::screens () 代替。
另请参阅 primaryScreen .
[signal]
						
						
							void
						
						QDesktopWidget::
						
							primaryScreenChanged
						
						()
						
					此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。
此信号被发射每当首要屏幕改变时。
注意: 这并不意味着 QDesktopWidget::primaryScreen 索引必然不同,但现在它会引用新的首要屏幕。
使用 QGuiApplication::primaryScreenChanged () 代替。
该函数在 Qt 5.6 引入。
注意: 通知程序信号对于特性 primaryScreen .
另请参阅 primaryScreen and screenGeometry ().
[signal]
						
						
							void
						
						QDesktopWidget::
						
							resized
						
						(
						
							int
						
						
							screen
						
						)
						
					此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。
此信号被发射当尺寸对于 screen 改变。
使用 QScreen::geometryChanged () 代替。
此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。
Returns a widget that represents the screen with index screen (a value of -1 means the default screen).
If the system uses a virtual desktop, the returned widget will have the geometry of the entire virtual desktop; i.e., bounding every screen .
使用 QScreen 代替。
另请参阅 primaryScreen , screenCount ,和 virtualDesktop .
[signal]
						
						
							void
						
						QDesktopWidget::
						
							screenCountChanged
						
						(
						
							int
						
						
							newCount
						
						)
						
					此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。
此信号被发射当屏幕数改变成 newCount .
使用 QGuiApplication::screenAdded and QGuiApplication::screenRemoved () 代替。
该函数在 Qt 4.6 引入。
注意: 通知程序信号对于特性 screenCount .
另请参阅 screenCount .
此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。
Returns the geometry of the screen with index screen . The default screen is used if screen 为 -1。
使用 QGuiApplication::screens () 代替。
另请参阅 screenNumber ().
此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。
这是重载函数。
返回屏幕的几何体,其包含 p .
使用 QGuiApplication::screenAt () 代替。
此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。
这是重载函数。
Returns the index of the screen that contains the point , or the screen which is the shortest distance from the point .
使用 QGuiApplication::screenAt () 代替。
另请参阅 primaryScreen .
[signal]
						
						
							void
						
						QDesktopWidget::
						
							workAreaResized
						
						(
						
							int
						
						
							screen
						
						)
						
					此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。
此信号被发射当工作区域可用于 screen 改变。
使用 QScreen::availableGeometryChanged () 代替。