E5Gui/E5LineEdit.py

changeset 2084
d3f083dd0222
parent 2077
68a34718a0ce
child 2206
b2da5a8d7f15
equal deleted inserted replaced
2083:3005ae4463aa 2084:d3f083dd0222
6 """ 6 """
7 Module implementing specialized line edits. 7 Module implementing specialized line edits.
8 """ 8 """
9 9
10 from PyQt4.QtCore import pyqtSignal, Qt, QEvent, qVersion 10 from PyQt4.QtCore import pyqtSignal, Qt, QEvent, qVersion
11 from PyQt4.QtGui import QLineEdit, QStyle, QPainter, QPalette, \ 11 from PyQt4.QtGui import QLineEdit, QStyle, QPainter, QPalette, QStyleOptionFrameV2, \
12 QWidget, QHBoxLayout, QBoxLayout, QLayout, QApplication, QSpacerItem, QSizePolicy 12 QWidget, QHBoxLayout, QBoxLayout, QLayout, QApplication, QSpacerItem, QSizePolicy
13 try:
14 from PyQt4.QtGui import QStyleOptionFrameV2
15 except ImportError:
16 from PyQt4.QtGui import QStyleOptionFrame as QStyleOptionFrameV2 # __IGNORE_WARNING__
17 13
18 14
19 class SideWidget(QWidget): 15 class SideWidget(QWidget):
20 """ 16 """
21 Class implementing the side widgets for the line edit class. 17 Class implementing the side widgets for the line edit class.

eric ide

mercurial