Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/mantidproject/mantid.git. Pull mirroring updated .
  1. Oct 05, 2015
  2. Feb 20, 2015
  3. Mar 12, 2014
    • Keith Brown's avatar
      Refs #9170 Restructured Reflectometry Interface · 6ec8c8eb
      Keith Brown authored
      The interface now follows the same pattern as the ORNL SANS interface for declaration. The ReflGui class is now the window itself, this means it recieves the close signal from the mantid main window and can override some things within itself.
      
      Tidied up the connections, as there was no need for most of the handlers.
      
      Renamed most of the methods to they follow python's style more closely.
      
      Added more whitespace
      6ec8c8eb
  4. Feb 28, 2014
  5. Feb 25, 2014
  6. Dec 04, 2013
    • Keith Brown's avatar
      Refs #8532. Modified flag and autosave wired up · 5501e1a1
      Keith Brown authored
      The autosave is wired up to the destructor, even if that may be a bad idea in python - this is purely becuse we've not been told any specific cases where the entrie GUI failed in the old version so it's the best option for now.
      
      The modified flag has been wired up to the table's cellChanged signal and its made sure the triggers as when the window's closeEvent is called it will focus the process button to make sure the table fires events.
      
      A loading flag as been introduced to prevent the modified flag from being tripped when loading a file.
      5501e1a1
  7. Dec 03, 2013
    • Keith Brown's avatar
      Refs #8532. Save on close in place and new file menu items · db05c587
      Keith Brown authored
      The save-on-close behavior is in place but not fully wired up yet. It relys on a modified flag which currently isn't set by anything, but hard coding the value makes it work.
      The autosave-on-fail behavior is also in place and not wired up.
      
      The file menu has had a few tweaks as they were related to this ticket:
      * "Save Table" has been renamed and relabled as "Save As..." to conform with a universally recognised command. It's shortcut has also changed to Ctrl-Alt-S (taking inspiration from Notepad++)
      * "Load Table" has been renamed and relabled as "Open Table..." to conform with a universally recognised command. It's shortcut hasn't changed and is still Ctrl-O
      * "Re-Load Table" had been renamed and relabled as "Reload from Disk" (taking inspiration from Notepad++) - it's shortcut hasn't changed and is still Ctrl-R
      * New Command - "Save" overwrites the existing file if one has been loaded in, or will be the same as Save As if it's a new file. It's shortcut is the universally recognised Ctrl-S
      * New Command - "Close Refl Gui" has been added as originally the only way to close the GUI was the control on the title bar, which is bad UI design. It takes on the same close command as any mantid sub-window: Ctrl-F4
      
      The "Save" menu item, Save-on-close and Autosave-on-fail actualy share the same function, with a boolean flag separating the functionality. The default is save/save-on-close behavior, boolean true is passed to trigger the autosave behavior.
      
      In order to do the save-on-close behavior I've had to re-implement QMainwindow in ISIS_Reflectonomy.py, overriding the closeEvent.
      
      In order ot follow better pyqt practice, the existing signals have also had their connection statements changed to the new [object].[trigger].connect([slot/function]) form.
      db05c587
  8. Nov 26, 2013
    • Keith Brown's avatar
      Refs #8745 Swapped file names and fixed some problems · fd9a7923
      Keith Brown authored
      refl_window and refl_gui have had thier names swapped to make more sense, as refl_gui was orinally the underlying window when actually being the interface wiht functionality would make more sense.
      
      Discovered problems with the save, load and re-load functionality which I'm fixing.
      fd9a7923
  9. Nov 22, 2013
  10. Oct 26, 2012
    • Russell Taylor's avatar
      Re #5990. Fix line endings. · 8b2b6687
      Russell Taylor authored
      8b2b6687
    • Gigg, Martyn Anthony's avatar
      Move ISIS reflectometry gui files to subdir. Refs #5990 · 173cfdd2
      Gigg, Martyn Anthony authored
      Having them at top level meant that the directory no longer was added
      to the Python path, due to the presence of the __init__.py file. The
      OFFSPEC package then couldn't be located.
      173cfdd2
    • Gesner Passos's avatar
      Adding necessary files for ISIS Reflectometry GUI · 490a5768
      Gesner Passos authored
      The following files are necessary in order to be able to add the Reflectometry
      GUI inside the Mantid->Interfaces menu.
      
      Some issues:
       * reflgui.py was produced from a .ui file and than changed. It would be better to have the original .ui file.
         * There is still a note: WARNING! All changes made in this file will be lost!
       * reflgui.py was created as a MainWindow, in the new versions of Ubuntu, this will cause the main Mantid menu to be hidden.
       * The documentation of these files does not clearly identifies their function. Beside, new names to the function could be provided (for example l2q stands for?)
       * Some test demonstration should also be added if this GUI will be delivered as a Custom Mantid Interface.
       * It lacks a Wiki Page.
      re #5990
      490a5768
Loading