Ignore:
Timestamp:
Nov 7, 2016 5:50:04 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
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:
49e124c
Parents:
ca8b853
Message:

Minor perspective related work

Location:
src/sas/qtgui/Perspectives/Invariant/UI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Invariant/UI/TabbedInvariantUI.py

    • Property mode changed from 100755 to 100644
    re540cd2 r469b4622  
    310310        self.gridLayout_6.addWidget(self.groupBox_4, 1, 0, 1, 1) 
    311311        self.tabWidget.addTab(self.tabOptions, _fromUtf8("")) 
     312        self.tab = QtGui.QWidget() 
     313        self.tab.setObjectName(_fromUtf8("tab")) 
     314        self.treeView = QtGui.QTreeView(self.tab) 
     315        self.treeView.setGeometry(QtCore.QRect(5, 11, 431, 311)) 
     316        self.treeView.setObjectName(_fromUtf8("treeView")) 
     317        self.tabWidget.addTab(self.tab, _fromUtf8("")) 
    312318        self.gridLayout_11.addWidget(self.tabWidget, 0, 0, 1, 1) 
    313319        spacerItem = QtGui.QSpacerItem(20, 2, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) 
     
    384390        self.label_19.setText(_translate("tabbedInvariantUI", "Power:", None)) 
    385391        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabOptions), _translate("tabbedInvariantUI", "Options", None)) 
     392        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("tabbedInvariantUI", "View on model", None)) 
    386393        self.pushButton.setText(_translate("tabbedInvariantUI", "Calculate", None)) 
    387394        self.pushButton_2.setText(_translate("tabbedInvariantUI", "Status", None)) 
    388395        self.pushButton_3.setText(_translate("tabbedInvariantUI", "Help", None)) 
    389396 
    390  
    391 class tabbedInvariantUI(QtGui.QDialog, Ui_tabbedInvariantUI): 
    392     def __init__(self, parent=None, f=QtCore.Qt.WindowFlags()): 
    393         QtGui.QDialog.__init__(self, parent, f) 
    394  
    395         self.setupUi(self) 
    396  
  • src/sas/qtgui/Perspectives/Invariant/UI/TabbedInvariantUI.ui

    re540cd2 r469b4622  
    569569       </item> 
    570570      </layout> 
     571     </widget> 
     572     <widget class="QWidget" name="tab"> 
     573      <attribute name="title"> 
     574       <string>View on model</string> 
     575      </attribute> 
     576      <widget class="QTreeView" name="treeView"> 
     577       <property name="geometry"> 
     578        <rect> 
     579         <x>5</x> 
     580         <y>11</y> 
     581         <width>431</width> 
     582         <height>311</height> 
     583        </rect> 
     584       </property> 
     585      </widget> 
    571586     </widget> 
    572587    </widget> 
Note: See TracChangeset for help on using the changeset viewer.