eric6/Documentation/Source/eric6.WebBrowser.Download.DownloadAskActionDialog.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7989
a21d673a8f99
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
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>eric6.WebBrowser.Download.DownloadAskActionDialog</h1> 23 <h1>eric6.WebBrowser.Download.DownloadAskActionDialog</h1>
24
23 <p> 25 <p>
24 Module implementing a dialog to ask for a download action. 26 Module implementing a dialog to ask for a download action.
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="#DownloadAskActionDialog">DownloadAskActionDialog</a></td> 38 <td><a href="#DownloadAskActionDialog">DownloadAskActionDialog</a></td>
34 <td>Class implementing a dialog to ask for a download action.</td> 39 <td>Class implementing a dialog to ask for a download action.</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="DownloadAskActionDialog" ID="DownloadAskActionDialog"></a> 49 <a NAME="DownloadAskActionDialog" ID="DownloadAskActionDialog"></a>
43 <h2>DownloadAskActionDialog</h2> 50 <h2>DownloadAskActionDialog</h2>
51
44 <p> 52 <p>
45 Class implementing a dialog to ask for a download action. 53 Class implementing a dialog to ask for a download action.
46 </p> 54 </p>
47 <h3>Derived from</h3> 55 <h3>Derived from</h3>
48 QDialog, Ui_DownloadAskActionDialog 56 QDialog, Ui_DownloadAskActionDialog
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="#DownloadAskActionDialog.__init__">DownloadAskActionDialog</a></td> 72 <td><a href="#DownloadAskActionDialog.__init__">DownloadAskActionDialog</a></td>
61 <td>Constructor</td> 73 <td>Constructor</td>
62 </tr><tr> 74 </tr>
75 <tr>
63 <td><a href="#DownloadAskActionDialog.getAction">getAction</a></td> 76 <td><a href="#DownloadAskActionDialog.getAction">getAction</a></td>
64 <td>Public method to get the selected action.</td> 77 <td>Public method to get the selected action.</td>
65 </tr> 78 </tr>
66 </table> 79 </table>
67 <h3>Static Methods</h3> 80 <h3>Static Methods</h3>
81
68 <table> 82 <table>
69 <tr><td>None</td></tr> 83 <tr><td>None</td></tr>
70 </table> 84 </table>
85
71 <a NAME="DownloadAskActionDialog.__init__" ID="DownloadAskActionDialog.__init__"></a> 86 <a NAME="DownloadAskActionDialog.__init__" ID="DownloadAskActionDialog.__init__"></a>
72 <h4>DownloadAskActionDialog (Constructor)</h4> 87 <h4>DownloadAskActionDialog (Constructor)</h4>
73 <b>DownloadAskActionDialog</b>(<i>fileName, mimeType, baseUrl, parent=None</i>) 88 <b>DownloadAskActionDialog</b>(<i>fileName, mimeType, baseUrl, parent=None</i>)
89
74 <p> 90 <p>
75 Constructor 91 Constructor
76 </p><dl> 92 </p>
93 <dl>
94
77 <dt><i>fileName</i></dt> 95 <dt><i>fileName</i></dt>
78 <dd> 96 <dd>
79 file name (string) 97 file name (string)
80 </dd><dt><i>mimeType</i></dt> 98 </dd>
99 <dt><i>mimeType</i></dt>
81 <dd> 100 <dd>
82 mime type (string) 101 mime type (string)
83 </dd><dt><i>baseUrl</i></dt> 102 </dd>
103 <dt><i>baseUrl</i></dt>
84 <dd> 104 <dd>
85 URL (string) 105 URL (string)
86 </dd><dt><i>parent</i></dt> 106 </dd>
107 <dt><i>parent</i></dt>
87 <dd> 108 <dd>
88 reference to the parent widget (QWidget) 109 reference to the parent widget (QWidget)
89 </dd> 110 </dd>
90 </dl><a NAME="DownloadAskActionDialog.getAction" ID="DownloadAskActionDialog.getAction"></a> 111 </dl>
112 <a NAME="DownloadAskActionDialog.getAction" ID="DownloadAskActionDialog.getAction"></a>
91 <h4>DownloadAskActionDialog.getAction</h4> 113 <h4>DownloadAskActionDialog.getAction</h4>
92 <b>getAction</b>(<i></i>) 114 <b>getAction</b>(<i></i>)
115
93 <p> 116 <p>
94 Public method to get the selected action. 117 Public method to get the selected action.
95 </p><dl> 118 </p>
119 <dl>
96 <dt>Returns:</dt> 120 <dt>Returns:</dt>
97 <dd> 121 <dd>
98 selected action ("save", "open", "scan" or "cancel") 122 selected action ("save", "open", "scan" or "cancel")
99 </dd> 123 </dd>
100 </dl> 124 </dl>

eric ide

mercurial