This project is mirrored from https://github.com/mantidproject/mantid.git.
Pull mirroring updated .
- Oct 05, 2015
-
-
Campbell, Stuart authored
-
- Feb 20, 2015
-
-
Savici, Andrei T. authored
-
- Mar 12, 2014
-
-
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
-
- Feb 28, 2014
-
-
Keith Brown authored
There was a missing 'self 'causing an error
-
- Feb 25, 2014
-
-
Keith Brown authored
Having just done the same in #9077 for the patch, I've just refactored the save checks but in a slightly different way
-
- Dec 04, 2013
-
-
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.
-
- Dec 03, 2013
-
-
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.
-
- Nov 26, 2013
-
-
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.
-
- Nov 22, 2013
-
-
Keith Brown authored
Mantidplot now uses my newer vesion of the interface. The interface itself had to have an import stement altered due to the different location of the scripts. The table hadn't been initilised properly in ym new version, fixed it.
-
- Oct 26, 2012
-
-
Russell Taylor authored
-
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.
-
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
-