Changeset eaad234fa0577e4412ead717f199965b5f4eeb70
- Timestamp:
- 02/24/11 15:46:25 (15 months ago)
- Children:
- d9837901e9ca9799810c1be87304c23342618f01
- Parents:
- 613c5fb26da9ceaa0224cada8cbf11c409b45d84
- git-committer:
- Luper Rouch <luper.rouch@…> (02/24/11 15:46:25)
- Location:
- pyflu/pyflu
- Files:
-
- 1 added
- 3 edited
-
__init__.py (modified) (1 diff)
-
qt/bug_report/dialog.py (modified) (1 diff)
-
qt/duck_widgets.py (added)
-
qt/util.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pyflu/pyflu/__init__.py
r613c5fb reaad234 5 5 6 6 def version(): 7 return "0.8 "7 return "0.8.1" 8 8 -
pyflu/pyflu/qt/bug_report/dialog.py
r613c5fb reaad234 48 48 if self.main_traceback is not None: 49 49 parts.append(format_html_exception(*self.main_traceback, 50 with_links=settings.DEV_MODE))50 **{"with_links": settings.DEV_MODE})) 51 51 for index, tb in enumerate(self.threads_tracebacks.values()): 52 52 parts.append(u"Thread %d:" % (index + 1)) 53 53 parts.append(format_html_exception(*tb, 54 with_links=settings.DEV_MODE))54 **{"with_links": settings.DEV_MODE})) 55 55 if settings.DEV_MODE: 56 56 self.traceback_text.setHtml("".join(parts)) -
pyflu/pyflu/qt/util.py
r3532e9f reaad234 1 1 from os.path import dirname, join 2 import warnings 3 import types 4 import functools 2 5 from PyQt4.QtGui import (QIcon, QPixmap, QCursor, QFileDialog, QApplication, 3 6 qRgb, qRgba, QDialog) 4 7 from PyQt4.QtCore import (Qt, QSettings, QVariant, PYQT_VERSION, QString, 5 8 QCoreApplication) 6 import warnings7 import types8 9 9 10 … … 20 21 function. 21 22 """ 22 def f(*args, **kwargs): 23 @functools.wraps(func) 24 def wrapper(*args, **kwargs): 23 25 QApplication.setOverrideCursor(QCursor(Qt.WaitCursor)) 24 26 try: … … 27 29 QApplication.restoreOverrideCursor() 28 30 return res 29 return f31 return wrapper 30 32 31 33
Note: See TracChangeset
for help on using the changeset viewer.
