1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
|
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<title>The Edit Slots Dialog</title>
<meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.49">
<link rel="HOME" href="book1.html">
<link rel="UP" title="The Dialogs" href="chap7_1.html">
<link rel="PREVIOUS" title="The Edit Multiline Edit Dialog" href="chap7_8.html">
<link rel="NEXT" title="The Form Settings Dialog" href="chap7_10.html">
</head>
<body class="SECT1" bgcolor="white" text="black" link="blue" vlink="#840084" alink="blue">
<div class="NAVHEADER">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="500" align="left" valign="middle"><img height="90" width="475" src="figures/title.png" border="0"></td>
<td></td>
<td align="right" valign="top"><a href="../company/about/trolls.html">
<table border="0" cellpadding="0" cellspacing="0" width="137">
<tr>
<td><img height="100" width="100" src="figures/f001.png" border="0"></td>
<td><img height="100" width="100" src="figures/qtlogo.png" align="top" border="0"></td>
</tr>
</table>
</a></td>
</tr>
<tr>
<td width="500"><spacer type="block" width="500" height="20"></td>
<td><spacer type="block" width="42" height="20"></td>
<td><br>
</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="black">
<tr>
<td width="10%" align="left" valign="bottom"><a href="chap7_8.html"><img height="20" width="20" src="arrows/left.png" border="0"></a></td>
<td width="80%" align="center" valign="bottom"><font color="white"><b>Chapter 7. The Dialogs</b></font></td>
<td width="10%" align="right" valign="bottom"><a href="chap7_10.html"><img height="20" width="20" src="arrows/right.png" border="0"></a></td>
</tr>
</table>
</div>
<div class="SECT1">
<h1 class="SECT1"><a name="AEN2158"></a>The Edit Slots Dialog</h1>
<div class="FIGURE">
<a name="QT-DESIGNER-DIALOGS-EDITSLOTS"></a>
<p><b>Figure 7-9. The Edit Slots dialog</b></p>
<p><img src="figures/editslots.png"></p>
</div>
<p>In this dialog, which is available from the menu entry <span class="GUIMENU">Edit/Slots</span> or via the toolbar, you can edit the slots of the currently active form. The unlabeled central list box lists all the slots of this form, together with their access specifiers and whether they are in use; i.e., whether there is any signal connected to them.</p>
<dl>
<dt><span class="GUILABEL">New Slot</span>
<dd>
<p>Click this button to insert a new slot into the list. By default, it will be called <tt class="LITERAL">new_slot()</tt>, will have no parameters, will have the access specifier <tt class="LITERAL">public</tt>, and of course will not be in use.</p>
<dt><span class="GUILABEL">Delete Slot</span>
<dd>
<p>Click this button to delete the currently selected slot.</p>
<dt><span class="GUILABEL">Slot</span>
<dd>
<p>In this edit field, you can change the name and the parameters of the currently selected slot. Simply edit the name and enter the parameter types between the parentheses.</p>
<dt><span class="GUILABEL">Access</span>
<dd>
<p>Here you can provide the access specifier for the slot, which can be either <tt class="LITERAL">public</tt> or <tt class="LITERAL">protected</tt>. The access specifier <tt class="LITERAL">private</tt> is not possible, since you need to reimplement the slot in a subclass.</p>
</dl>
</div>
<div class="NAVFOOTER">
<br>
<br>
<table width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="black">
<tr>
<td width="33%" align="left" valign="top"><a href="chap7_8.html"><img height="20" width="20" src="arrows/left.png" border="0"></a></td>
<td width="34%" align="center" valign="top"><a href="book1.html"><img height="20" width="25" src="arrows/home.png" border="0"></a></td>
<td width="33%" align="right" valign="top"><a href="chap7_10.html"><img height="20" width="20" src="arrows/right.png" border="0"></a></td>
</tr>
<tr>
<td width="33%" align="left" valign="top"><font color="white" >The Edit Multiline Edit Dialog</font></td>
<td width="34%" align="center" valign="top"><a href="chap7_1.html"><img height="20" width="20" src="arrows/up.png" border="0"></a></td>
<td width="33%" align="right" valign="top"><font color="white" >The Form Settings Dialog</font></td>
</tr>
</table>
</div>
</body>
</html>
|