以下成员源于类 QSurfaceFormat 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
								
(obsolete)
								
								void
							 | 
							setOption (QSurfaceFormat::FormatOptions opt ) | 
								
(obsolete)
								
								bool
							 | 
							testOption (QSurfaceFormat::FormatOptions opt ) const | 
此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。
这是重载函数。
Use setOption( QSurfaceFormat::FormatOption , bool) or setOptions () 代替。
Sets the format options to the OR combination of opt and the current format options.
另请参阅 options () 和 testOption ().
此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。
这是重载函数。
Use testOption( QSurfaceFormat::FormatOption ) 代替。
						返回
						
true
						
						if any of the options in
						
							opt
						
						is currently set on this object; otherwise returns false.
					
另请参阅 setOption ().