Menu

SVN archive Commit Log


Commit Date  
[r10260] by bugman

The about relaxGUI panel does not create its own wx application.

removed in about.py:
- app = wx.PySimpleApp(0)
- wx.InitAllImageHandlers()
- start = MyFrame(None, -1, "")
- app.SetTopWindow(start)
- start.Show()
- app.MainLoop()

changed:
xw.Frame to wx.Dialog in about.py

moved in _init_.py (main folder):

+ # start wx Application
+ relaxGUI = wx.PySimpleApp(0)
+ wx.InitAllImageHandlers()

--> to start one wx application for about panel and main relaxGUI window

2010-01-20 07:56:41 Tree
[r10259] by bugman

Clean up of the menubar code.

The SetMenuBar() call has been shifted out of the menu items to the top. The GUI object have been
simplified (shorter names) and are no longer placed in self.

2010-01-19 20:06:42 Tree
[r10258] by bugman

Modified the package docstring as it does not need to be set using __doc__ = ...

2010-01-19 18:58:05 Tree
[r10257] by bugman

Changed the icons for the Molecule menu entries.

This is just to improve the looks.

2010-01-19 18:48:10 Tree
[r10256] by bugman

Modified all the other menu sub entries to include icons using the build_menu_sub_item() method.

All the oxygen icons required, as well as a 16x16 relax icon have been added to the repository.

2010-01-19 18:35:50 Tree
[r10255] by bugman

Improved the commenting in the menu GUI element section.

2010-01-19 17:24:09 Tree
[r10254] by bugman

Added icons to the 'File' menu items.

To do this, a new method called build_menu_sub_item() has been written to create and return an
initialised wx.MenuItem() instance, which is then appended to the menu item. The new oxygen icons
have been copied into the repository, and commenting of this menu section improved.

2010-01-19 17:21:13 Tree
[r10253] by bugman

Changed text bottons to bitmap icons for the file opening in the model-free analysis GUI section.

This is mainly to test code manageability and design. The '+' buttons have been replaced by oxygen
bitmap icons. Note this is test code and can be reverted! Issues found are as follows:

1) The code for one GUI element is located in 3 places in the module, in 2 places in __init__()
(creation and event binding), and in __set_properties() to define sizes. This makes GUI changes
difficult.

2) The sizes in __set_properties() are hardcoded and repeated many, many times. There should be
a variable defining x and y at the start for all these buttons. These should be local variables of
a method containing the relaxation data input GUI element for model-free.

3) I can't find how to modify the size of the box for the relaxation data input?! This is visible
in the current revision. The size of this box should be defined as the sum of the x and y lengths
of all the elements (not including a margin).

2010-01-19 16:46:23 Tree
[r10252] by bugman

Added the oxygen 16x16 shutdown icon.

2010-01-19 16:37:08 Tree
[r10251] by bugman

Added the 16x16 document open oxygen icon.

2010-01-19 15:07:36 Tree
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.