settingswidget.html
来自「qtopiaphone英文帮助,用于初学者和开发人员,初学者可以用来学习,开发人」· HTML 代码 · 共 89 行
HTML
89 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!-- /home/edba/dist/qtopia/main-Sunday/qtopia/src/qtopiadesktop/doc/plugin.doc:299 --><html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>SettingsWidget Class</title><style type="text/css"><!--h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }a:link { color: #004faf; text-decoration: none }a:visited { color: #672967; text-decoration: none }body { background: #ffffff; color: black; }--></style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="200" align="left" valign="top"><a href="index.html"><img height="27" width="472" src="dochead.png" border="0"></a><br><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" align="center" size=32>Qtopia</font> <a href="index.html">Home</a> - <a href="qtopiaclasses.html">Classes</a> - <a href="qtopiaannotated.html">Annotated</a> - <a href="qtopiafunctions.html">Functions</a> - <a href="qtindex.html">Qt Embedded</a></td><td align="right" valign="top"> <table border="0" cellpadding="0" cellspacing="0" width="137"> <tr> <td><a href="http://www.trolltech.com/company/about/trolls.html"><img height="100" width="100" src="face.png" border="0"></a></td> <td><img height="100" width="100" src="qtlogo.png" align="top" border="0"></td> </tr> </table></td></tr></table><h1 align=center>SettingsWidget Class Reference</h1><p>The SettingsWidget class is a virtual base class for Qtopia Desktopcomponent configuration widgets.<a href="#details">More...</a><p><tt>#include <<a href="settingswidget-h.html">common/settingswidget.h</a>></tt><p><a href="settingswidget-members.html">List of all member functions.</a><h2>Public Members</h2><ul><li><div class=fn>virtual void <a href="#applySettings"><b>applySettings</b></a> () = 0</div></li><li><div class=fn>virtual void <a href="#resetSettings"><b>resetSettings</b></a> () = 0</div></li><li><div class=fn>virtual QWidget * <a href="#widget"><b>widget</b></a> () = 0</div></li></ul><hr><a name="details"></a><h2>Detailed Description</h2> The SettingsWidget class is a virtual base class for Qtopia Desktopcomponent configuration widgets.<p> Configuration widgets of all Qtopia Desktop components are embedded in a tabbedconfiguration dialog. Inherit your configuration class from this base class to adda configuration page for your Qtopia Desktop component to the tabbed dialog.<p> Tip: Create your configuration widget GUI using Qt Designer and use multiple inheritance toinherit from this base class and the GUI widget.<hr><h2>Member Function Documentation</h2><h3 class=fn>void <a name="applySettings"></a>SettingsWidget::applySettings ()<tt> [pure virtual]</tt></h3> <p> This function is called by Qtopia Desktop when the user selects the "Apply" or "Ok" actionin the Qtopia Desktop configuration dialog. A Qtopia Desktop components implementation of thisfunction should store the configuration selected in the configuration GUI widget to disk.<h3 class=fn>void <a name="resetSettings"></a>SettingsWidget::resetSettings ()<tt> [pure virtual]</tt></h3> <p> This function is called by Qtopia Desktop when the user selects the "Reset" actionin the Qtopia Desktop configuration dialog. A Qtopia Desktop components implementation of thisfunction should reset the GUI configuration widget to the configuration values currently on disk.<h3 class=fn>QWidget * <a name="widget"></a>SettingsWidget::widget ()<tt> [pure virtual]</tt></h3> <p> This function is called by Qtopia Desktop on startup to build the tabbed configuration dialog.A Qtopia Desktop components implementation of this function should return a pointer to it'sconfiguration widget.<!-- eof --><hr><p>This file is part of the <a href="../index.html">Qtopia</a> platform,copyright © 1995-2004<a href="http://www.trolltech.com/">Trolltech</a>, all rights reserved.<p><address><hr><div align="center"><table width="100%" cellspacing="0" border="0"><tr><td>Copyright © 2001-2004 Trolltech<td><a href="http://www.trolltech.com/trademarks.html">Trademarks</a><td align="right"><div align="right">Qtopia version 2.0.0</div></table></div></address></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?