Parent Directory
|
Revision Log
Links to HEAD: | (view) (annotate) |
Sticky Revision: |
(Classifier): Use __SelectField() to correctly set the table information and call this from __init__ and from _OnFieldSelect so that all the information is up to date when the dialog opens and when a field is changed.
removed print statement
Setting and Getting table values now uses a consistent set of functions. (Classifier): Now non-modal. Has field type label which changes as the field changes. Keep track of buttons in a list so that we can enable/disable the buttons when the None field is selected. (SelectPropertiesDialog): Add buttons to make the colors transparent.
(ClassGrid.__init__) (ClassGrid.CreateTable): Move the SetSelectionMode call to CreateTable because otherwise it triggers an assertion in wxPython/wxGTK 2.4.
import FIELDTYPE constants from table
Added class documentation. Fixed RTbug #1713, #1714. Added Move[Up|Down] buttons. Store just the groups in the table and generate the other column information when it is requested. Add "None" field to pull-down to select no classification.
(ClassGrid.__init__): Set the table before the selection mode. Doing it the other way round triggers an assertion in wxWindows.
(ClassGrid): Moved OnCellDClick() from Classifier to ClassGrid. Added support for removing selected rows, which including code for keeping track of when cells are selected, and deselected. (ClassTable): Support for added/removing rows. Fixed a problem with __ParseInput whereby it would not allow strings (only numbers) to be entered. (Classifier): Added button and supporting code for removing selected rows.
Fix to create a tuple with a single value instead of simply returning the value.
Changes to use new Classification and Group functions.
(SelectPropertiesDialog): Support for changing the stroke and fill colors and previewing the changes.
(ClassGrid): New class to represent a custom grid. (ClassTable): Support for editing Values and Labels and for changing what type (point or range) of data is stored in each property based on how the user enters the data. (Classifier): Support for saving the new classifications and launching the dialog to edit a property. (SelectPropertiesDialog): New class for editing the visual properties of a classification (stroke color, width, and fill color) (ClassPreviewer): Took the Draw method from ClassRenderer and made most of it into this new class. Intend to use this class in the SelectPropertiesDialog for previewing changes.
typo fix
* Thuban/UI/classifier.py (ClassTable): Didn't need to hang onto the clinfo parameter, so removed the deepcopy().
* Thuban/UI/classifier.py (ClassRenderer): New class to draw the classifications in the dialog box's table. (Classifier): Modified to use the ClassRenderer class.
added i18n wrapper _() to text
fixed a missed conflict
fix i18n merge conflict
Replace user string by _() for i18n.
Dialog box for modifying classification information
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |