mailr22226 - in /trunk/gui: input_elements/file.py uf_objects.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on February 21, 2014 - 09:16:
Author: bugman
Date: Fri Feb 21 09:16:36 2014
New Revision: 22226

URL: http://svn.gna.org/viewcvs/relax?rev=22226&view=rev
Log:
Implemented the GUI element for loading multiple files.

This follows from the thread 
http://thread.gmane.org/gmane.science.nmr.relax.devel/5057/focus=5062.

This is via the new user function argument type "file sel multi", now used by 
the
spectrum.read_intensities user function.  The file selection element consists 
of two parts.  The GUI
element embedded in the user function wizard page is similar to the "file 
sel" element, except that
the preview button is not present.  The file selection button behaviour is 
also different in that it
launches the new multiple file selection window.

The multiple file selection window is based on the 'sequence' data window, as 
used in the spectrum
ID argument for the spectrum.read_intensities user function.  However the 
ListCtrl element has been
replaced by a custom scrolled panel.  The 'Add' button adds a new file 
selection GUI element
consisting of a TextCtrl for displaying and manual editing of the file name, 
the file selection
button for launching the relax file selection dialog, and the preview button 
lost in the parent GUI
element.   The scrolled panel allows more elements in the panel than can fit 
in the window.  The
'Delete all' and 'OK' buttons from the 'sequence' data window are also 
present and function as
expected.


Modified:
    trunk/gui/input_elements/file.py
    trunk/gui/uf_objects.py

[This mail would be too long, it was shortened to contain the URLs only.]

Modified: trunk/gui/input_elements/file.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/gui/input_elements/file.py?rev=22226&r1=22225&r2=22226&view=diff

Modified: trunk/gui/uf_objects.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/gui/uf_objects.py?rev=22226&r1=22225&r2=22226&view=diff




Related Messages


Powered by MHonArc, Updated Fri Feb 21 09:40:03 2014