qt:pyqt_ide_autocompletion_testing
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
qt:pyqt_ide_autocompletion_testing [2011/04/17 11:17] – [Tempalate] mithat | qt:pyqt_ide_autocompletion_testing [2011/04/17 11:22] (current) – [Tempalate] mithat | ||
---|---|---|---|
Line 19: | Line 19: | ||
open() | open() | ||
</ | </ | ||
- | This is from my {{: | + | This is from my {{: |
- | ===== Spyder ===== | + | |
- | <code python> | + | |
- | if __name__ == ' | + | |
- | # create application | + | |
- | app = QApplication(sys.argv) # worked, but calltip/doc not that helpful | + | |
- | app.setApplicationName('My PyQt4 QtGui Project') # good | + | |
- | # create widget | + | |
- | w = MainWindow() # good | + | |
- | w.setWindowTitle('My PyQt4 QtGui Project') # w's setWindowTitle not detected, no calltip | + | |
- | w.show() # w's show not detected | + | |
- | # connection | + | |
- | QObject.connect(app, | + | |
- | # no help at all in suggesting signals | + | |
- | # execute application | + | |
- | sys.exit(app.exec_()) # no ac until ' | + | |
- | ############################ | + | |
- | open() # completion at ' | + | |
- | </code> | + | |
- | A huge win for Spyder is that the docs remain onscreen after the calltips have disappeared. | + | |
- | Syntax error markers can be very slow. | + | |
- | ===== PyDev ===== | + | ===== Eclipse + PyDev ===== |
<code python> | <code python> | ||
if __name__ == ' | if __name__ == ' | ||
Line 79: | Line 59: | ||
</ | </ | ||
Calltips remain onscreen throughout typing. | Calltips remain onscreen throughout typing. | ||
+ | |||
===== Eric (Assistant handles both) ===== | ===== Eric (Assistant handles both) ===== | ||
<code python> | <code python> | ||
Line 117: | Line 98: | ||
</ | </ | ||
Calltips remain onscreen throughout typing. | Calltips remain onscreen throughout typing. | ||
+ | |||
+ | ===== Spyder ===== | ||
+ | <code python> | ||
+ | if __name__ == ' | ||
+ | # create application | ||
+ | app = QApplication(sys.argv) # worked, but calltip/doc not that helpful | ||
+ | app.setApplicationName(' | ||
+ | # create widget | ||
+ | w = MainWindow() # good | ||
+ | w.setWindowTitle(' | ||
+ | w.show() # w's show not detected | ||
+ | # connection | ||
+ | QObject.connect(app, | ||
+ | # no help at all in suggesting signals and slots | ||
+ | # execute application | ||
+ | sys.exit(app.exec_()) # no ac until ' | ||
+ | ############################ | ||
+ | open() # completion at ' | ||
+ | </ | ||
+ | A huge win for Spyder is that the docs remain onscreen after the calltips have disappeared. | ||
+ | Syntax error markers can be very slow. | ||
qt/pyqt_ide_autocompletion_testing.txt · Last modified: 2011/04/17 11:22 by mithat