Gnumed.timelinelib.wxgui.dialogs.milestone.view.EditMilestoneDialog

Package Gnumed :: Package timelinelib :: Package wxgui :: Package dialogs :: Package milestone :: Module view :: Class EditMilestoneDialog |
[frames] | no frames]

# Class EditMilestoneDialog

source code

    humblewx.Dialog --+
                      |
       framework.Dialog --+
                          |
                         EditMilestoneDialog

    <BoxSizerVertical>
        <StaticBoxSizerVertical label="$(groupbox_text)" border="ALL" >
            <FlexGridSizer rows="0" columns="2" border="ALL">
                <StaticText
                    label="$(when_text)"
                    align="ALIGN_CENTER_VERTICAL"
                />
                <TimePicker
                    time_type="$(time_type)"
                    config="$(config)"
                    name="dtp_time"
                />
                <StaticText
                    label="$(description_text)"
                    align="ALIGN_CENTER_VERTICAL"
                />
                <TextCtrl name="txt_description" />
                <StaticText
                    label="$(description_label)"
                    align="ALIGN_CENTER_VERTICAL"
                />
                <TextCtrl name="txt_label" />
                <StaticText
                    align="ALIGN_CENTER_VERTICAL"
                    label="$(category_label)"
                />
                <CategoryChoice
                    name="category_choice"
                    allow_add="True"
                    timeline="$(db)"
                    align="ALIGN_LEFT"
                />
                <StaticText
                    label="$(colour_text)"
                    align="ALIGN_CENTER_VERTICAL"
                />
                <ColourSelect
                    name="colorpicker"
                    align="ALIGN_CENTER_VERTICAL"
                    width="60"
                    height="30"
                />
            </FlexGridSizer>
        </StaticBoxSizerVertical>
        <DialogButtonsOkCancelSizer
            border="LEFT|BOTTOM|RIGHT"
            event_EVT_BUTTON__ID_OK="on_ok_clicked"
        />
    </BoxSizerVertical>

Instance Methods
__init__(self, parent, title, db, config, milestone) | source code
GetTime(self) | source code
SetTime(self, start_time) | source code
GetDescription(self) | source code
SetDescription(self, description) | source code
GetLabel(self) | source code
SetLable(self, label) | source code
GetCategory(self) | source code
SetCategory(self, value) | source code
GetColour(self) | source code
SetColor(self, color) | source code
handle_keypress(self, evt) | source code
Inherited from `framework.Dialog`: `DisplayErrorMessage`, `DisplayInformationMessage`, `EndModalOk`