Package Gnumed :: Package timelinelib :: Package wxgui :: Package dialogs :: Package preferences :: Module view :: Class PreferencesDialog |
[frames] | no frames]

# Class PreferencesDialog

source code

    humblewx.Dialog --+
                      |
       framework.Dialog --+
                          |
                         PreferencesDialog

    <BoxSizerVertical>
        <Notebook border="ALL" proportion="1" width="600">
            <Panel notebookLabel="$(general_text)">
                <BoxSizerVertical>
                    <FlexGridSizer columns="1" border="ALL">
                        <CheckBox
                            name="open_recent_checkbox"
                            event_EVT_CHECKBOX="on_open_recent_change"
                            label="$(open_recent_text)"
                        />
                        <CheckBox
                            name="inertial_scrolling_checkbox"
                            event_EVT_CHECKBOX="on_inertial_scrolling_changed"
                            label="$(inertial_scrolling_text)"
                        />
                        <CheckBox
                            name="never_period_point_checkbox"
                            event_EVT_CHECKBOX="on_never_period_point_changed"
                            label="$(never_period_point_text)"
                        />
                        <CheckBox
                            name="center_text_checkbox"
                            event_EVT_CHECKBOX="on_center_text_changed"
                            label="$(center_text_text)"
                        />
                        <CheckBox
                            name="display_checkmark_on_events_done_checkbox"
                            event_EVT_CHECKBOX="on_display_checkmark_on_events_done_changed"
                            label="$(display_checkmark_on_events_done_text)"
                        />
                        <CheckBox
                            name="uncheck_time_for_new_events"
                            event_EVT_CHECKBOX="on_uncheck_time_for_new_events"
                            label="$(uncheck_time_for_new_events_text)"
                        />
                        <CheckBox
                            name="text_below_icon"
                            event_EVT_CHECKBOX="on_text_below_icon"
                            label="$(text_below_icon_text)"
                        />
                        <CheckBox
                            name="filtered_listbox_export"
                            event_EVT_CHECKBOX="on_filtered_listbox_export"
                            label="$(text_filtered_listbox_export)"
                        />
                        <Button
                            name="select_tab_order"
                            event_EVT_BUTTON="on_tab_order_click"
                            label="$(tab_order_text)"
                            align="ALIGN_LEFT"
                        />
                        <BoxSizerHorizontal>
                            <StaticText
                                name="vertical_space_between_events_text"
                                label="$(vertical_space_between_events_text)"
                                align="ALIGN_CENTER_VERTICAL"
                            />
                            <SpinCtrl
                                name="vertical_space_between_events"
                                event_EVT_SPINCTRL="on_vertical_space_between_events_click"
                                align="ALIGN_LEFT"
                                width="50"
                            />
                        </BoxSizerHorizontal>
                        <RadioBox
                            name="legend_positions"
                            choices="$(legend_positions)"
                            label="$(legend_positions_text)"
                        />
                    </FlexGridSizer>
                </BoxSizerVertical>
            </Panel>
            <Panel notebookLabel="$(date_time_text)">
                <BoxSizerVertical>
                    <FlexGridSizer columns="2" border="ALL">
                        <StaticText
                            label="$(week_start_text)"
                            align="ALIGN_CENTER_VERTICAL"
                        />
                        <Choice
                            name="week_start_choice"
                            event_EVT_CHOICE="on_week_start_changed"
                            choices="$(week_start_choices)"
                        />
                        <Button
                            name="select_date_formatter"
                            event_EVT_BUTTON="on_date_formatter_click"
                            label="$(date_formatter_text)"
                            align="ALIGN_LEFT"
                        />
                        <StaticText
                            name="current_date_format"
                            align="ALIGN_CENTER_VERTICAL"
                        />
                        <CheckBox
                            name="skip_s_in_decade_text"
                            event_EVT_CHECKBOX="on_skip_s_in_decade_text"
                            label="$(skip_s_in_decade_text_text)"
                        />
                        <Spacer />
                        <CheckBox
                            name="never_use_time_checkbox"
                            event_EVT_CHECKBOX="on_never_use_time_change"
                            label="$(never_use_time_text)"
                        />
                        <Spacer />
                    </FlexGridSizer>
                </BoxSizerVertical>
            </Panel>
            <Panel notebookLabel="$(fonts_text)">
                <BoxSizerVertical name="font_sizer">
                    <FlexGridSizer columns="3" border="ALL">
                        <StaticText
                            label="$(major_strip_text)"
                            align="ALIGN_CENTER_VERTICAL"
                        />
                        <Button
                            name="select_major_strip"
                            event_EVT_BUTTON="on_major_strip_click"
                            label="$(edit_text)"
                        />
                        <StaticText
                            name="major_strip_font_sample"
                            label="Timeline"
                        />
                        <StaticText
                            label="$(minor_strip_text)"
                            align="ALIGN_CENTER_VERTICAL"
                        />
                        <Button
                            name="select_minor_strip"
                            event_EVT_BUTTON="on_minor_strip_click"
                            label="$(edit_text)"
                        />
                        <StaticText
                            name="minor_strip_font_sample"
                            label="Timeline"
                            align="ALIGN_CENTER_VERTICAL"
                        />
                       <StaticText
                            label="$(legends_text)"
                            align="ALIGN_CENTER_VERTICAL"
                        />
                        <Button
                            name="select_legend"
                            event_EVT_BUTTON="on_legend_click"
                            label="$(edit_text)"
                        />
                        <StaticText
                            name="legend_font_sample"
                            label="Timeline"
                            align="ALIGN_CENTER_VERTICAL"
                        />
                        <StaticText
                            label="$(balloon_text)"
                            align="ALIGN_CENTER_VERTICAL"
                        />
                        <Button
                            name="select_balloon"
                            event_EVT_BUTTON="on_balloon_click"
                            label="$(edit_text)"
                        />
                        <StaticText
                            name="balloon_font_sample"
                            label="Timeline"
                        />
                    </FlexGridSizer>
                </BoxSizerVertical>
            </Panel>
            <Panel notebookLabel="$(colours_text)">
                <BoxSizerVertical>
                    <FlexGridSizer columns="2" border="ALL">
                        <StaticText
                            label="$(bg_colour_text)"
                            align="ALIGN_CENTER_VERTICAL"
                        />
                        <ColourSelect
                            name="bg_colorpicker"
                            align="ALIGN_CENTER_VERTICAL"
                            width="60"
                            height="30"
                        />
                        <StaticText
                            label="$(minor_strip_colour_text)"
                            align="ALIGN_CENTER_VERTICAL"
                        />
                        <ColourSelect
                            name="minor_strip_colorpicker"
                            align="ALIGN_CENTER_VERTICAL"
                            width="60"
                            height="30"
                        />
                        <StaticText
                            label="$(major_strip_colour_text)"
                            align="ALIGN_CENTER_VERTICAL"
                        />
                        <ColourSelect
                            name="major_strip_colorpicker"
                            align="ALIGN_CENTER_VERTICAL"
                            width="60"
                            height="30"
                        />
                        <StaticText
                            label="$(now_line_colour_text)"
                            align="ALIGN_CENTER_VERTICAL"
                        />
                        <ColourSelect
                            name="now_line_colorpicker"
                            align="ALIGN_CENTER_VERTICAL"
                            width="60"
                            height="30"
                        />
                        <StaticText
                            label="$(weekend_colour_text)"
                            align="ALIGN_CENTER_VERTICAL"
                        />
                        <BoxSizerHorizontal>
                            <ColourSelect
                                name="weekend_colorpicker"
                                align="ALIGN_CENTER_VERTICAL"
                                width="60"
                                height="30"
                            />
                            <Spacer />
                            <CheckBox
                                name="colorize_weekends"
                                event_EVT_CHECKBOX="on_colorize_weekends"
                                label="$(colorize_weekends_text)"
                            />
                        </BoxSizerHorizontal>
                    </FlexGridSizer>
                </BoxSizerVertical>
            </Panel>
            <Panel notebookLabel="$(icons_text)">
                <BoxSizerVertical name="x">
                    <FlexGridSizer columns="3" border="ALL">
                        <StaticText
                            label="$(fuzzy_icon_text)"
                            align="ALIGN_CENTER_VERTICAL"
                        />
                        <Choice
                            name="fuzzy_icon_choice"
                            event_EVT_CHOICE="on_fuzzy_icon_changed"
                        />
                        <StaticBitmap
                            name="fuzzy_icon"
                        />
                        <StaticText
                            label="$(locked_icon_text)"
                            align="ALIGN_CENTER_VERTICAL"
                        />
                        <Choice
                            name="locked_icon_choice"
                            event_EVT_CHOICE="on_locked_icon_changed"
                        />
                        <StaticBitmap
                            name="locked_icon"
                        />
                        <StaticText
                            label="$(hyperlink_icon_text)"
                            align="ALIGN_CENTER_VERTICAL"
                        />
                        <Choice
                            name="hyperlink_icon_choice"
                            event_EVT_CHOICE="on_hyperlink_icon_changed"
                        />
                        <StaticBitmap
                            name="hyperlink_icon"
                        />
                    </FlexGridSizer>
                </BoxSizerVertical>
            </Panel>
            <Panel name="experimental_panel" notebookLabel="$(experimental_text)">
                <BoxSizerVertical>
                    <FlexGridSizer
                        name="experimental_panel_sizer"
                        columns="1"
                        border="ALL"
                    />
                </BoxSizerVertical>
            </Panel>
        </Notebook>
        <DialogButtonsCloseSizer border="LEFT|BOTTOM|RIGHT" />
    </BoxSizerVertical>

