eric7/Documentation/Source/eric7.Tasks.TaskPropertiesDialog.html

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
equal deleted inserted replaced
8371:d6062691d424 8372:e0227a7c850e
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Tasks.TaskPropertiesDialog</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body>
22 <a NAME="top" ID="top"></a>
23 <h1>eric7.Tasks.TaskPropertiesDialog</h1>
24
25 <p>
26 Module implementing the task properties dialog.
27 </p>
28 <h3>Global Attributes</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <h3>Classes</h3>
34
35 <table>
36
37 <tr>
38 <td><a href="#TaskPropertiesDialog">TaskPropertiesDialog</a></td>
39 <td>Class implementing the task properties dialog.</td>
40 </tr>
41 </table>
42 <h3>Functions</h3>
43
44 <table>
45 <tr><td>None</td></tr>
46 </table>
47 <hr />
48 <hr />
49 <a NAME="TaskPropertiesDialog" ID="TaskPropertiesDialog"></a>
50 <h2>TaskPropertiesDialog</h2>
51
52 <p>
53 Class implementing the task properties dialog.
54 </p>
55 <h3>Derived from</h3>
56 QDialog, Ui_TaskPropertiesDialog
57 <h3>Class Attributes</h3>
58
59 <table>
60 <tr><td>None</td></tr>
61 </table>
62 <h3>Class Methods</h3>
63
64 <table>
65 <tr><td>None</td></tr>
66 </table>
67 <h3>Methods</h3>
68
69 <table>
70
71 <tr>
72 <td><a href="#TaskPropertiesDialog.__init__">TaskPropertiesDialog</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#TaskPropertiesDialog.__setMode">__setMode</a></td>
77 <td>Private method to show or hide dialog elements depending on the task kind.</td>
78 </tr>
79 <tr>
80 <td><a href="#TaskPropertiesDialog.getData">getData</a></td>
81 <td>Public method to retrieve the dialogs data.</td>
82 </tr>
83 <tr>
84 <td><a href="#TaskPropertiesDialog.isManualTaskMode">isManualTaskMode</a></td>
85 <td>Public method to check, if the dialog is in manual task mode.</td>
86 </tr>
87 <tr>
88 <td><a href="#TaskPropertiesDialog.setSubTaskMode">setSubTaskMode</a></td>
89 <td>Public slot to set the sub-task mode.</td>
90 </tr>
91 </table>
92 <h3>Static Methods</h3>
93
94 <table>
95 <tr><td>None</td></tr>
96 </table>
97
98 <a NAME="TaskPropertiesDialog.__init__" ID="TaskPropertiesDialog.__init__"></a>
99 <h4>TaskPropertiesDialog (Constructor)</h4>
100 <b>TaskPropertiesDialog</b>(<i>task=None, parent=None, projectOpen=False</i>)
101
102 <p>
103 Constructor
104 </p>
105 <dl>
106
107 <dt><i>task</i> (Task)</dt>
108 <dd>
109 the task object to be shown
110 </dd>
111 <dt><i>parent</i> (QWidget)</dt>
112 <dd>
113 the parent widget
114 </dd>
115 <dt><i>projectOpen</i> (bool)</dt>
116 <dd>
117 flag indicating status of the project
118 </dd>
119 </dl>
120 <a NAME="TaskPropertiesDialog.__setMode" ID="TaskPropertiesDialog.__setMode"></a>
121 <h4>TaskPropertiesDialog.__setMode</h4>
122 <b>__setMode</b>(<i>isFileTask, projectOpen</i>)
123
124 <p>
125 Private method to show or hide dialog elements depending on the task
126 kind.
127 </p>
128 <dl>
129
130 <dt><i>isFileTask</i> (bool)</dt>
131 <dd>
132 flag indicating a file task (i.e. extracted task)
133 </dd>
134 <dt><i>projectOpen</i> (bool)</dt>
135 <dd>
136 flag indicating status of the project
137 </dd>
138 </dl>
139 <a NAME="TaskPropertiesDialog.getData" ID="TaskPropertiesDialog.getData"></a>
140 <h4>TaskPropertiesDialog.getData</h4>
141 <b>getData</b>(<i></i>)
142
143 <p>
144 Public method to retrieve the dialogs data.
145 </p>
146 <dl>
147 <dt>Return:</dt>
148 <dd>
149 tuple of description, priority, type, completion flag,
150 project flag and long text
151 </dd>
152 </dl>
153 <dl>
154 <dt>Return Type:</dt>
155 <dd>
156 tuple of (str, TaskPriority, TaskType, bool, bool, str)
157 </dd>
158 </dl>
159 <a NAME="TaskPropertiesDialog.isManualTaskMode" ID="TaskPropertiesDialog.isManualTaskMode"></a>
160 <h4>TaskPropertiesDialog.isManualTaskMode</h4>
161 <b>isManualTaskMode</b>(<i></i>)
162
163 <p>
164 Public method to check, if the dialog is in manual task mode.
165 </p>
166 <dl>
167 <dt>Return:</dt>
168 <dd>
169 flag indicating manual task mode
170 </dd>
171 </dl>
172 <dl>
173 <dt>Return Type:</dt>
174 <dd>
175 bool
176 </dd>
177 </dl>
178 <a NAME="TaskPropertiesDialog.setSubTaskMode" ID="TaskPropertiesDialog.setSubTaskMode"></a>
179 <h4>TaskPropertiesDialog.setSubTaskMode</h4>
180 <b>setSubTaskMode</b>(<i>projectTask</i>)
181
182 <p>
183 Public slot to set the sub-task mode.
184 </p>
185 <dl>
186
187 <dt><i>projectTask</i></dt>
188 <dd>
189 flag indicating a project related task (boolean)
190 </dd>
191 </dl>
192 <div align="right"><a href="#top">Up</a></div>
193 <hr />
194 </body></html>

eric ide

mercurial