projects
/
maegirls
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
119d970
)
call update() instead of repaint().
author
v13
<v13>
Mon, 1 Mar 2010 22:58:58 +0000
(22:58 +0000)
committer
v13
<v13>
Mon, 1 Mar 2010 22:58:58 +0000
(22:58 +0000)
trunk/src/graph.py
patch
|
blob
|
history
trunk/src/win.py
patch
|
blob
|
history
diff --git
a/trunk/src/graph.py
b/trunk/src/graph.py
index
7d6adcc
..
4e612b1
100755
(executable)
--- a/
trunk/src/graph.py
+++ b/
trunk/src/graph.py
@@
-48,7
+48,7
@@
class DaysGraph(QWidget):
def reset(self):
self.first_day=algo.today()
- self.repaint()
+ self.update()
def paintEvent(self, event):
w0=self.width()
@@
-248,7
+248,7
@@
class DaysGraph(QWidget):
torepaint=True
if torepaint:
- self.repaint()
+ self.update()
def mousePressEvent(self, event):
pos=event.pos()
diff --git
a/trunk/src/win.py
b/trunk/src/win.py
index
c453dd4
..
8c78300
100755
(executable)
--- a/
trunk/src/win.py
+++ b/
trunk/src/win.py
@@
-349,7
+349,7
@@
class MaeGirls(QMainWindow):
cfg=config.loadGirl(name)
self.girl=name
self.algo.setReference(cfg['day0'], cfg['cycle'])
- self.repaint()
+ self.update()
def menuConfig(self):
if self.dlgConfig==None:
@@
-385,7
+385,7
@@
class MaeGirls(QMainWindow):
self.setGirl(name)
- self.repaint()
+ self.update()
def menuGirls(self):
if self.dlgGirls==None: