Changeset 3351
- Timestamp:
- 05/14/08 22:05:25 (2 months ago)
- Location:
- trunk/opus_gui
- Files:
-
- 4 modified
-
config/resultsmanager/opusxmlaction_results.py (modified) (5 diffs)
-
config/toolboxbase.py (modified) (2 diffs)
-
config/xmlmodelview/opusdatamodel.py (modified) (2 diffs)
-
main/opusgui.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/opus_gui/config/resultsmanager/opusxmlaction_results.py
r3328 r3351 149 149 else: 150 150 print "No valid node was found..." 151 152 self.currentIndex.model().markAsDirty()153 151 model.emit(SIGNAL("layoutChanged()")) 154 152 … … 169 167 self.currentIndex, 170 168 newNode) 171 172 self.currentIndex.model().markAsDirty()173 169 model.emit(SIGNAL("layoutChanged()")) 174 170 … … 241 237 else: 242 238 print "No valid node was found..." 243 244 self.currentIndex.model().markAsDirty()245 239 model.emit(SIGNAL("layoutChanged()")) 246 240 … … 335 329 self.currentIndex.model().removeRow(self.currentIndex.internalPointer().row(), 336 330 self.currentIndex.model().parent(self.currentIndex)) 337 self.currentIndex.model().markAsDirty()338 331 self.currentIndex.model().emit(SIGNAL("layoutChanged()")) 339 332 … … 353 346 # Now up the tree, only hitting parent nodes and not sibblings 354 347 self.currentIndex.model().stripAttributeUp('inherited',thisNode) 355 self.currentIndex.model().markAsDirty()356 348 # Finally we refresh the tree to indicate that there has been a change 357 349 self.currentIndex.model().emit(SIGNAL("layoutChanged()")) -
trunk/opus_gui/config/toolboxbase.py
r3215 r3351 145 145 self.generalManagerTree = OpusXMLTree(self,"general", 146 146 self.parent.generalmanager_page.layout()) 147 self.resultsManagerTree = OpusXMLTree(self,"results_manager",148 self.parent.resultsmanager_page.layout())149 147 self.modelManagerTree = OpusXMLTree(self,"model_manager", 150 148 self.parent.modelmanager_page.layout()) … … 157 155 self.dataManagerDBSTree = OpusXMLTree(self, "data_manager_dbstree", 158 156 self.parent.datamanager_dbsconnections.layout()) 157 self.resultsManagerTree = OpusXMLTree(self,"results_manager", 158 self.parent.resultsmanager_page.layout()) 159 159 else: 160 160 print "Error reading the %s configuration file" % (xml_file) -
trunk/opus_gui/config/xmlmodelview/opusdatamodel.py
r3350 r3351 324 324 parentItem.childItems.insert(row,item) 325 325 self.endInsertRows() 326 #print "debug"327 326 self.markAsDirty() 328 327 return returnval … … 449 448 if choices is not None: 450 449 newNode.setAttribute(QString('choices'), QString(choices)) 451 self.markAsDirty()452 450 return newNode 453 451 -
trunk/opus_gui/main/opusgui.py
r3185 r3351 183 183 if config: 184 184 self.toolboxStuff.openXMLTree(config) 185 # Add the project file's path to the title bar 186 self.setWindowTitle(self.application_title + " - " + QFileInfo(self.toolboxStuff.runManagerTree.parentTool.xml_file).filePath()) 185 187 else: 186 188 import os … … 203 205 # Open the file and add to the Run tab... 204 206 self.toolboxStuff.openXMLTree(fileName) 207 # Add the project file's path to the title bar 208 self.setWindowTitle(self.application_title + " - " + QFileInfo(self.toolboxStuff.runManagerTree.parentTool.xml_file).filePath()) 205 209 self.resultManagerStuff.scan_for_runs() 206 207 208 # Add the project file's path to the title bar209 self.setWindowTitle(self.application_title + " - " + QFileInfo(self.toolboxStuff.runManagerTree.parentTool.xml_file).filePath())210 210 211 211 def saveConfig(self):
