eric6/E5Gui/E5LineEdit.py

branch
maintenance
changeset 8043
0acf98cd089a
parent 7924
8a96736d465e
parent 7923
91e843545d9a
child 8176
31965986ecd1
equal deleted inserted replaced
7991:866adc8c315b 8043:0acf98cd089a
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