Changeset 0979dfb in sasview for src/sas/qtgui
- Timestamp:
- Mar 22, 2017 8:14:18 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:
- 29eb947
- Parents:
- 351b53e
- Location:
- src/sas/qtgui
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Invariant/InvariantPerspective.py
r83d6249 r0979dfb 40 40 # for the gui and providing an interface to the data model. 41 41 name = "Invariant" # For displaying in the combo box 42 def __init__(self, manager=None, parent=None): 43 super(InvariantWindow, self).__init__(parent) 42 #def __init__(self, manager=None, parent=None): 43 def __init__(self, parent=None): 44 #super(InvariantWindow, self).__init__(parent) 45 super(InvariantWindow, self).__init__() 44 46 self.setupUi(self) 45 47 … … 55 57 self._power_low = 4 56 58 57 self._manager = manager 59 self._manager = parent 60 #self._manager = manager 58 61 self._reactor = self._manager.reactor() 59 62 self._model_item = QtGui.QStandardItem() -
src/sas/qtgui/UI/DataExplorerUI.ui
rca8b853 r0979dfb 7 7 <x>0</x> 8 8 <y>0</y> 9 <width> 517</width>9 <width>389</width> 10 10 <height>693</height> 11 11 </rect> … … 14 14 <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> 15 15 <horstretch>0</horstretch> 16 <verstretch> 0</verstretch>16 <verstretch>5</verstretch> 17 17 </sizepolicy> 18 18 </property> … … 42 42 <item> 43 43 <widget class="QPushButton" name="cmdLoad"> 44 <property name="text"> 45 <string>Load</string> 44 <property name="sizePolicy"> 45 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 46 <horstretch>5</horstretch> 47 <verstretch>5</verstretch> 48 </sizepolicy> 49 </property> 50 <property name="minimumSize"> 51 <size> 52 <width>154</width> 53 <height>50</height> 54 </size> 55 </property> 56 <property name="baseSize"> 57 <size> 58 <width>100</width> 59 <height>50</height> 60 </size> 61 </property> 62 <property name="toolTip"> 63 <string>Load a file with data</string> 64 </property> 65 <property name="styleSheet"> 66 <string notr="true">font: 13pt "MS Shell Dlg 2";</string> 67 </property> 68 <property name="text"> 69 <string>Load data</string> 70 </property> 71 <property name="icon"> 72 <iconset resource="main_resources.qrc"> 73 <normaloff>:/res/down-grey.png</normaloff>:/res/down-grey.png</iconset> 74 </property> 75 <property name="iconSize"> 76 <size> 77 <width>48</width> 78 <height>48</height> 79 </size> 80 </property> 81 <property name="shortcut"> 82 <string>Ctrl+R</string> 46 83 </property> 47 84 </widget> … … 143 180 <layout class="QHBoxLayout" name="horizontalLayout"> 144 181 <item> 145 <spacer name="horizontalSpacer"> 146 <property name="orientation"> 147 <enum>Qt::Horizontal</enum> 148 </property> 149 <property name="sizeHint" stdset="0"> 150 <size> 151 <width>58</width> 152 <height>20</height> 153 </size> 154 </property> 155 </spacer> 156 </item> 157 <item> 158 <widget class="QToolButton" name="cmdSendTo"> 159 <property name="text"> 160 <string>...</string> 182 <widget class="QPushButton" name="cmdSendTo"> 183 <property name="sizePolicy"> 184 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 185 <horstretch>5</horstretch> 186 <verstretch>5</verstretch> 187 </sizepolicy> 188 </property> 189 <property name="minimumSize"> 190 <size> 191 <width>170</width> 192 <height>50</height> 193 </size> 194 </property> 195 <property name="baseSize"> 196 <size> 197 <width>100</width> 198 <height>50</height> 199 </size> 200 </property> 201 <property name="font"> 202 <font> 203 <pointsize>13</pointsize> 204 </font> 205 </property> 206 <property name="toolTip"> 207 <string>Send data to perspective</string> 208 </property> 209 <property name="styleSheet"> 210 <string notr="true">font: 13pt "MS Shell Dlg 2";</string> 211 </property> 212 <property name="text"> 213 <string>Send data to</string> 161 214 </property> 162 215 <property name="icon"> 163 216 <iconset resource="main_resources.qrc"> 164 <normaloff>:/res/ file_send-128.png</normaloff>:/res/file_send-128.png</iconset>217 <normaloff>:/res/right-grey.png</normaloff>:/res/right-grey.png</iconset> 165 218 </property> 166 219 <property name="iconSize"> 167 220 <size> 168 <width> 32</width>169 <height> 32</height>221 <width>48</width> 222 <height>48</height> 170 223 </size> 171 224 </property> … … 218 271 <property name="title"> 219 272 <string>Plot</string> 273 </property> 274 <property name="flat"> 275 <bool>false</bool> 276 </property> 277 <property name="checkable"> 278 <bool>false</bool> 220 279 </property> 221 280 <layout class="QGridLayout" name="gridLayout_3"> -
src/sas/qtgui/UI/main_resources.qrc
rf82ab8c r0979dfb 1 1 <RCC> 2 2 <qresource> 3 <file>res/down-grey.png</file> 4 <file>res/right-grey.png</file> 3 5 <file>res/file_send-128.png</file> 4 6 <file>res/SendTo512.png</file>
Note: See TracChangeset
for help on using the changeset viewer.