Log of /branches
Directory Listing
Revision
1206 -
Directory Listing
Modified
Fri Jun 13 16:35:25 2003 UTC
(21 years, 8 months ago)
by
jonathan
updated ChangeLog
Revision
1205 -
Directory Listing
Modified
Fri Jun 13 16:35:13 2003 UTC
(21 years, 8 months ago)
by
jonathan
(TableFrame.__init__): Add a panel
object that can be used by derived classes to place any
controls (including the grid) onto.
(QueryTableFrame.__init__): Use the panel as the parent window
for all the controls. Reparent the grid so that the panel is
the parent. Call UpdateStatusText() to correctly initialize
the status bar.
(TableGrid.__init__): Create an
instance variable to keep track of how many rows are selected.
Subscribe once to the the events we are interested in.
(ThubanGrid.OnRangeSelect): Only handle event if event handling
hasn't been turned off.
(ThubanGrid.OnSelectCell): Only handle event if event handling
hasn't been turned off.
(ThubanGrid.ToggleEventListeners): Rather than subscribe None
as an event listener (which changes the event handler stack)
simply set an instance variable to False. This is checked in
the event handlers.
(ThubanGrid.GetNumberSelected): Return the number of currently
selected rows.
(TableFrame): Inherit from ThubanFrame so we can have a
status bar and control buttons.
(QueryTableFrame.__init__): Create a status bar. Fixes RTbug #1942.
Explicitly set which items are selected in the operator choice and
action choice so there is always a valid selection. Fixes RTbug #1941.
Subscribe to grid cell selection events so we can update the
status bar.
(QueryTableFrame.UpdateStatusText): Update the status bar with
how many rows are in the grid, how many columns, and how many
rows are selected.
(QueryTableFrame.OnGridSelectRange, QueryTableFrame.OnGridSelectCell):
Call UpdateStatusText when cells are (de)selected.
(QueryTableFrame.OnQuery): Use the string value in the value
combo if either the selected item index is 0 or if the string
cannot be found in the predefined list (this happens if the
user changes the text). Fixes RTbug #1940.
Only turn off the grid event listeners if there a query comes
back with a none empty list of ids. in the case that the list
is empty this causes a grid.ClearSelection() call to actually
clear the grid selection which causes the selected items in
the map to be deselected. Fixes RTbug #1939.
Revision
1204 -
Directory Listing
Modified
Fri Jun 13 16:34:05 2003 UTC
(21 years, 8 months ago)
by
jonathan
(ThubanFrame): New: a class that inherits
from wxFrame (as opposed to wxDialog like the other classes)
but otherwise behaves like the other classes. This is needed
for the TableView which isn't really a dialog and needs to
have a status bar and control buttons.
Revision
1197 -
Directory Listing
Modified
Fri Jun 13 13:13:14 2003 UTC
(21 years, 8 months ago)
by
bh
update ChangeLog
Revision
1196 -
Directory Listing
Modified
Fri Jun 13 13:12:56 2003 UTC
(21 years, 8 months ago)
by
bh
(IdentifyView.__init__): Call
self.selected_shape with the current selection to make sure the
contents of the dialog are up to date when it's shown for the
first time.
The dialog used to work without this by luck. The recent fix to
the connector module 'broke' a 'feature' the identify view was
relying on, i.e that subscribing to a message in response to
receiving a message of that type would mean that the new
subscriber would also be called for the same message.
Revision
1187 -
Directory Listing
Modified
Thu Jun 12 16:49:22 2003 UTC
(21 years, 8 months ago)
by
jonathan
(ProjFrame.__DoOnProjAvail): projfilepath should also be cleared if
no projection is selected.
Revision
1186 -
Directory Listing
Modified
Thu Jun 12 16:46:37 2003 UTC
(21 years, 8 months ago)
by
jonathan
updated ChangeLog
Revision
1185 -
Directory Listing
Modified
Thu Jun 12 16:46:27 2003 UTC
(21 years, 8 months ago)
by
jonathan
(ProjFrame.__DoOnProjAvail): Set the
projfilepath label to just the basename of the projection file
rather than include the entire path.
Revision
1184 -
Directory Listing
Modified
Thu Jun 12 16:46:03 2003 UTC
(21 years, 8 months ago)
by
jonathan
(ScaleBarBitmap.__SetScale): Don't draw
the scalebar if the current map has no projection set.:
Revision
1183 -
Directory Listing
Modified
Thu Jun 12 16:46:03 2003 UTC
(21 years, 8 months ago)
by
(unknown author)
This commit was manufactured by cvs2svn to create branch 'greater-ms3'.
Revision
3 -
Directory Listing
Modified
Fri Aug 17 12:15:16 2001 UTC
(23 years, 6 months ago)
by
(unknown author)
This commit was manufactured by cvs2svn to create branch 'INTEVATION'.
Revision
1 -
Directory Listing
Added
Fri Aug 17 12:15:16 2001 UTC
(23 years, 6 months ago)
by
(unknown author)
New repository initialized by cvs2svn.