component testing scripts added
This commit is contained in:
11
testPropDlg.py
Executable file
11
testPropDlg.py
Executable 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
15
testUIcomponents.py
Executable 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()
|
||||||
Reference in New Issue
Block a user