Branch: refs/heads/main
  Home:   https://github.com/dabodev/dabo
  Commit: 38ec98ff4478a15c987b8dd25ed3c250af22e856
      
https://github.com/dabodev/dabo/commit/38ec98ff4478a15c987b8dd25ed3c250af22e856
  Author: EdLeafe <[email protected]>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M dabo/application.py
    M dabo/biz/dAutoBizobj.py
    M dabo/biz/dBizobj.py
    M dabo/dObject.py
    M dabo/dPref.py
    M dabo/dReportWriter.py
    M dabo/dSecurityManager.py
    M dabo/db/dBackend.py
    M dabo/db/dConnectInfo.py
    M dabo/db/dConnection.py
    M dabo/db/dCursorMixin.py
    M dabo/db/dDataSet.py
    M dabo/db/dTable.py
    M dabo/db/dbMsSQL.py
    M dabo/event_mixin.py
    M dabo/events.py
    M dabo/lib/DesignerClassConverter.py
    M dabo/lib/RemoteConnector.py
    M dabo/lib/StopWatch.py
    M dabo/lib/caselessDict.py
    M dabo/lib/datanav/Bizobj.py
    M dabo/lib/datanav/Form.py
    M dabo/lib/datanav/Page.py
    M dabo/lib/logger.py
    M dabo/lib/propertyHelperMixin.py
    M dabo/lib/reportWriter.py
    M dabo/lib/reporting_stefano/report.py
    M dabo/lib/utils.py
    M dabo/ui/__init__.py
    M dabo/ui/alignment_mixin.py
    M dabo/ui/auto_complete.py
    M dabo/ui/bitmap_button.py
    M dabo/ui/border_sizer.py
    M dabo/ui/borderless_button.py
    M dabo/ui/button.py
    M dabo/ui/check_box.py
    M dabo/ui/check_list.py
    M dabo/ui/collapsible_panel.py
    M dabo/ui/combo_box.py
    M dabo/ui/control_item_mixin.py
    M dabo/ui/control_mixin.py
    M dabo/ui/data_control_mixin.py
    M dabo/ui/date_picker.py
    M dabo/ui/date_text_box.py
    M dabo/ui/dialog.py
    M dabo/ui/dialogs/HotKeyEditor.py
    M dabo/ui/dialogs/PreferenceDialog.py
    M dabo/ui/dialogs/SortingForm.py
    M dabo/ui/dialogs/Wizard.py
    M dabo/ui/dialogs/WizardPage.py
    M dabo/ui/dialogs/infoMessage.py
    M dabo/ui/dialogs/login.py
    M dabo/ui/dock_form.py
    M dabo/ui/edit_box.py
    M dabo/ui/editable_list.py
    M dabo/ui/editor.py
    M dabo/ui/file_dialog.py
    M dabo/ui/font.py
    M dabo/ui/form.py
    M dabo/ui/form_mixin.py
    M dabo/ui/gauge.py
    M dabo/ui/gl_window.py
    M dabo/ui/grid.py
    M dabo/ui/grid_sizer.py
    M dabo/ui/html_box.py
    M dabo/ui/hyper_link.py
    M dabo/ui/image_mixin.py
    M dabo/ui/label.py
    M dabo/ui/led.py
    M dabo/ui/line.py
    M dabo/ui/line_plot.py
    M dabo/ui/list_box.py
    M dabo/ui/list_control.py
    M dabo/ui/masked_text_box.py
    M dabo/ui/media_control.py
    M dabo/ui/menu.py
    M dabo/ui/menu_bar.py
    M dabo/ui/menu_item.py
    M dabo/ui/numeric_box.py
    M dabo/ui/object_inspector.py
    M dabo/ui/page.py
    M dabo/ui/page_frame.py
    M dabo/ui/page_frame_mixin.py
    M dabo/ui/page_frame_no_tabs.py
    M dabo/ui/panel.py
    M dabo/ui/pem_mixin.py
    M dabo/ui/radio_list.py
    M dabo/ui/report_progress.py
    M dabo/ui/rich_text_box.py
    M dabo/ui/search_box.py
    M dabo/ui/shell.py
    M dabo/ui/sizer_mixin.py
    M dabo/ui/slide_panel_control.py
    M dabo/ui/slider.py
    M dabo/ui/spinner.py
    M dabo/ui/split_form.py
    M dabo/ui/splitter.py
    M dabo/ui/status_bar.py
    M dabo/ui/text_box_mixin.py
    M dabo/ui/timer.py
    M dabo/ui/toggle_button.py
    M dabo/ui/tool_bar.py
    M dabo/ui/tree_view.py
    M dabo/ui/uiApp.py
    M dabo/ui/ui_calendar.py

  Log Message:
  -----------
  Updated all property definitions

The standard in the original version of Dabo was to define properties by
first creating getter and setter methods, and then calling the built-in
`property()` function on them. Example;

    def _getSomething(self):
        return self._something

    def _setSomething(self, val):
        self._something = val

    Something = property(self._getSomething, self._setSomething, None,
        "Docstring for this property")

That was the standard for that time. Now, it is more Pythonic to use the
decorator syntax, so all of these old-style definitions have been
updated to use the decorator style. The example above will now look
like:

    @property
    def Something(self):
        """Docstring for this property"""
        return self._something

    @Something.setter
    def Something(self, val):
        self._something = val

This process revealed some poor designs, where classes called the
super() of the getter/setter. These were updated to reference the
property if possible. For cases where that was not possible, new
functions were added to `dabo.lib.utils` to get the superclass
properties or set their value.


  Commit: 26e4e074381ef94f12a25edc67b606fc16b22fc9
      
https://github.com/dabodev/dabo/commit/26e4e074381ef94f12a25edc67b606fc16b22fc9
  Author: EdLeafe <[email protected]>
  Date:   2024-12-21 (Sat, 21 Dec 2024)

  Changed paths:
    M dabo/ui/list_control.py
    M dabo/ui/pem_mixin.py
    M dabo/ui/spinner.py
    M dabo/ui/text_box_mixin.py

  Log Message:
  -----------
  Added an optional Caption to dSpinner

Issue #40. Besides the Caption property, there is also a LabelLeft
property to control which side the caption appears.

Also fixed a bug in the dListControl initialization process


Compare: https://github.com/dabodev/dabo/compare/11b656f08c65...26e4e074381e

To unsubscribe from these emails, change your notification settings at 
https://github.com/dabodev/dabo/settings/notifications

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/dabodev/dabo/push/refs/heads/main/[email protected]

Reply via email to