mlhim-specs-dev team mailing list archive
-
mlhim-specs-dev team
-
Mailing list archive
-
Message #00585
[Branch ~cdd-dev/cdd/trunk] Rev 171: Instead of hiding, removed CDD definition class choice completely.
------------------------------------------------------------
revno: 171
committer: Eduardo César <xcesar@xxxxxxxxx>
branch nick: cdd
timestamp: Sat 2012-07-14 17:24:12 -0300
message:
Instead of hiding, removed CDD definition class choice completely.
modified:
Generator/cdg/MainFrame.py
Generator/cdg_wxglade.wxg
--
lp:cdd
https://code.launchpad.net/~cdd-dev/cdd/trunk
Your team MLHIM Specifications Developers is subscribed to branch lp:cdd.
To unsubscribe from this branch go to https://code.launchpad.net/~cdd-dev/cdd/trunk/+edit-subscription
=== modified file 'Generator/cdg/MainFrame.py'
--- Generator/cdg/MainFrame.py 2012-07-07 02:48:23 +0000
+++ Generator/cdg/MainFrame.py 2012-07-14 20:24:12 +0000
@@ -43,8 +43,6 @@
self.text_ctrl_coverage = wx.TextCtrl(self.panel_principal, -1, "")
self.label_contributors = wx.StaticText(self.panel_principal, -1, "Contributors: ")
self.text_ctrl_contributors = wx.TextCtrl(self.panel_principal, -1, "")
- self.label_ccd_definition = wx.StaticText(self.panel_principal, -1, "CCD definition class: ")
- self.combo_box_ccd = wx.ComboBox(self.panel_principal, -1, choices=["CareEntryType", "AdminEntryType", "DemographicEntryType", "ClusterType", "ElementType", "SlotType"], style=wx.CB_DROPDOWN | wx.CB_SIMPLE | wx.CB_DROPDOWN | wx.CB_READONLY)
self.button_about = wx.Button(self.panel_principal, -1, "&About")
self.button_save_config = wx.Button(self.panel_principal, -1, "Save config")
self.button_help = wx.Button(self.panel_principal, wx.ID_HELP, "")
@@ -89,9 +87,6 @@
self.text_ctrl_subject.SetToolTipString("Format emails as: Timothy W. Cook <timothywayne.cook@xxxxxxxxx>")
self.label_contributors.SetToolTipString("Separate multiple contributors with a semi-colon and format them as:Eduardo Cesar <xcesar@xxxxxxxxx>; Luciana Cavalini <lutricav@xxxxxxxxx>")
self.text_ctrl_contributors.SetToolTipString("Separate multiple contributors with a semi-colon and format them as:Eduardo Cesar <xcesar@xxxxxxxxx>; Luciana Cavalini <lutricav@xxxxxxxxx>")
- self.label_ccd_definition.Hide()
- self.combo_box_ccd.Hide()
- self.combo_box_ccd.SetSelection(0)
self.button_save_config.Enable(False)
# end wxGlade
@@ -101,7 +96,6 @@
sizer_vertical = wx.BoxSizer(wx.HORIZONTAL)
sizer_3 = wx.BoxSizer(wx.VERTICAL)
sizer_2_copy = wx.BoxSizer(wx.HORIZONTAL)
- sizer_2 = wx.BoxSizer(wx.HORIZONTAL)
sizer_1 = wx.BoxSizer(wx.HORIZONTAL)
sizer_8 = wx.BoxSizer(wx.HORIZONTAL)
sizer_7 = wx.BoxSizer(wx.HORIZONTAL)
@@ -146,9 +140,6 @@
sizer_1.Add(self.label_contributors, 0, wx.ALIGN_CENTER_VERTICAL, 0)
sizer_1.Add(self.text_ctrl_contributors, 1, wx.ALIGN_CENTER_VERTICAL, 1)
sizer_3.Add(sizer_1, 1, wx.EXPAND, 0)
- sizer_2.Add(self.label_ccd_definition, 0, wx.ALIGN_CENTER_VERTICAL, 0)
- sizer_2.Add(self.combo_box_ccd, 0, wx.ALIGN_CENTER_VERTICAL, 0)
- sizer_3.Add(sizer_2, 1, wx.EXPAND, 0)
sizer_2_copy.Add(self.button_about, 0, wx.ALIGN_BOTTOM, 0)
sizer_2_copy.Add((20, 20), 0, 0, 0)
sizer_2_copy.Add(self.button_save_config, 0, wx.ALIGN_RIGHT | wx.ALIGN_BOTTOM, 0)
=== modified file 'Generator/cdg_wxglade.wxg'
--- Generator/cdg_wxglade.wxg 2012-07-07 02:30:12 +0000
+++ Generator/cdg_wxglade.wxg 2012-07-14 20:24:12 +0000
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<!-- generated by wxGlade 0.6.4 on Fri Jul 6 23:29:37 2012 -->
+<!-- generated by wxGlade 0.6.4 on Sat Jul 14 17:22:44 2012 -->
<application path="cdg" name="" class="" option="1" language="python" top_window="frame_principal" encoding="UTF-8" use_gettext="0" overwrite="0" use_new_namespace="1" for_version="2.8" is_template="0" indent_amount="4" indent_symbol="space" source_extension=".cpp" header_extension=".h">
<object class="MainFrame" name="frame_principal" base="EditFrame">
@@ -381,42 +381,6 @@
<flag>wxEXPAND</flag>
<border>0</border>
<option>1</option>
- <object class="wxBoxSizer" name="sizer_2" base="EditBoxSizer">
- <orient>wxHORIZONTAL</orient>
- <object class="sizeritem">
- <flag>wxALIGN_CENTER_VERTICAL</flag>
- <border>0</border>
- <option>0</option>
- <object class="wxStaticText" name="label_ccd_definition" base="EditStaticText">
- <attribute>1</attribute>
- <label>CCD definition class: </label>
- <hidden>1</hidden>
- </object>
- </object>
- <object class="sizeritem">
- <flag>wxALIGN_CENTER_VERTICAL</flag>
- <border>0</border>
- <option>0</option>
- <object class="wxComboBox" name="combo_box_ccd" base="EditComboBox">
- <style>wxCB_SIMPLE|wxCB_DROPDOWN|wxCB_READONLY</style>
- <selection>0</selection>
- <choices>
- <choice>CareEntryType</choice>
- <choice>AdminEntryType</choice>
- <choice>DemographicEntryType</choice>
- <choice>ClusterType</choice>
- <choice>ElementType</choice>
- <choice>SlotType</choice>
- </choices>
- <hidden>1</hidden>
- </object>
- </object>
- </object>
- </object>
- <object class="sizeritem">
- <flag>wxEXPAND</flag>
- <border>0</border>
- <option>1</option>
<object class="wxBoxSizer" name="sizer_2_copy" base="EditBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">