16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>Plugin_Project_Django.ProjectDjango.DjangoMigrationSelectionDialog</h1> |
23 <h1>Plugin_Project_Django.ProjectDjango.DjangoMigrationSelectionDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a dialog to select an application and migration. |
26 Module implementing a dialog to select an application and migration. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
|
34 |
31 <table> |
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#DjangoMigrationSelectionDialog">DjangoMigrationSelectionDialog</a></td> |
38 <td><a href="#DjangoMigrationSelectionDialog">DjangoMigrationSelectionDialog</a></td> |
34 <td>Class implementing a dialog to select an application and migration.</td> |
39 <td>Class implementing a dialog to select an application and migration.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
|
43 |
38 <table> |
44 <table> |
39 <tr><td>None</td></tr> |
45 <tr><td>None</td></tr> |
40 </table> |
46 </table> |
41 <hr /><hr /> |
47 <hr /> |
|
48 <hr /> |
42 <a NAME="DjangoMigrationSelectionDialog" ID="DjangoMigrationSelectionDialog"></a> |
49 <a NAME="DjangoMigrationSelectionDialog" ID="DjangoMigrationSelectionDialog"></a> |
43 <h2>DjangoMigrationSelectionDialog</h2> |
50 <h2>DjangoMigrationSelectionDialog</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing a dialog to select an application and migration. |
53 Class implementing a dialog to select an application and migration. |
46 </p> |
54 </p> |
47 <h3>Derived from</h3> |
55 <h3>Derived from</h3> |
48 QDialog, Ui_DjangoMigrationSelectionDialog |
56 QDialog, Ui_DjangoMigrationSelectionDialog |
49 <h3>Class Attributes</h3> |
57 <h3>Class Attributes</h3> |
|
58 |
50 <table> |
59 <table> |
51 <tr><td>None</td></tr> |
60 <tr><td>None</td></tr> |
52 </table> |
61 </table> |
53 <h3>Class Methods</h3> |
62 <h3>Class Methods</h3> |
|
63 |
54 <table> |
64 <table> |
55 <tr><td>None</td></tr> |
65 <tr><td>None</td></tr> |
56 </table> |
66 </table> |
57 <h3>Methods</h3> |
67 <h3>Methods</h3> |
|
68 |
58 <table> |
69 <table> |
|
70 |
59 <tr> |
71 <tr> |
60 <td><a href="#DjangoMigrationSelectionDialog.__init__">DjangoMigrationSelectionDialog</a></td> |
72 <td><a href="#DjangoMigrationSelectionDialog.__init__">DjangoMigrationSelectionDialog</a></td> |
61 <td>Constructor</td> |
73 <td>Constructor</td> |
62 </tr><tr> |
74 </tr> |
|
75 <tr> |
63 <td><a href="#DjangoMigrationSelectionDialog.getData">getData</a></td> |
76 <td><a href="#DjangoMigrationSelectionDialog.getData">getData</a></td> |
64 <td>Public method to get the selected data.</td> |
77 <td>Public method to get the selected data.</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#DjangoMigrationSelectionDialog.on_applicationComboBox_activated">on_applicationComboBox_activated</a></td> |
80 <td><a href="#DjangoMigrationSelectionDialog.on_applicationComboBox_activated">on_applicationComboBox_activated</a></td> |
67 <td>Private slot to update the migrations combo box.</td> |
81 <td>Private slot to update the migrations combo box.</td> |
68 </tr> |
82 </tr> |
69 </table> |
83 </table> |
70 <h3>Static Methods</h3> |
84 <h3>Static Methods</h3> |
|
85 |
71 <table> |
86 <table> |
72 <tr><td>None</td></tr> |
87 <tr><td>None</td></tr> |
73 </table> |
88 </table> |
|
89 |
74 <a NAME="DjangoMigrationSelectionDialog.__init__" ID="DjangoMigrationSelectionDialog.__init__"></a> |
90 <a NAME="DjangoMigrationSelectionDialog.__init__" ID="DjangoMigrationSelectionDialog.__init__"></a> |
75 <h4>DjangoMigrationSelectionDialog (Constructor)</h4> |
91 <h4>DjangoMigrationSelectionDialog (Constructor)</h4> |
76 <b>DjangoMigrationSelectionDialog</b>(<i>migrations, migrationRequired=False, parent=None</i>) |
92 <b>DjangoMigrationSelectionDialog</b>(<i>migrations, migrationRequired=False, suffix="", parent=None</i>) |
|
93 |
77 <p> |
94 <p> |
78 Constructor |
95 Constructor |
79 </p><dl> |
96 </p> |
|
97 <dl> |
|
98 |
80 <dt><i>migrations</i> (dict)</dt> |
99 <dt><i>migrations</i> (dict)</dt> |
81 <dd> |
100 <dd> |
82 dictionary containing the available migrations |
101 dictionary containing the available migrations |
83 </dd><dt><i>migrationRequired</i> (bool)</dt> |
102 </dd> |
|
103 <dt><i>migrationRequired</i> (bool)</dt> |
84 <dd> |
104 <dd> |
85 flag indicating that a migration must be |
105 flag indicating that a migration must be |
86 selected |
106 selected |
87 </dd><dt><i>parent</i> (QWidget)</dt> |
107 </dd> |
|
108 <dt><i>suffix</i> (str)</dt> |
|
109 <dd> |
|
110 icon suffix |
|
111 </dd> |
|
112 <dt><i>parent</i> (QWidget)</dt> |
88 <dd> |
113 <dd> |
89 reference to the parent widget |
114 reference to the parent widget |
90 </dd> |
115 </dd> |
91 </dl><a NAME="DjangoMigrationSelectionDialog.getData" ID="DjangoMigrationSelectionDialog.getData"></a> |
116 </dl> |
|
117 <a NAME="DjangoMigrationSelectionDialog.getData" ID="DjangoMigrationSelectionDialog.getData"></a> |
92 <h4>DjangoMigrationSelectionDialog.getData</h4> |
118 <h4>DjangoMigrationSelectionDialog.getData</h4> |
93 <b>getData</b>(<i></i>) |
119 <b>getData</b>(<i></i>) |
|
120 |
94 <p> |
121 <p> |
95 Public method to get the selected data. |
122 Public method to get the selected data. |
96 </p><dl> |
123 </p> |
|
124 <dl> |
97 <dt>Returns:</dt> |
125 <dt>Returns:</dt> |
98 <dd> |
126 <dd> |
99 tuple containing the selected application name and migration |
127 tuple containing the selected application name and migration |
100 </dd> |
128 </dd> |
101 </dl><dl> |
129 </dl> |
|
130 <dl> |
102 <dt>Return Type:</dt> |
131 <dt>Return Type:</dt> |
103 <dd> |
132 <dd> |
104 tuple of two str |
133 tuple of two str |
105 </dd> |
134 </dd> |
106 </dl><a NAME="DjangoMigrationSelectionDialog.on_applicationComboBox_activated" ID="DjangoMigrationSelectionDialog.on_applicationComboBox_activated"></a> |
135 </dl> |
|
136 <a NAME="DjangoMigrationSelectionDialog.on_applicationComboBox_activated" ID="DjangoMigrationSelectionDialog.on_applicationComboBox_activated"></a> |
107 <h4>DjangoMigrationSelectionDialog.on_applicationComboBox_activated</h4> |
137 <h4>DjangoMigrationSelectionDialog.on_applicationComboBox_activated</h4> |
108 <b>on_applicationComboBox_activated</b>(<i>app</i>) |
138 <b>on_applicationComboBox_activated</b>(<i>app</i>) |
|
139 |
109 <p> |
140 <p> |
110 Private slot to update the migrations combo box. |
141 Private slot to update the migrations combo box. |
111 </p><dl> |
142 </p> |
|
143 <dl> |
|
144 |
112 <dt><i>app</i> (str)</dt> |
145 <dt><i>app</i> (str)</dt> |
113 <dd> |
146 <dd> |
114 name of the selected application |
147 name of the selected application |
115 </dd> |
148 </dd> |
116 </dl> |
149 </dl> |