📄 templates_ui.wxg
字号:
<?xml version="1.0"?><!-- generated by wxGlade 0.6 on Thu Sep 6 09:18:26 2007 --><application path="../templates_ui.py" name="" class="" option="0" language="python" top_window="template_info_dialog" encoding="ISO-8859-1" use_gettext="1" overwrite="1" use_new_namespace="1" for_version="2.6" is_template="0"> <object class="TemplateInfoDialog" name="template_info_dialog" base="EditDialog"> <style>wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxMAXIMIZE_BOX|wxTHICK_FRAME</style> <title>wxGlade template information</title> <centered>1</centered> <size>250, 265d</size> <object class="wxBoxSizer" name="sizer_1" base="EditBoxSizer"> <orient>wxVERTICAL</orient> <object class="sizeritem"> <flag>wxEXPAND</flag> <border>0</border> <option>0</option> <object class="wxBoxSizer" name="sizer_8" base="EditBoxSizer"> <orient>wxHORIZONTAL</orient> <object class="sizeritem"> <flag>wxALL|wxALIGN_CENTER_VERTICAL</flag> <border>10</border> <option>0</option> <object class="wxStaticText" name="template_name_copy" base="EditStaticText"> <attribute>0</attribute> <label>wxGlade template: </label> <font> <size>-1</size> <family>default</family> <style>normal</style> <weight>bold</weight> <underlined>0</underlined> <face></face> </font> </object> </object> <object class="sizeritem"> <flag>wxALL|wxALIGN_CENTER_VERTICAL</flag> <border>10</border> <option>1</option> <object class="wxTextCtrl" name="template_name" base="EditTextCtrl"> </object> </object> </object> </object> <object class="sizeritem"> <flag>wxALL|wxEXPAND</flag> <border>5</border> <option>0</option> <object class="wxStaticBoxSizer" name="sizer_2" base="EditStaticBoxSizer"> <orient>wxHORIZONTAL</orient> <label>Author</label> <object class="sizeritem"> <border>0</border> <option>1</option> <object class="wxTextCtrl" name="author" base="EditTextCtrl"> </object> </object> </object> </object> <object class="sizeritem"> <flag>wxALL|wxEXPAND</flag> <border>5</border> <option>1</option> <object class="wxStaticBoxSizer" name="sizer_3" base="EditStaticBoxSizer"> <orient>wxHORIZONTAL</orient> <label>Description</label> <object class="sizeritem"> <flag>wxEXPAND</flag> <border>0</border> <option>1</option> <object class="wxTextCtrl" name="description" base="EditTextCtrl"> <style>wxTE_MULTILINE</style> </object> </object> </object> </object> <object class="sizeritem"> <flag>wxALL|wxEXPAND</flag> <border>5</border> <option>1</option> <object class="wxStaticBoxSizer" name="sizer_3_copy" base="EditStaticBoxSizer"> <orient>wxHORIZONTAL</orient> <label>Instructions</label> <object class="sizeritem"> <flag>wxEXPAND</flag> <border>0</border> <option>1</option> <object class="wxTextCtrl" name="instructions" base="EditTextCtrl"> <style>wxTE_MULTILINE</style> </object> </object> </object> </object> <object class="sizeritem"> <flag>wxALL|wxALIGN_RIGHT</flag> <border>10</border> <option>0</option> <object class="wxBoxSizer" name="sizer_4" base="EditBoxSizer"> <orient>wxHORIZONTAL</orient> <object class="sizeritem"> <border>0</border> <option>0</option> <object class="wxButton" name="button_1" base="EditButton"> <stockitem>OK</stockitem> <label>&OK</label> </object> </object> <object class="sizeritem"> <flag>wxLEFT</flag> <border>10</border> <option>0</option> <object class="wxButton" name="button_2" base="EditButton"> <stockitem>CANCEL</stockitem> <label>&Cancel</label> </object> </object> </object> </object> </object> </object> <object class="TemplateListDialog" name="template_list_dialog" base="EditDialog"> <style>wxDEFAULT_DIALOG_STYLE</style> <title>wxGlade template list</title> <centered>1</centered> <size>300, 200d</size> <object class="wxBoxSizer" name="sizer_5" base="EditBoxSizer"> <orient>wxVERTICAL</orient> <object class="sizeritem"> <flag>wxEXPAND</flag> <border>0</border> <option>1</option> <object class="wxBoxSizer" name="sizer_6" base="EditBoxSizer"> <orient>wxHORIZONTAL</orient> <object class="sizeritem"> <flag>wxALL|wxEXPAND</flag> <border>5</border> <option>1</option> <object class="wxStaticBoxSizer" name="sizer_7" base="EditStaticBoxSizer"> <orient>wxVERTICAL</orient> <label>Available templates</label> <object class="sizeritem"> <flag>wxALL|wxEXPAND</flag> <border>3</border> <option>1</option> <object class="wxListBox" name="template_names" base="EditListBox"> <selection>0</selection> <choices> </choices> <events> <handler event="EVT_LISTBOX">on_select_template</handler> <handler event="EVT_LISTBOX_DCLICK">on_open</handler> </events> </object> </object> </object> </object> <object class="sizeritem"> <flag>wxEXPAND</flag> <border>0</border> <option>2</option> <object class="wxBoxSizer" name="sizer_1_copy" base="EditBoxSizer"> <orient>wxVERTICAL</orient> <object class="sizeritem"> <flag>wxALL|wxALIGN_CENTER_VERTICAL</flag> <border>7</border> <option>0</option> <object class="wxStaticText" name="template_name" base="EditStaticText"> <attribute>1</attribute> <label>wxGlade template:\n</label> <font> <size>-1</size> <family>default</family> <style>normal</style> <weight>bold</weight> <underlined>0</underlined> <face></face> </font> </object> </object> <object class="sizeritem"> <flag>wxALL|wxEXPAND</flag> <border>5</border> <option>0</option> <object class="wxStaticBoxSizer" name="sizer_2_copy" base="EditStaticBoxSizer"> <orient>wxHORIZONTAL</orient> <label>Author</label> <object class="sizeritem"> <border>0</border> <option>1</option> <object class="wxTextCtrl" name="author" base="EditTextCtrl"> <style>wxTE_READONLY</style> </object> </object> </object> </object> <object class="sizeritem"> <flag>wxALL|wxEXPAND</flag> <border>5</border> <option>1</option> <object class="wxStaticBoxSizer" name="sizer_3_copy_1" base="EditStaticBoxSizer"> <orient>wxHORIZONTAL</orient> <label>Description</label> <object class="sizeritem"> <flag>wxEXPAND</flag> <border>0</border> <option>1</option> <object class="wxTextCtrl" name="description" base="EditTextCtrl"> <style>wxTE_MULTILINE|wxTE_READONLY</style> </object> </object> </object> </object> <object class="sizeritem"> <flag>wxALL|wxEXPAND</flag> <border>5</border> <option>1</option> <object class="wxStaticBoxSizer" name="sizer_3_copy_copy" base="EditStaticBoxSizer"> <orient>wxHORIZONTAL</orient> <label>Instructions</label> <object class="sizeritem"> <flag>wxEXPAND</flag> <border>0</border> <option>1</option> <object class="wxTextCtrl" name="instructions" base="EditTextCtrl"> <style>wxTE_MULTILINE|wxTE_READONLY</style> </object> </object> </object> </object> </object> </object> </object> </object> <object class="sizeritem"> <flag>wxALL|wxALIGN_RIGHT</flag> <border>10</border> <option>0</option> <object class="wxBoxSizer" name="sizer_4_copy" base="EditBoxSizer"> <orient>wxHORIZONTAL</orient> <object class="sizeritem"> <border>0</border> <option>0</option> <object class="wxButton" name="btn_open" base="EditButton"> <stockitem>OPEN</stockitem> <label>&Open</label> <events> <handler event="EVT_BUTTON">on_open</handler> </events> </object> </object> <object class="sizeritem"> <flag>wxLEFT</flag> <border>10</border> <option>0</option> <object class="wxButton" name="btn_edit" base="EditButton"> <extracode>try:\n ID_EDIT = wx.ID_EDIT\nexcept AttributeError:\n ID_EDIT = wx.NewId()\n</extracode> <label>&Edit</label> <id>ID_EDIT</id> <events> <handler event="EVT_BUTTON">on_edit</handler> </events> </object> </object> <object class="sizeritem"> <flag>wxLEFT</flag> <border>10</border> <option>0</option> <object class="wxButton" name="btn_delete" base="EditButton"> <stockitem>DELETE</stockitem> <label>&Delete</label> <events> <handler event="EVT_BUTTON">on_delete</handler> </events> </object> </object> <object class="sizeritem"> <flag>wxLEFT</flag> <border>10</border> <option>0</option> <object class="wxButton" name="btn_cancel" base="EditButton"> <stockitem>CANCEL</stockitem> <label>&Cancel</label> </object> </object> </object> </object> </object> </object></application>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -