Gnumed.timelinelib.wxgui.dialogs.editcategory.view.EditCategoryDialog

Package Gnumed :: Package timelinelib :: Package wxgui :: Package dialogs :: Package editcategory :: Module view :: Class EditCategoryDialog |
[frames] | no frames]

# Class EditCategoryDialog

source code

    humblewx.Dialog --+
                      |
       framework.Dialog --+
                          |
                         EditCategoryDialog

    <BoxSizerVertical>
        <FlexGridSizer rows="6" columns="2" growableColumns="1" proportion="1" border="ALL">
            <StaticText align="ALIGN_CENTER_VERTICAL" label="$(name_text)" />
            <TextCtrl name="txt_name" width="150" />
            <StaticText align="ALIGN_CENTER_VERTICAL" label="$(color_text)" />
            <ColourSelect name="colorpicker" align="ALIGN_CENTER_VERTICAL" width="60" height="30" />
            <StaticText align="ALIGN_CENTER_VERTICAL" label="$(progress_color_text)" />
            <ColourSelect name="progresscolorpicker" align="ALIGN_CENTER_VERTICAL" width="60" height="30" />
            <StaticText align="ALIGN_CENTER_VERTICAL" label="$(done_color_text)" />
            <ColourSelect name="donecolorpicker" align="ALIGN_CENTER_VERTICAL" width="60" height="30" />
            <StaticText align="ALIGN_CENTER_VERTICAL" label="$(font_color_text)" />
            <ColourSelect name="fontcolorpicker" align="ALIGN_CENTER_VERTICAL" width="60" height="30" />
            <StaticText align="ALIGN_CENTER_VERTICAL" label="$(parent_text)" />
            <CategoryChoice name="category_choice" allow_add="True" timeline="$(db)" align="ALIGN_CENTER_VERTICAL" />
        </FlexGridSizer>
        <DialogButtonsOkCancelSizer
            border="LEFT|BOTTOM|RIGHT"
            event_EVT_BUTTON__ID_OK="on_ok_clicked"
        />
    </BoxSizerVertical>

Instance Methods
__init__(self, parent, title, db, category) | source code
PopulateCategories(self, exclude) | source code
GetName(self) | source code
SetName(self, new_name) | source code
GetColor(self) | source code
SetColor(self, new_color) | source code
GetProgressColor(self) | source code
SetProgressColor(self, new_color) | source code
GetDoneColor(self) | source code
SetDoneColor(self, new_color) | source code
GetFontColor(self) | source code
SetFontColor(self, new_color) | source code
GetParent(self) | source code
SetParent(self, parent) | source code
HandleInvalidName(self, name) | source code
HandleUsedName(self, name) | source code
GetEditedCategory(self) | source code
Inherited from `framework.Dialog`: `DisplayErrorMessage`, `DisplayInformationMessage`, `EndModalOk`