source: trunk/doc/html/chart-optionsform-h.html@ 190

Last change on this file since 190 was 190, checked in by rudi, 14 years ago

reference documentation added

File size: 3.7 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/doc/tutorial2.doc:12 -->
3<html>
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6<title>chart/optionsform.h Example File</title>
7<style type="text/css"><!--
8fn { margin-left: 1cm; text-indent: -1cm; }
9a:link { color: #004faf; text-decoration: none }
10a:visited { color: #672967; text-decoration: none }
11body { background: #ffffff; color: black; }
12--></style>
13</head>
14<body>
15
16<table border="0" cellpadding="0" cellspacing="0" width="100%">
17<tr bgcolor="#E5E5E5">
18<td valign=center>
19 <a href="index.html">
20<font color="#004faf">Home</font></a>
21 | <a href="classes.html">
22<font color="#004faf">All&nbsp;Classes</font></a>
23 | <a href="mainclasses.html">
24<font color="#004faf">Main&nbsp;Classes</font></a>
25 | <a href="annotated.html">
26<font color="#004faf">Annotated</font></a>
27 | <a href="groups.html">
28<font color="#004faf">Grouped&nbsp;Classes</font></a>
29 | <a href="functions.html">
30<font color="#004faf">Functions</font></a>
31</td>
32<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>chart/optionsform.h Example File</h1>
33
34
35<pre>#ifndef OPTIONSFORM_H
36#define OPTIONSFORM_H
37
38#include &lt;<a href="qdialog-h.html">qdialog.h</a>&gt;
39
40class QButtonGroup;
41class QComboBox;
42class QFrame;
43class QGridLayout;
44class QHBoxLayout;
45class QLabel;
46class QPushButton;
47class QRadioButton;
48class QSpinBox;
49class QVBoxLayout;
50
51
52class OptionsForm : public <a href="qdialog.html">QDialog</a>
53{
54 Q_OBJECT
55public:
56 OptionsForm( <a href="qwidget.html">QWidget</a>* parent = 0, const char* name = "options form",
57 bool modal = FALSE, WFlags f = 0 );
58 ~OptionsForm() {}
59
60 <a href="qfont.html">QFont</a> font() const { return m_font; }
61 void setFont( <a href="qfont.html">QFont</a> font );
62
63 <a href="qlabel.html">QLabel</a> *chartTypeTextLabel;
64 <a href="qcombobox.html">QComboBox</a> *chartTypeComboBox;
65 <a href="qpushbutton.html">QPushButton</a> *fontPushButton;
66 <a href="qlabel.html">QLabel</a> *fontTextLabel;
67 <a href="qframe.html">QFrame</a> *addValuesFrame;
68 <a href="qbuttongroup.html">QButtonGroup</a> *addValuesButtonGroup;
69 <a href="qradiobutton.html">QRadioButton</a> *noRadioButton;
70 <a href="qradiobutton.html">QRadioButton</a> *yesRadioButton;
71 <a href="qradiobutton.html">QRadioButton</a> *asPercentageRadioButton;
72 <a href="qlabel.html">QLabel</a> *decimalPlacesTextLabel;
73 <a href="qspinbox.html">QSpinBox</a> *decimalPlacesSpinBox;
74 <a href="qpushbutton.html">QPushButton</a> *okPushButton;
75 <a href="qpushbutton.html">QPushButton</a> *cancelPushButton;
76
77protected slots:
78 void chooseFont();
79
80protected:
81 <a href="qvboxlayout.html">QVBoxLayout</a> *optionsFormLayout;
82 <a href="qhboxlayout.html">QHBoxLayout</a> *chartTypeLayout;
83 <a href="qhboxlayout.html">QHBoxLayout</a> *fontLayout;
84 <a href="qvboxlayout.html">QVBoxLayout</a> *addValuesFrameLayout;
85 <a href="qvboxlayout.html">QVBoxLayout</a> *addValuesButtonGroupLayout;
86 <a href="qhboxlayout.html">QHBoxLayout</a> *decimalPlacesLayout;
87 <a href="qhboxlayout.html">QHBoxLayout</a> *buttonsLayout;
88
89private:
90 <a href="qfont.html">QFont</a> m_font;
91};
92
93#endif
94
95</pre><!-- eof -->
96<p><address><hr><div align=center>
97<table width=100% cellspacing=0 border=0><tr>
98<td>Copyright &copy; 2007
99<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
100<td align=right><div align=right>Qt 3.3.8</div>
101</table></div></address></body>
102</html>
Note: See TracBrowser for help on using the repository browser.