eric6/E5Gui/E5LineEdit.py

changeset 7900
72b88fb20261
parent 7780
41420f82c0ac
child 7923
91e843545d9a
equal deleted inserted replaced
7899:ecf67e07b6e0 7900:72b88fb20261
247 side=E5LineEdit.RightSide): 247 side=E5LineEdit.RightSide):
248 """ 248 """
249 Constructor 249 Constructor
250 250
251 @param parent reference to the parent widget (QWidget) 251 @param parent reference to the parent widget (QWidget)
252 @keyparam inactiveText text to be shown on inactivity (string) 252 @param inactiveText text to be shown on inactivity (string)
253 @keyparam side side the clear button should be shown at 253 @param side side the clear button should be shown at
254 (E5LineEdit.RightSide, E5LineEdit.LeftSide) 254 (E5LineEdit.RightSide, E5LineEdit.LeftSide)
255 @exception ValueError raised to indicate a bad parameter value 255 @exception ValueError raised to indicate a bad parameter value
256 """ 256 """
257 if side not in [E5LineEdit.RightSide, E5LineEdit.LeftSide]: 257 if side not in [E5LineEdit.RightSide, E5LineEdit.LeftSide]:
258 raise ValueError("Bad value for 'side' parameter.") 258 raise ValueError("Bad value for 'side' parameter.")

eric ide

mercurial