Instance Methods
__init__(self, parent, config) | source code
SetIconsChoices(self, choices) | source code
SetFuzzyIcon(self, icon_name) | source code
SetLockedIcon(self, icon_name) | source code
SetHyperlinkIcon(self, icon_name) | source code
SetCurrentDateFormat(self, current_date_format) | source code
DisplayIcons(self) | source code
Destroy(self) | source code
SetOpenRecentCheckboxValue(self, value) | source code
SetInertialScrollingCheckboxValue(self, value) | source code
SetNeverPeriodPointCheckboxValue(self, value) | source code
SetUncheckTimeForNewEventsCheckboxValue(self, value) | source code
SetTextBelowIconCheckboxValue(self, value) | source code
SetFilteredListboxExport(self, value) | source code
SetCenterTextCheckboxValue(self, value) | source code
SetDisplayCheckmarkOnEventsDone(self, value) | source code
SetWeekStartSelection(self, value) | source code
SetNeverUseTime(self, value) | source code
GetNeverUseTime(self) | source code
AddExperimentalFeatures(self, features) | source code
ShowSelectTabOrderDialog(self, config) | source code
ShowSelectDateFormatDialog(self, config) | source code
ShowEditFontDialog(self, font) | source code
GetMinorStripColor(self) | source code
SetMinorStripColor(self, new_color) | source code
GetMajorStripColor(self) | source code
SetMajorStripColor(self, new_color) | source code
GetNowLineColor(self) | source code
SetNowLineColor(self, new_color) | source code
GetBgColor(self) | source code
SetBgColor(self, new_color) | source code
GetWeekendColor(self) | source code
SetWeekendColor(self, new_color) | source code
SetVerticalSpaceBetweenEvents(self, value) | source code
GetVerticalSpaceBetweenEvents(self) | source code
SetColorizeWeekends(self, value) | source code
GetColorizeWeekends(self) | source code
SetSkipSInDecadeText(self, value) | source code
GetSkipSInDecadeText(self) | source code
SetMajorStripFont(self, font) | source code
SetMinorStripFont(self, font) | source code
SetLegendFont(self, font) | source code
SetBalloonFont(self, font) | source code
GetLegendPos(self) | source code
SetLegendPos(self, pos) | source code
Inherited from `framework.Dialog`: `DisplayErrorMessage`, `DisplayInformationMessage`, `EndModalOk`