panthema / 2009 / cryptote / cryptote-0.5.390 / src / pwgen / wpassgen.wxg (Download File)
<?xml version="1.0"?>
<!-- generated by wxGlade 0.6.3 on Thu Jul 23 19:15:35 2009 -->

<application path="wpassgen.h" name="" class="" option="0" language="C++" top_window="WPassGen" encoding="ANSI_X3.4-1968" use_gettext="1" overwrite="0" use_new_namespace="1" for_version="2.8" is_template="0">
    <object class="WPassGen" name="WPassGen" base="EditDialog">
        <style>wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxTHICK_FRAME</style>
        <title>CryptoTE Password Generator</title>
        <centered>1</centered>
        <size>502, 600</size>
        <object class="wxBoxSizer" name="sizer1" base="EditBoxSizer">
            <orient>wxVERTICAL</orient>
            <object class="sizeritem">
                <flag>wxALL|wxEXPAND</flag>
                <border>8</border>
                <option>0</option>
                <object class="wxStaticBoxSizer" name="sizer2" base="EditStaticBoxSizer">
                    <orient>wxVERTICAL</orient>
                    <label>Generator Options</label>
                    <object class="sizeritem">
                        <flag>wxEXPAND</flag>
                        <border>0</border>
                        <option>1</option>
                        <object class="wxFlexGridSizer" name="sizer3" base="EditFlexGridSizer">
                            <hgap>0</hgap>
                            <rows>8</rows>
                            <growable_cols>1</growable_cols>
                            <cols>2</cols>
                            <vgap>0</vgap>
                            <object class="sizeritem">
                                <flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL</flag>
                                <border>6</border>
                                <option>0</option>
                                <object class="wxStaticText" name="label1" base="EditStaticText">
                                    <attribute>0</attribute>
                                    <label>Preset:</label>
                                </object>
                            </object>
                            <object class="sizeritem">
                                <flag>wxALL|wxEXPAND</flag>
                                <border>6</border>
                                <option>1</option>
                                <object class="wxBoxSizer" name="sizer4" base="EditBoxSizer">
                                    <orient>wxHORIZONTAL</orient>
                                    <object class="sizeritem">
                                        <flag>wxEXPAND|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL</flag>
                                        <border>6</border>
                                        <option>1</option>
                                        <object class="wxChoice" name="choicePreset" base="EditChoice">
                                            <selection>0</selection>
                                            <tooltip>Default or saved password generation presets.</tooltip>
                                            <id>myID_PRESET=?</id>
                                            <choices>
                                            </choices>
                                            <events>
                                                <handler event="EVT_CHOICE">OnChoicePreset</handler>
                                            </events>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <flag>wxLEFT</flag>
                                        <border>6</border>
                                        <option>0</option>
                                        <object class="wxBitmapButton" name="buttonPresetAdd" base="EditBitmapButton">
                                            <tooltip>Save the current settings as a new preset.</tooltip>
                                            <id>myID_PRESET_ADD=?</id>
                                            <events>
                                                <handler event="EVT_BUTTON">OnButtonPresetAdd</handler>
                                            </events>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <flag>wxLEFT</flag>
                                        <border>6</border>
                                        <option>0</option>
                                        <object class="wxBitmapButton" name="buttonPresetRemove" base="EditBitmapButton">
                                            <tooltip>Remove current preset.</tooltip>
                                            <id>myID_PRESET_REMOVE=?</id>
                                            <events>
                                                <handler event="EVT_BUTTON">OnButtonPresetRemove</handler>
                                            </events>
                                        </object>
                                    </object>
                                </object>
                            </object>
                            <object class="sizeritem">
                                <flag>wxLEFT|wxRIGHT|wxBOTTOM|wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL</flag>
                                <border>6</border>
                                <option>0</option>
                                <object class="wxStaticText" name="label2" base="EditStaticText">
                                    <attribute>0</attribute>
                                    <label>Type:</label>
                                </object>
                            </object>
                            <object class="sizeritem">
                                <flag>wxLEFT|wxRIGHT|wxBOTTOM|wxEXPAND|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL</flag>
                                <border>6</border>
                                <option>0</option>
                                <object class="wxChoice" name="choiceType" base="EditChoice">
                                    <selection>0</selection>
                                    <tooltip>Select desired password components.</tooltip>
                                    <id>myID_TYPE=?</id>
                                    <choices>
                                    </choices>
                                    <events>
                                        <handler event="EVT_CHOICE">OnChoiceType</handler>
                                    </events>
                                </object>
                            </object>
                            <object class="sizeritem">
                                <flag>wxLEFT|wxRIGHT|wxBOTTOM|wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL</flag>
                                <border>6</border>
                                <option>0</option>
                                <object class="spacer" name="spacer" base="EditSpacer">
                                    <height>5</height>
                                    <width>5</width>
                                </object>
                            </object>
                            <object class="sizeritem">
                                <flag>wxLEFT|wxRIGHT|wxBOTTOM</flag>
                                <border>6</border>
                                <option>0</option>
                                <object class="wxCheckBox" name="checkboxSkipSimilarChar" base="EditCheckBox">
                                    <label>Don't use 0/O and 1/l.</label>
                                    <tooltip>Does not use 0/O and 1/l, because these can hardly be distinguished in some fonts.</tooltip>
                                    <id>myID_SKIPSIMILARCHAR=?</id>
                                    <events>
                                        <handler event="EVT_CHECKBOX">OnCheckSkipSimilarChar</handler>
                                    </events>
                                </object>
                            </object>
                            <object class="sizeritem">
                                <flag>wxLEFT|wxRIGHT|wxBOTTOM|wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL</flag>
                                <border>6</border>
                                <option>0</option>
                                <object class="spacer" name="spacer" base="EditSpacer">
                                    <height>5</height>
                                    <width>5</width>
                                </object>
                            </object>
                            <object class="sizeritem">
                                <flag>wxLEFT|wxRIGHT|wxBOTTOM</flag>
                                <border>6</border>
                                <option>0</option>
                                <object class="wxCheckBox" name="checkboxSkipSwappedChar" base="EditCheckBox">
                                    <label>Don't use z/y.</label>
                                    <tooltip>Does not include characters in password which are swapped on some keyboards.</tooltip>
                                    <id>myID_SKIPSWAPPEDCHAR=?</id>
                                    <events>
                                        <handler event="EVT_CHECKBOX">OnCheckSkipSwappedChar</handler>
                                    </events>
                                </object>
                            </object>
                            <object class="sizeritem">
                                <flag>wxLEFT|wxRIGHT|wxBOTTOM|wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL</flag>
                                <border>6</border>
                                <option>0</option>
                                <object class="wxStaticText" name="label3" base="EditStaticText">
                                    <attribute>0</attribute>
                                    <label>Extra Characters:</label>
                                </object>
                            </object>
                            <object class="sizeritem">
                                <flag>wxLEFT|wxRIGHT|wxBOTTOM|wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                <border>6</border>
                                <option>0</option>
                                <object class="wxTextCtrl" name="textctrlExtraChar" base="EditTextCtrl">
                                    <tooltip>Extra non-standard characters to include in the base random set.</tooltip>
                                    <id>myID_TEXT_EXTRACHAR=?</id>
                                    <events>
                                        <handler event="EVT_TEXT">OnTextExtraCharChange</handler>
                                    </events>
                                </object>
                            </object>
                            <object class="sizeritem">
                                <flag>wxLEFT|wxRIGHT|wxBOTTOM|wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL</flag>
                                <border>6</border>
                                <option>0</option>
                                <object class="wxStaticText" name="label4" base="EditStaticText">
                                    <attribute>0</attribute>
                                    <label>Length:</label>
                                </object>
                            </object>
                            <object class="sizeritem">
                                <flag>wxLEFT|wxRIGHT|wxBOTTOM</flag>
                                <border>6</border>
                                <option>0</option>
                                <object class="wxSpinCtrl" name="spinctrlLength" base="EditSpinCtrl">
                                    <tooltip>Password length desired.</tooltip>
                                    <id>myID_LENGTH=?</id>
                                    <range>6, 100</range>
                                    <value>12</value>
                                    <events>
                                        <handler event="EVT_SPINCTRL">OnSpinLength</handler>
                                    </events>
                                </object>
                            </object>
                            <object class="sizeritem">
                                <flag>wxLEFT|wxRIGHT|wxBOTTOM|wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL</flag>
                                <border>6</border>
                                <option>0</option>
                                <object class="wxStaticText" name="label5" base="EditStaticText">
                                    <attribute>0</attribute>
                                    <label>Theoretic Strength:</label>
                                </object>
                            </object>
                            <object class="sizeritem">
                                <flag>wxLEFT|wxRIGHT|wxBOTTOM|wxEXPAND|wxALIGN_CENTER_VERTICAL</flag>
                                <border>6</border>
                                <option>0</option>
                                <object class="wxTextCtrl" name="textctrlStrength" base="EditTextCtrl">
                                    <style>wxTE_READONLY</style>
                                    <tooltip>Theoretic number of keybits the entropy of the selected pass type generates.</tooltip>
                                    <background>wxSYS_COLOUR_3DFACE</background>
                                </object>
                            </object>
                            <object class="sizeritem">
                                <flag>wxLEFT|wxRIGHT|wxBOTTOM|wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL</flag>
                                <border>6</border>
                                <option>0</option>
                                <object class="wxStaticText" name="label6" base="EditStaticText">
                                    <attribute>0</attribute>
                                    <label>Number of Passwords:</label>
                                </object>
                            </object>
                            <object class="sizeritem">
                                <flag>wxEXPAND</flag>
                                <border>0</border>
                                <option>1</option>
                                <object class="wxBoxSizer" name="sizer5" base="EditBoxSizer">
                                    <orient>wxHORIZONTAL</orient>
                                    <object class="sizeritem">
                                        <flag>wxLEFT|wxRIGHT|wxBOTTOM|wxALIGN_CENTER_VERTICAL</flag>
                                        <border>6</border>
                                        <option>0</option>
                                        <object class="wxSpinCtrl" name="spinctrlNumber" base="EditSpinCtrl">
                                            <tooltip>Number of passwords to generate.</tooltip>
                                            <id>myID_NUMBER=?</id>
                                            <range>1, 1000</range>
                                            <value>10</value>
                                            <events>
                                                <handler event="EVT_SPINCTRL">OnSpinNumber</handler>
                                            </events>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <flag>wxLEFT|wxRIGHT|wxBOTTOM|wxALIGN_CENTER_VERTICAL</flag>
                                        <border>6</border>
                                        <option>0</option>
                                        <object class="wxCheckBox" name="checkboxEnumerate" base="EditCheckBox">
                                            <label>Enumerate</label>
                                            <tooltip>Add serial enumeration to each password line.</tooltip>
                                            <id>myID_ENUMERATE=?</id>
                                            <events>
                                                <handler event="EVT_CHECKBOX">OnCheckEnumerate</handler>
                                            </events>
                                        </object>
                                    </object>
                                </object>
                            </object>
                        </object>
                    </object>
                    <object class="sizeritem">
                        <flag>wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL</flag>
                        <border>6</border>
                        <option>0</option>
                        <object class="wxButton" name="buttonGenerate" base="EditButton">
                            <label>&amp;Generate</label>
                            <id>myID_GENERATE=?</id>
                            <events>
                                <handler event="EVT_BUTTON">OnButtonGenerate</handler>
                            </events>
                        </object>
                    </object>
                </object>
            </object>
            <object class="sizeritem">
                <flag>wxEXPAND</flag>
                <border>0</border>
                <option>0</option>
                <object class="wxStaticLine" name="staticline1" base="EditStaticLine">
                    <style>wxLI_HORIZONTAL</style>
                    <attribute>0</attribute>
                </object>
            </object>
            <object class="sizeritem">
                <flag>wxALL|wxEXPAND</flag>
                <border>8</border>
                <option>1</option>
                <object class="wxListCtrl" name="listctrlPasslist" base="EditListCtrl">
                    <style>wxLC_LIST|wxSUNKEN_BORDER</style>
                    <id>myID_PASSLIST=?</id>
                    <font>
                        <size>10</size>
                        <family>modern</family>
                        <style>normal</style>
                        <weight>normal</weight>
                        <underlined>0</underlined>
                        <face></face>
                    </font>
                    <events>
                        <handler event="EVT_LIST_ITEM_SELECTED">OnPasslistSelected</handler>
                        <handler event="EVT_LIST_ITEM_DESELECTED">OnPasslistSelected</handler>
                        <handler event="EVT_LIST_ITEM_ACTIVATED">OnPasslistActivated</handler>
                    </events>
                </object>
            </object>
            <object class="sizeritem">
                <flag>wxALL|wxEXPAND</flag>
                <border>8</border>
                <option>1</option>
                <object class="wxTextCtrl" name="textctrlPasslist" base="EditTextCtrl">
                    <style>wxTE_MULTILINE|wxTE_READONLY</style>
                    <font>
                        <size>10</size>
                        <family>modern</family>
                        <style>normal</style>
                        <weight>normal</weight>
                        <underlined>0</underlined>
                        <face></face>
                    </font>
                </object>
            </object>
            <object class="sizeritem">
                <flag>wxEXPAND</flag>
                <border>0</border>
                <option>0</option>
                <object class="wxStaticLine" name="staticline2" base="EditStaticLine">
                    <style>wxLI_HORIZONTAL</style>
                    <attribute>0</attribute>
                </object>
            </object>
            <object class="sizeritem">
                <flag>wxEXPAND</flag>
                <border>0</border>
                <option>0</option>
                <object class="wxGridSizer" name="sizer6" base="EditGridSizer">
                    <hgap>0</hgap>
                    <rows>1</rows>
                    <cols>2</cols>
                    <vgap>0</vgap>
                    <object class="sizeritem">
                        <flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL</flag>
                        <border>6</border>
                        <option>0</option>
                        <object class="wxButton" name="buttonOK" base="EditButton">
                            <stockitem>OK</stockitem>
                            <label>&amp;OK</label>
                            <id>wxID_OK</id>
                            <events>
                                <handler event="EVT_BUTTON">OnButtonOK</handler>
                            </events>
                        </object>
                    </object>
                    <object class="sizeritem">
                        <flag>wxALL|wxALIGN_CENTER_VERTICAL</flag>
                        <border>6</border>
                        <option>0</option>
                        <object class="wxButton" name="buttonCancel" base="EditButton">
                            <stockitem>CANCEL</stockitem>
                            <label>&amp;Cancel</label>
                            <id>wxID_CANCEL</id>
                            <events>
                                <handler event="EVT_BUTTON">OnButtonCancel</handler>
                            </events>
                        </object>
                    </object>
                </object>
            </object>
            <object class="sizeritem">
                <flag>wxEXPAND</flag>
                <border>0</border>
                <option>0</option>
                <object class="wxGridSizer" name="sizer7" base="EditGridSizer">
                    <hgap>0</hgap>
                    <rows>1</rows>
                    <cols>2</cols>
                    <vgap>0</vgap>
                    <object class="sizeritem">
                        <flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL</flag>
                        <border>6</border>
                        <option>0</option>
                        <object class="wxButton" name="buttonAbout" base="EditButton">
                            <label>&amp;About</label>
                            <id>wxID_ABOUT</id>
                            <events>
                                <handler event="EVT_BUTTON">OnButtonAbout</handler>
                            </events>
                        </object>
                    </object>
                    <object class="sizeritem">
                        <flag>wxALL|wxALIGN_CENTER_VERTICAL</flag>
                        <border>6</border>
                        <option>0</option>
                        <object class="wxButton" name="buttonClose" base="EditButton">
                            <stockitem>CLOSE</stockitem>
                            <label>&amp;Close</label>
                            <events>
                                <handler event="EVT_BUTTON">OnButtonClose</handler>
                            </events>
                        </object>
                    </object>
                </object>
            </object>
        </object>
    </object>
    <object class="PGWAbout" name="PGWAbout" base="EditDialog">
        <style>wxDEFAULT_DIALOG_STYLE</style>
        <title>About CryptoTE Password Generator</title>
        <object class="wxBoxSizer" name="sizer1" base="EditBoxSizer">
            <orient>wxVERTICAL</orient>
            <object class="sizeritem">
                <flag>wxALL|wxEXPAND</flag>
                <border>6</border>
                <option>1</option>
                <object class="wxBoxSizer" name="sizer2" base="EditBoxSizer">
                    <orient>wxHORIZONTAL</orient>
                    <object class="sizeritem">
                        <flag>wxALL</flag>
                        <border>8</border>
                        <option>0</option>
                        <object class="wxStaticBitmap" name="bitmapIcon" base="EditStaticBitmap">
                            <attribute>1</attribute>
                        </object>
                    </object>
                    <object class="sizeritem">
                        <flag>wxEXPAND</flag>
                        <border>0</border>
                        <option>1</option>
                        <object class="wxBoxSizer" name="sizer_3" base="EditBoxSizer">
                            <orient>wxVERTICAL</orient>
                            <object class="sizeritem">
                                <flag>wxALL</flag>
                                <border>6</border>
                                <option>0</option>
                                <object class="wxStaticText" name="label1" base="EditStaticText">
                                    <attribute>0</attribute>
                                    <label>CryptoTE\nPassword Generator</label>
                                    <font>
                                        <size>18</size>
                                        <family>default</family>
                                        <style>normal</style>
                                        <weight>bold</weight>
                                        <underlined>0</underlined>
                                        <face></face>
                                    </font>
                                </object>
                            </object>
                            <object class="sizeritem">
                                <flag>wxALL</flag>
                                <border>6</border>
                                <option>0</option>
                                <object class="wxStaticText" name="label2" base="EditStaticText">
                                    <attribute>0</attribute>
                                    <label>This is a stand-alone program containing only the\nrandom password generator found in CryptoTE\ntext editor component.</label>
                                </object>
                            </object>
                            <object class="sizeritem">
                                <flag>wxALL</flag>
                                <border>6</border>
                                <option>0</option>
                                <object class="wxStaticText" name="label3" base="EditStaticText">
                                    <attribute>0</attribute>
                                    <label>The random password generator can generate\npronounceable English passwords or general upper-\nand/or lowercase letter and digit combinations.\nIt also displays the theoretic strength in key bits of\nthe chosen generator settings.</label>
                                </object>
                            </object>
                            <object class="sizeritem">
                                <flag>wxALL</flag>
                                <border>6</border>
                                <option>0</option>
                                <object class="wxStaticText" name="label4" base="EditStaticText">
                                    <attribute>0</attribute>
                                    <label>Copyright 2009 Timo Bingmann\nReleased under the GNU General Public License v2</label>
                                </object>
                            </object>
                            <object class="sizeritem">
                                <flag>wxALL|wxEXPAND</flag>
                                <border>6</border>
                                <option>0</option>
                                <object class="wxBoxSizer" name="sizer4" base="EditBoxSizer">
                                    <orient>wxHORIZONTAL</orient>
                                    <object class="sizeritem">
                                        <flag>wxALL|wxALIGN_CENTER_VERTICAL</flag>
                                        <border>6</border>
                                        <option>0</option>
                                        <object class="wxStaticBitmap" name="bitmapWeb" base="EditStaticBitmap">
                                            <attribute>1</attribute>
                                        </object>
                                    </object>
                                    <object class="sizeritem">
                                        <flag>wxEXPAND</flag>
                                        <border>0</border>
                                        <option>1</option>
                                        <object class="wxBoxSizer" name="sizer5" base="EditBoxSizer">
                                            <orient>wxVERTICAL</orient>
                                            <object class="sizeritem">
                                                <flag>wxEXPAND</flag>
                                                <border>0</border>
                                                <option>1</option>
                                                <object class="wxHyperlinkCtrl" name="hyperlink1" base="CustomWidget">
                                                    <arguments>
                                                        <argument>$parent</argument>
                                                        <argument>$id</argument>
                                                        <argument>_("Visit http://idlebox.net/2009/cryptote/")</argument>
                                                        <argument>_("http://idlebox.net/2009/cryptote/")</argument>
                                                        <argument>wxDefaultPosition</argument>
                                                        <argument>wxDefaultSize</argument>
                                                        <argument>wxNO_BORDER|wxHL_CONTEXTMENU|wxHL_ALIGN_LEFT</argument>
                                                    </arguments>
                                                </object>
                                            </object>
                                            <object class="sizeritem">
                                                <flag>wxALL</flag>
                                                <border>0</border>
                                                <option>0</option>
                                                <object class="wxStaticText" name="label5" base="EditStaticText">
                                                    <attribute>0</attribute>
                                                    <label>for updates and more.</label>
                                                </object>
                                            </object>
                                        </object>
                                    </object>
                                </object>
                            </object>
                        </object>
                    </object>
                </object>
            </object>
            <object class="sizeritem">
                <flag>wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL</flag>
                <border>6</border>
                <option>0</option>
                <object class="wxButton" name="buttonOK" base="EditButton">
                    <stockitem>OK</stockitem>
                    <label>&amp;OK</label>
                </object>
            </object>
        </object>
    </object>
</application>