Salome HOME
projects
/
samples
/
pyhello.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3bc2f4f
)
The application now has separate desktop for each study, so desktop should be reiniti...
T3_0_0_a4
V3_0_0
author
vsr
<vsr@opencascade.com>
Fri, 24 Jun 2005 07:57:36 +0000
(07:57 +0000)
committer
vsr
<vsr@opencascade.com>
Fri, 24 Jun 2005 07:57:36 +0000
(07:57 +0000)
src/PYHELLOGUI/PYHELLOGUI.py
patch
|
blob
|
history
diff --git
a/src/PYHELLOGUI/PYHELLOGUI.py
b/src/PYHELLOGUI/PYHELLOGUI.py
index 5c5c8245caee4bb1ffd9b9d827a119a822a7f7c3..27370ed0841bf10d61ffa7df87c0d0e4442eb0dd 100644
(file)
--- a/
src/PYHELLOGUI/PYHELLOGUI.py
+++ b/
src/PYHELLOGUI/PYHELLOGUI.py
@@
-8,7
+8,6
@@
WORKSPACE=None
import SalomePyQt
# Communication with Salome : desktop, signal and slots
sgPyQt=SalomePyQt.SalomePyQt()
-desktop=sgPyQt.getDesktop()
# LifeCycle and component PYHELLO
import salome
@@
-61,6
+60,7
@@
class MyDialog(qt.QDialog):
def ExecPYHELLO(ws):
# Modal dialog, parent desktop
+ desktop=sgPyQt.getDesktop()
w=MyDialog(desktop,"Name",1)
# Wait answer
r=w.exec_loop()