component testing scripts added

This commit is contained in:
Sebastian Wehling-Benatelli 2014-10-30 13:38:41 +01:00
parent 97344c9f21
commit 7fd191dcc6
2 changed files with 26 additions and 0 deletions

11
testPropDlg.py Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env python
import sys, time
from PySide.QtGui import QApplication
from pylot.core.util.widgets import PropertiesDlg
app = QApplication(sys.argv)
win = PropertiesDlg()
win.show()
app.exec_()

15
testUIcomponents.py Executable file
View File

@ -0,0 +1,15 @@
#!/usr/bin/env python
import sys, time
from PySide.QtGui import QApplication
from pylot.core.util.widgets import FilterOptionsDialog, PropertiesDlg, HelpForm
dialogs = [FilterOptionsDialog, PropertiesDlg, HelpForm]
app = QApplication(sys.argv)
for dlg in dialogs:
win = dlg()
win.show()
time.sleep(10)
win.destroy()