tests/wxHMI/HMI@wxglade_hmi/hmi.wxg
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Mon, 19 Jun 2017 18:49:43 +0300
changeset 1696 8043f32de7b8
parent 1691 9a42f12a973e
permissions -rw-r--r--
make all dialog have non-fixed size

this fixes the problem, that some controls may be hidden in some cases, because
dialog size is too small. This can happen when system fonts are bigger
than expected, default system them controls are bigger or if localized
strings are bigger than in English.
1462
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
     1
<?xml version="1.0"?>
1691
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1462
diff changeset
     2
<!-- generated by wxGlade 0.7.2 on Tue Jun  6 12:26:48 2017 -->
1462
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
     3
1691
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1462
diff changeset
     4
<application class="" encoding="UTF-8" for_version="2.8" header_extension=".h" indent_amount="4" indent_symbol="space" is_template="0" language="python" name="" option="0" overwrite="0" path="..py.py" source_extension=".cpp" top_window="wxglade_hmi" use_gettext="1" use_new_namespace="1">
1462
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
     5
    <object class="Class_wxglade_hmi" name="wxglade_hmi" base="EditFrame">
1691
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1462
diff changeset
     6
        <style>wxDEFAULT_FRAME_STYLE|wxMAXIMIZE</style>
1462
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
     7
        <title>frame_1</title>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
     8
        <object class="wxFlexGridSizer" name="grid_sizer_1" base="EditFlexGridSizer">
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
     9
            <hgap>0</hgap>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    10
            <growable_rows>0</growable_rows>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    11
            <rows>1</rows>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    12
            <growable_cols>0</growable_cols>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    13
            <cols>4</cols>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    14
            <vgap>0</vgap>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    15
            <object class="sizeritem">
1691
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1462
diff changeset
    16
                <flag>wxALIGN_CENTER</flag>
1462
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    17
                <border>0</border>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    18
                <option>1</option>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    19
                <object class="ThreeDee" name="window_1" base="CustomWidget">
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    20
                    <extracode># WHERE IS THAT ?\nprint "hello"\n</extracode>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    21
                    <arguments>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    22
                        <argument>$parent</argument>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    23
                        <argument>$id</argument>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    24
                    </arguments>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    25
                    <size>400,400</size>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    26
                </object>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    27
            </object>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    28
            <object class="sizeritem">
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    29
                <flag>wxEXPAND</flag>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    30
                <border>0</border>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    31
                <option>1</option>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    32
                <object class="wxFlexGridSizer" name="sizer_1" base="EditFlexGridSizer">
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    33
                    <hgap>0</hgap>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    34
                    <growable_rows>0</growable_rows>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    35
                    <rows>2</rows>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    36
                    <cols>1</cols>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    37
                    <vgap>0</vgap>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    38
                    <object class="sizeritem">
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    39
                        <flag>wxEXPAND</flag>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    40
                        <border>0</border>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    41
                        <option>1</option>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    42
                        <object class="wxBoxSizer" name="sizer_2" base="EditBoxSizer">
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    43
                            <orient>wxVERTICAL</orient>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    44
                            <object class="sizerslot" />
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    45
                            <object class="sizerslot" />
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    46
                            <object class="sizerslot" />
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    47
                            <object class="sizerslot" />
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    48
                        </object>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    49
                    </object>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    50
                    <object class="sizeritem">
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    51
                        <flag>wxEXPAND</flag>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    52
                        <border>0</border>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    53
                        <option>1</option>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    54
                        <object class="wxGridSizer" name="sizer_3" base="EditGridSizer">
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    55
                            <hgap>0</hgap>
1691
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1462
diff changeset
    56
                            <rows>6</rows>
1462
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    57
                            <cols>2</cols>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    58
                            <vgap>0</vgap>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    59
                            <object class="sizerslot" />
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    60
                            <object class="sizerslot" />
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    61
                            <object class="sizerslot" />
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    62
                            <object class="sizerslot" />
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    63
                            <object class="sizerslot" />
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    64
                            <object class="sizerslot" />
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    65
                            <object class="sizerslot" />
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    66
                            <object class="sizerslot" />
1691
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1462
diff changeset
    67
                            <object class="sizerslot" />
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1462
diff changeset
    68
                            <object class="sizerslot" />
1462
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    69
                        </object>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    70
                    </object>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    71
                </object>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    72
            </object>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    73
            <object class="sizeritem">
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    74
                <border>0</border>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    75
                <option>0</option>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    76
                <object class="wxToggleButton" name="DrawTestBt" base="EditToggleButton">
1691
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1462
diff changeset
    77
                    <label>Please Draw!</label>
1462
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    78
                    <events>
1691
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1462
diff changeset
    79
                        <handler event="EVT_TOGGLEBUTTON">SetPLCTestBtnGlobalVar</handler>
1462
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    80
                    </events>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    81
                </object>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    82
            </object>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    83
            <object class="sizeritem">
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    84
                <border>0</border>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    85
                <option>0</option>
1691
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1462
diff changeset
    86
                <object class="wxToggleButton" name="DrawTestBt2" base="EditToggleButton">
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1462
diff changeset
    87
                    <label>Please Draw copy!</label>
1462
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    88
                    <events>
1691
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1462
diff changeset
    89
                        <handler event="EVT_TOGGLEBUTTON">SetPLCTestBtn2GlobalVar</handler>
1462
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    90
                    </events>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    91
                </object>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    92
            </object>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    93
        </object>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    94
    </object>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    95
</application>