Changeset f51ed67 in sasview for src/sas/qtgui
- Timestamp:
- Aug 10, 2016 10:07:15 AM (8 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 0fc37fea
- Parents:
- 51b2b51
- Location:
- src/sas/qtgui
- Files:
-
- 5 added
- 10 deleted
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/AboutBox.py
r481ff26 rf51ed67 1 1 import functools 2 from PyQt4 import QtGui 2 3 3 4 import sas.sasview … … 5 6 import GuiUtils 6 7 7 from UI.AboutUI import AboutUI8 from UI.AboutUI import Ui_AboutUI 8 9 9 class AboutBox( AboutUI):10 class AboutBox(QtGui.QDialog, Ui_AboutUI): 10 11 def __init__(self, parent=None): 11 12 super(AboutBox, self).__init__(parent) 13 self.setupUi(self) 14 12 15 self.setWindowTitle("About") 13 16 -
src/sas/qtgui/DroppableDataLoadWidget.py
re540cd2 rf51ed67 1 1 # global 2 from PyQt4 import Qt Core2 from PyQt4 import QtGui, QtCore 3 3 4 4 # UI 5 from UI.DataExplorerUI import DataLoadWidget5 from UI.DataExplorerUI import Ui_DataLoadWidget 6 6 7 class DroppableDataLoadWidget( DataLoadWidget):7 class DroppableDataLoadWidget(QtGui.QTabWidget, Ui_DataLoadWidget): 8 8 """ 9 9 Overwrite drag and drop methods in the base class … … 12 12 def __init__(self, parent=None, guimanager=None): 13 13 super(DroppableDataLoadWidget, self).__init__(parent) 14 self.setupUi(self) 14 15 15 16 # Enable file drag-drop on treeView -
src/sas/qtgui/GuiManager.py
rff49d4d rf51ed67 20 20 import LocalConfig 21 21 import GuiUtils 22 from UI.AcknowledgementsUI import Acknowledgements22 from UI.AcknowledgementsUI import Ui_Acknowledgements 23 23 from AboutBox import AboutBox 24 24 from IPythonWidget import IPythonWidget 25 from WelcomePanel import WelcomePanel 25 26 26 27 # Perspectives 27 28 from Perspectives.Invariant.InvariantPerspective import InvariantWindow 28 29 from DataExplorer import DataExplorerWindow 29 from WelcomePanel import WelcomePanel 30 31 class Acknowledgements(QtGui.QDialog, Ui_Acknowledgements): 32 def __init__(self, parent=None): 33 QtGui.QDialog.__init__(self, parent) 34 self.setupUi(self) 30 35 31 36 class GuiManager(object): -
src/sas/qtgui/MainWindow.py
ra95260d rf51ed67 4 4 5 5 # Local UI 6 from UI.MainWindowUI import MainWindow6 from UI.MainWindowUI import Ui_MainWindow 7 7 8 8 # Initialize logging 9 9 import SasviewLogger 10 10 11 class MainSasViewWindow( MainWindow):11 class MainSasViewWindow(QtGui.QMainWindow, Ui_MainWindow): 12 12 # Main window of the application 13 13 def __init__(self, reactor, parent=None): 14 14 super(MainSasViewWindow, self).__init__(parent) 15 self.setupUi(self) 15 16 16 17 # define workspace for dialogs. -
src/sas/qtgui/UI/__init__.py
- Property mode changed from 100755 to 100644
-
src/sas/qtgui/UI/convert.bat
r51b2b51 rf51ed67 1 1 @echo off 2 2 3 pyuic4.bat -w%1.ui > %1.py3 pyuic4.bat %1.ui > %1.py 4 4 5 5 -
src/sas/qtgui/UI/convert_all.bat
r51b2b51 rf51ed67 2 2 3 3 for %%f in (*.ui) do ( 4 pyuic4.bat -w%%f > %%~nf.py4 call pyuic4.bat %%f > %%~nf.py 5 5 ) 6 6 -
src/sas/qtgui/UI/convert_ui.sh
rf721030 rf51ed67 1 pyuic.bat -w$1.ui > $1.py1 pyuic.bat $1.ui > $1.py -
src/sas/qtgui/WelcomePanel.py
re540cd2 rf51ed67 9 9 import LocalConfig 10 10 11 from UI.WelcomePanelUI import WelcomePanelUI11 from UI.WelcomePanelUI import Ui_WelcomePanelUI 12 12 13 class WelcomePanel( WelcomePanelUI):13 class WelcomePanel(QtGui.QDialog, Ui_WelcomePanelUI): 14 14 def __init__(self, parent=None): 15 15 super(WelcomePanel, self).__init__(parent) 16 self.setupUi(self) 17 16 18 self.setWindowTitle("Welcome") 17 19 -
src/sas/qtgui/images/convert_rc.bat
r51b2b51 rf51ed67 1 1 @echo off 2 2 3 pyrcc4.exe -py3 %1.qrc -o %1_rc.py3 pyrcc4.exe -py3 %1.qrc -o ..\UI\%1_rc.py 4 4 -
src/sas/qtgui/images/convert_rc.sh
r51b2b51 rf51ed67 1 pyrcc4 -py3 $1.qrc -o $1_rc.py1 pyrcc4 -py3 $1.qrc -o ../UI/$1_rc.py
Note: See TracChangeset
for help on using the changeset viewer.