View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0012861 | ParaView | (No Category) | public | 2012-01-17 15:04 | 2016-08-12 09:59 | ||||
Reporter | Hal Canary | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | 3.12 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0012861: Unable to ask for user input from within ParaView Python macro | ||||||||
Description | In ParaView 3.8.1, it was possible to write a Python macro that asked the user for input with a dialog window. This was done with the following simple code: import PyQt4.QtGui (ret, ok) = PyQt4.QtGui.QInputDialog.getInt( PyQt4.QtGui.QWidget(), 'T', 'L') if not ok: raise Exception('input error') print ret Starting with 3.10 and continuing with 3.12.0, this will fail. If there is a good reason to disallow "import PyQt4.QtGui" in ParaView, I understand, but can we implement equivalent functionality to these four static functions PyQt4.QtGui.QInputDialog.getInt() PyQt4.QtGui.QInputDialog.getItem() PyQt4.QtGui.QInputDialog.getDouble() PyQt4.QtGui.QInputDialog.getText() from within a ParaView Python macro? | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Topic Name | |||||||||
Type | usability | ||||||||
Attached Files | python-gui-test.py [^] (1,691 bytes) 2012-01-17 15:04 | ||||||||
Relationships | |
Relationships |
Notes | |
(0038123) Kitware Robot (administrator) 2016-08-12 09:59 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-01-17 15:04 | Hal Canary | New Issue | |
2012-01-17 15:04 | Hal Canary | File Added: python-gui-test.py | |
2016-08-12 09:59 | Kitware Robot | Note Added: 0038123 | |
2016-08-12 09:59 | Kitware Robot | Status | backlog => closed |
2016-08-12 09:59 | Kitware Robot | Resolution | open => moved |
2016-08-12 09:59 | Kitware Robot | Assigned To | => Kitware Robot |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |