|
|
|
@ -1979,8 +1979,8 @@ class PlusRow (qt.QWidget):
|
|
|
|
|
move_x = parent.window().x() + parent.window().width() - \
|
|
|
|
|
parent.width() + parent.width()/2 - self.size().width()/2
|
|
|
|
|
|
|
|
|
|
self.move(move_x, parent.window().y() + parent.window().height()/2 - \
|
|
|
|
|
self.size().height()/2)
|
|
|
|
|
self.move(int(move_x), int(parent.window().y() + parent.window().height()/2 - \
|
|
|
|
|
self.size().height()/2))
|
|
|
|
|
|
|
|
|
|
def change_readonly(self, i, values, comments, index_comment,index_values):
|
|
|
|
|
def wrapper(index):
|
|
|
|
@ -2270,7 +2270,7 @@ class LabelTaskWgt(qt.QLabel):
|
|
|
|
|
def paintEvent(self, e):
|
|
|
|
|
p = qt.QPainter(self)
|
|
|
|
|
fm = p.fontMetrics()
|
|
|
|
|
y = (self.sizeHint().height() - self.br_.height()) / 2 + fm.ascent()
|
|
|
|
|
y = int((self.sizeHint().height() - self.br_.height()) / 2 + fm.ascent())
|
|
|
|
|
|
|
|
|
|
dot_w = fm.width('. ')
|
|
|
|
|
for x in range (0, self.width(), dot_w):
|
|
|
|
|