|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
|
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
|
3 <title>inputfield.h Source File</title> |
|
4 <link href="doxygen.css" rel="stylesheet" type="text/css"> |
|
5 </head><body> |
|
6 <!-- Generated by Doxygen 1.2.16 --> |
|
7 <center> |
|
8 <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> </center> |
|
9 <hr><h1>inputfield.h</h1><div class="fragment"><pre>00001 <font class="preprocessor">#ifndef INPUTFIELD_H</font> |
|
10 00002 <font class="preprocessor"></font><font class="preprocessor">#define INPUTFIELD_H</font> |
|
11 00003 <font class="preprocessor"></font> |
|
12 00004 <font class="preprocessor">#include <qhbox.h></font> |
|
13 00005 |
|
14 00006 <font class="keyword">class </font>QString; |
|
15 00007 <font class="keyword">class </font>QLabel; |
|
16 00008 <font class="keyword">class </font>QLineEdit; |
|
17 00009 |
|
18 <a name="l00013"></a><a class="code" href="classInputField.html">00013</a> <font class="keyword">class </font><a class="code" href="classInputField.html">InputField</a> : <font class="keyword">public</font> QHBox |
|
19 00014 { |
|
20 00015 Q_OBJECT |
|
21 00016 |
|
22 00017 <font class="keyword">private</font>: |
|
23 00018 QLabel *labelbox; |
|
24 00019 QLineEdit *textbox; |
|
25 00020 |
|
26 00021 <font class="keywordtype">void</font> initWidget(); |
|
27 00022 |
|
28 00023 <font class="keyword">public</font> slots: |
|
29 00027 <font class="keywordtype">void</font> <a class="code" href="classInputField.html#g0">setText</a>(QString &str); |
|
30 00031 <font class="keywordtype">void</font> <a class="code" href="classInputField.html#g1">setLabel</a>(QString &str); |
|
31 00032 |
|
32 00033 <font class="keyword">public</font>: |
|
33 00037 <a class="code" href="classInputField.html#a0">InputField</a>(QWidget *parent=0, <font class="keyword">const</font> <font class="keywordtype">char</font> *name=0); |
|
34 00043 <a class="code" href="classInputField.html#a0">InputField</a>(<font class="keyword">const</font> QString &mylabel, QWidget *parent=0, |
|
35 00044 <font class="keyword">const</font> <font class="keywordtype">char</font> *name=0); |
|
36 00051 <a class="code" href="classInputField.html#a0">InputField</a>(<font class="keyword">const</font> QString &mylabel, <font class="keyword">const</font> QString &mytext, |
|
37 00052 QWidget *parent=0, <font class="keyword">const</font> <font class="keywordtype">char</font> *name=0); |
|
38 00053 |
|
39 00057 QString <a class="code" href="classInputField.html#a3">text</a>() <font class="keyword">const</font>; |
|
40 00061 QString <a class="code" href="classInputField.html#a4">label</a>() <font class="keyword">const</font>; |
|
41 00062 |
|
42 00066 QLabel* <a class="code" href="classInputField.html#a5">qLabel</a>(); |
|
43 00070 QLineEdit* <a class="code" href="classInputField.html#a6">qLineEdit</a>(); |
|
44 00071 }; |
|
45 00072 |
|
46 00073 <font class="preprocessor">#endif // INPUTFIELD_H</font> |
|
47 </pre></div><hr><address align="right"><small>Generated on Mon Nov 3 19:26:24 2003 for yagl by |
|
48 <a href="http://www.doxygen.org/index.html"> |
|
49 <img src="doxygen.png" alt="doxygen" align="middle" border=0 |
|
50 width=110 height=53></a>1.2.16 </small></address> |
|
51 </body> |
|
52 </html> |