Documentation/Source/eric5.E5Gui.E5LineEdit.html

changeset 58
37f0444c3479
parent 55
b5c84934de9c
child 409
0ea528e80202
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
20 </style> 20 </style>
21 </head> 21 </head>
22 <body><a NAME="top" ID="top"></a> 22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.E5Gui.E5LineEdit</h1> 23 <h1>eric5.E5Gui.E5LineEdit</h1>
24 <p> 24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#115;&#112;&#101;&#99;&#105;&#97;&#108;&#105;z&#101;&#100; &#108;&#105;&#110;&#101; &#101;&#100;&#105;&#116;&#115;. 25 Module implementing specialized line edits.
26 </p> 26 </p>
27 <h3>Global Attributes</h3> 27 <h3>Global Attributes</h3>
28 <table> 28 <table>
29 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
30 </table> 30 </table>
31 <h3>Classes</h3> 31 <h3>Classes</h3>
32 <table> 32 <table>
33 <tr> 33 <tr>
34 <td><a href="#E5LineEdit">E5LineEdit</a></td> 34 <td><a href="#E5LineEdit">E5LineEdit</a></td>
35 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#108;&#105;&#110;&#101; &#101;&#100;&#105;&#116; w&#105;&#100;&#103;&#101;&#116; &#115;&#104;&#111;w&#105;&#110;&#103; &#115;&#111;&#109;&#101; &#105;&#110;&#97;&#99;&#116;&#105;v&#101; &#116;&#101;x&#116;.</td> 35 <td>Class implementing a line edit widget showing some inactive text.</td>
36 </tr> 36 </tr>
37 </table> 37 </table>
38 <h3>Functions</h3> 38 <h3>Functions</h3>
39 <table> 39 <table>
40 <tr><td>None</td></tr> 40 <tr><td>None</td></tr>
41 </table> 41 </table>
42 <hr /><hr /> 42 <hr /><hr />
43 <a NAME="E5LineEdit" ID="E5LineEdit"></a> 43 <a NAME="E5LineEdit" ID="E5LineEdit"></a>
44 <h2>E5LineEdit</h2> 44 <h2>E5LineEdit</h2>
45 <p> 45 <p>
46 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#108;&#105;&#110;&#101; &#101;&#100;&#105;&#116; w&#105;&#100;&#103;&#101;&#116; &#115;&#104;&#111;w&#105;&#110;&#103; &#115;&#111;&#109;&#101; &#105;&#110;&#97;&#99;&#116;&#105;v&#101; &#116;&#101;x&#116;. 46 Class implementing a line edit widget showing some inactive text.
47 </p> 47 </p>
48 <h3>Derived from</h3> 48 <h3>Derived from</h3>
49 QLineEdit 49 QLineEdit
50 <h3>Class Attributes</h3> 50 <h3>Class Attributes</h3>
51 <table> 51 <table>
53 </table> 53 </table>
54 <h3>Methods</h3> 54 <h3>Methods</h3>
55 <table> 55 <table>
56 <tr> 56 <tr>
57 <td><a href="#E5LineEdit.__init__">E5LineEdit</a></td> 57 <td><a href="#E5LineEdit.__init__">E5LineEdit</a></td>
58 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 58 <td>Constructor</td>
59 </tr><tr> 59 </tr><tr>
60 <td><a href="#E5LineEdit.inactiveText">inactiveText</a></td> 60 <td><a href="#E5LineEdit.inactiveText">inactiveText</a></td>
61 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#105;&#110;&#97;&#99;&#116;&#105;v&#101; &#116;&#101;x&#116;.</td> 61 <td>Public method to get the inactive text.</td>
62 </tr><tr> 62 </tr><tr>
63 <td><a href="#E5LineEdit.paintEvent">paintEvent</a></td> 63 <td><a href="#E5LineEdit.paintEvent">paintEvent</a></td>
64 <td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#104;&#97;&#110;&#100;&#108;&#105;&#110;&#103; &#97; &#112;&#97;&#105;&#110;&#116; &#101;v&#101;&#110;&#116;.</td> 64 <td>Protected method handling a paint event.</td>
65 </tr><tr> 65 </tr><tr>
66 <td><a href="#E5LineEdit.setInactiveText">setInactiveText</a></td> 66 <td><a href="#E5LineEdit.setInactiveText">setInactiveText</a></td>
67 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#105;&#110;&#97;&#99;&#116;&#105;v&#101; &#116;&#101;x&#116;.</td> 67 <td>Public method to set the inactive text.</td>
68 </tr> 68 </tr>
69 </table> 69 </table>
70 <a NAME="E5LineEdit.__init__" ID="E5LineEdit.__init__"></a> 70 <a NAME="E5LineEdit.__init__" ID="E5LineEdit.__init__"></a>
71 <h4>E5LineEdit (Constructor)</h4> 71 <h4>E5LineEdit (Constructor)</h4>
72 <b>E5LineEdit</b>(<i>parent = None, inactiveText = ""</i>) 72 <b>E5LineEdit</b>(<i>parent = None, inactiveText = ""</i>)
73 <p> 73 <p>
74 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 74 Constructor
75 </p><dl> 75 </p><dl>
76 <dt><i>parent</i></dt> 76 <dt><i>parent</i></dt>
77 <dd> 77 <dd>
78 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; w&#105;&#100;&#103;&#101;&#116; (&#81;&#87;&#105;&#100;&#103;&#101;&#116;) 78 reference to the parent widget (QWidget)
79 </dd><dt><i>inactiveText</i></dt> 79 </dd><dt><i>inactiveText</i></dt>
80 <dd> 80 <dd>
81 &#116;&#101;x&#116; &#116;&#111; &#98;&#101; &#115;&#104;&#111;w&#110; &#111;&#110; &#105;&#110;&#97;&#99;&#116;&#105;v&#105;&#116;y (&#115;&#116;&#114;&#105;&#110;&#103;) 81 text to be shown on inactivity (string)
82 </dd> 82 </dd>
83 </dl><a NAME="E5LineEdit.inactiveText" ID="E5LineEdit.inactiveText"></a> 83 </dl><a NAME="E5LineEdit.inactiveText" ID="E5LineEdit.inactiveText"></a>
84 <h4>E5LineEdit.inactiveText</h4> 84 <h4>E5LineEdit.inactiveText</h4>
85 <b>inactiveText</b>(<i></i>) 85 <b>inactiveText</b>(<i></i>)
86 <p> 86 <p>
87 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#105;&#110;&#97;&#99;&#116;&#105;v&#101; &#116;&#101;x&#116;. 87 Public method to get the inactive text.
88 </p><p> 88 </p><p>
89 &#114;&#101;&#116;&#117;&#114;&#110; &#105;&#110;&#97;&#99;&#116;&#105;v&#101; &#116;&#101;x&#116; (&#115;&#116;&#114;&#105;&#110;&#103;) 89 return inactive text (string)
90 </p><a NAME="E5LineEdit.paintEvent" ID="E5LineEdit.paintEvent"></a> 90 </p><a NAME="E5LineEdit.paintEvent" ID="E5LineEdit.paintEvent"></a>
91 <h4>E5LineEdit.paintEvent</h4> 91 <h4>E5LineEdit.paintEvent</h4>
92 <b>paintEvent</b>(<i>evt</i>) 92 <b>paintEvent</b>(<i>evt</i>)
93 <p> 93 <p>
94 &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#104;&#97;&#110;&#100;&#108;&#105;&#110;&#103; &#97; &#112;&#97;&#105;&#110;&#116; &#101;v&#101;&#110;&#116;. 94 Protected method handling a paint event.
95 </p><dl> 95 </p><dl>
96 <dt><i>evt</i></dt> 96 <dt><i>evt</i></dt>
97 <dd> 97 <dd>
98 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#105;&#110;&#116; &#101;v&#101;&#110;&#116; (&#81;&#80;&#97;&#105;&#110;&#116;&#69;v&#101;&#110;&#116;) 98 reference to the paint event (QPaintEvent)
99 </dd> 99 </dd>
100 </dl><a NAME="E5LineEdit.setInactiveText" ID="E5LineEdit.setInactiveText"></a> 100 </dl><a NAME="E5LineEdit.setInactiveText" ID="E5LineEdit.setInactiveText"></a>
101 <h4>E5LineEdit.setInactiveText</h4> 101 <h4>E5LineEdit.setInactiveText</h4>
102 <b>setInactiveText</b>(<i>inactiveText</i>) 102 <b>setInactiveText</b>(<i>inactiveText</i>)
103 <p> 103 <p>
104 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#105;&#110;&#97;&#99;&#116;&#105;v&#101; &#116;&#101;x&#116;. 104 Public method to set the inactive text.
105 </p><dl> 105 </p><dl>
106 <dt><i>inactiveText</i></dt> 106 <dt><i>inactiveText</i></dt>
107 <dd> 107 <dd>
108 &#116;&#101;x&#116; &#116;&#111; &#98;&#101; &#115;&#104;&#111;w&#110; &#111;&#110; &#105;&#110;&#97;&#99;&#116;&#105;v&#105;&#116;y (&#115;&#116;&#114;&#105;&#110;&#103;) 108 text to be shown on inactivity (string)
109 </dd> 109 </dd>
110 </dl> 110 </dl>
111 <div align="right"><a href="#top">Up</a></div> 111 <div align="right"><a href="#top">Up</a></div>
112 <hr /> 112 <hr />
113 </body></html> 113 </body></html>

eric ide

mercurial