[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/designer/src/forms Instance.py events/Arra...
From: |
Jason Cater |
Subject: |
gnue/designer/src/forms Instance.py events/Arra... |
Date: |
Wed, 11 Jun 2003 14:17:27 -0400 |
CVSROOT: /cvsroot/gnue
Module name: gnue
Branch:
Changes by: Jason Cater <address@hidden> 03/06/11 14:17:27
Modified files:
designer/src/forms: Instance.py
Added files:
designer/src/forms/events: Arrange.py __init__.py
Log message:
added basic Arrange Items support
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/designer/src/forms/Instance.py.diff?tr1=1.49&tr2=1.50&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/designer/src/forms/events/Arrange.py?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/designer/src/forms/events/__init__.py?rev=1.1
Patches:
Index: gnue/designer/src/forms/Instance.py
diff -c gnue/designer/src/forms/Instance.py:1.49
gnue/designer/src/forms/Instance.py:1.50
*** gnue/designer/src/forms/Instance.py:1.49 Tue Jun 10 16:07:12 2003
--- gnue/designer/src/forms/Instance.py Wed Jun 11 14:17:27 2003
***************
*** 38,43 ****
--- 38,44 ----
from WizardRunner import WizardRunner
from Debugger import DebugSession
from Incubator import Incubator
+ from events.Events import registerEvents
# Wizards
import wizards
***************
*** 102,107 ****
--- 103,111 ----
'Forms:RequestDebugLevel': self.__onSetDebugLevel
})
+ # Add our events/* stuff
+ registerEvents(self)
+
# Convenience list to keep track of datasources and blocks
# TODO: Anything that needs either of these two
# TODO: should call getObjectList directly.
***************
*** 238,251 ****
('View', 'LayoutEditor:ZoomIn', _("Zoom In"), None, _("Zoom in"),
11.1, 0),
('View', 'LayoutEditor:ZoomOut', _("Zoom Out"), None, _("Zoom out"),
11.2, 0),
('View', 'LayoutEditor:ShowFocus', _("Show Focus Order"), None,
_("Show the navigation order on the layout editor"), 21, 1),
('Tools','Forms:RunForm', _("Run Form"), None, _("Display and run the
current form"), 101.1, 0),
('Tools','Forms:RequestDebugLevel', _("Change debugging level..."),
None, _("Change the debugging output level for the Run Form option"), 101.2, 0),
! ('Modify|Align Items','LayoutEditor:AlignLeft', _("&Align Left
Edges"), None, _("Horizontally align the currently selected items along their
left edges"),101.1, 0),
! ('Modify|Align Items','LayoutEditor:AlignRight', _("&Align Right
Edges"), None, _("Horizontally align the currently selected items along their
right edges"),101.2, 0),
! ('Modify|Align Items','LayoutEditor:AlignHCenter', _("&Align
Horizontally on Center"), None, _("Horizontally align the currently selected
items along their centers"),101.2, 0),
! ('Modify|Align Items','LayoutEditor:AlignTop', _("&Align Left Edges"),
None, _("Vertically align the currently selected items along their top
edges"),111.1, 0),
! ('Modify|Align Items','LayoutEditor:AlignBottom', _("&Align Right
Edges"), None, _("Vertically align the currently selected items along their
bottom edges"),111.2, 0),
! ('Modify|Align Items','LayoutEditor:AlignVCenter', _("&Align
Vertically on Center"), None, _("Vertically align the currently selected items
along their centers"),111.2, 0),
('Modify','LayoutEditor:AutoArrange', _("&Reset Focus Order by
Position"), None, _("Automatically set the focus order based on an items
position"),201.2, 0)):
self.menubar.addAction(location, text, event,
grouping, canDisable=1, canToggle=canToggle,
--- 242,259 ----
('View', 'LayoutEditor:ZoomIn', _("Zoom In"), None, _("Zoom in"),
11.1, 0),
('View', 'LayoutEditor:ZoomOut', _("Zoom Out"), None, _("Zoom out"),
11.2, 0),
('View', 'LayoutEditor:ShowFocus', _("Show Focus Order"), None,
_("Show the navigation order on the layout editor"), 21, 1),
+
('Tools','Forms:RunForm', _("Run Form"), None, _("Display and run the
current form"), 101.1, 0),
('Tools','Forms:RequestDebugLevel', _("Change debugging level..."),
None, _("Change the debugging output level for the Run Form option"), 101.2, 0),
!
! ('Modify|Align Items','Forms:AlignLeft', _("&Align Left Edges"), None,
_("Horizontally align the currently selected items along their left
edges"),101.1, 0),
! ('Modify|Align Items','Forms:AlignRight', _("&Align Right Edges"),
None, _("Horizontally align the currently selected items along their right
edges"),101.2, 0),
! ('Modify|Align Items','Forms:AlignHCenter', _("&Align Horizontal
Center"), None, _("Horizontally align the currently selected items along their
centers"),101.2, 0),
! ('Modify|Align Items','Forms:AlignTop', _("&Align Top Edges"), None,
_("Vertically align the currently selected items along their top edges"),111.1,
0),
! ('Modify|Align Items','Forms:AlignBottom', _("&Align Bottom Edges"),
None, _("Vertically align the currently selected items along their bottom
edges"),111.2, 0),
! ('Modify|Align Items','Forms:AlignVCenter', _("&Align Vertical
Center"), None, _("Vertically align the currently selected items along their
centers"),111.3, 0),
! ('Modify|Align Items','Forms:SmartAlign', _("&Smart Align
Labels/Fields"), None, _("Align Labels and fields into a block formation, with
all fields left aligned and all labels left aligned."),121.1, 0),
!
('Modify','LayoutEditor:AutoArrange', _("&Reset Focus Order by
Position"), None, _("Automatically set the focus order based on an items
position"),201.2, 0)):
self.menubar.addAction(location, text, event,
grouping, canDisable=1, canToggle=canToggle,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/designer/src/forms Instance.py events/Arra...,
Jason Cater <=