7 Module implementing a button class to be used with E5LineEdit. |
7 Module implementing a button class to be used with E5LineEdit. |
8 """ |
8 """ |
9 |
9 |
10 from __future__ import unicode_literals |
10 from __future__ import unicode_literals |
11 |
11 |
12 from PyQt4.QtCore import Qt, QPoint, QPointF |
12 from PyQt5.QtCore import Qt, QPoint, QPointF |
13 from PyQt4.QtGui import QAbstractButton, QPainter, QPainterPath |
13 from PyQt5.QtGui import QPainter, QPainterPath |
|
14 from PyQt5.QtWidgets import QAbstractButton |
14 |
15 |
15 |
16 |
16 class E5LineEditButton(QAbstractButton): |
17 class E5LineEditButton(QAbstractButton): |
17 """ |
18 """ |
18 Class implementing a button to be used with E5LineEdit. |
19 Class implementing a button to be used with E5LineEdit. |