1
0

define frozen signal for exchange rate plugin

This commit is contained in:
ThomasV
2014-06-24 17:44:31 +02:00
parent c742e8c5cf
commit f4dfec4565
4 changed files with 6 additions and 0 deletions

View File

@@ -6,10 +6,12 @@ from PyQt4.QtGui import *
from decimal import Decimal
class MyLineEdit(QLineEdit):
frozen = pyqtSignal()
def setFrozen(self, b):
self.setReadOnly(b)
self.setFrame(not b)
self.frozen.emit()
class AmountEdit(MyLineEdit):