tests/wxHMI/wxglade_hmi@wxglade_hmi/hmi.wxg
author Edouard Tisserant
Fri, 21 Aug 2020 13:22:54 +0200
branchsvghmi
changeset 3033 52f6548982d4
parent 2283 f7132d89fbc0
permissions -rw-r--r--
SVGHMI: Keypad is now keeping Javascript type constency. In other words, if a number was given as initial value, input value will have to convert to number in order to be valid. In case invalid value is entered, initial value is restored.
2282
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
     1
<?xml version="1.0"?>
2283
f7132d89fbc0 Remove useless print statement from wxHMI GUI code
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2282
diff changeset
     2
<!-- generated by wxGlade 0.8.3 on Mon Aug 13 17:04:28 2018 -->
2282
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
     3
2283
f7132d89fbc0 Remove useless print statement from wxHMI GUI code
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2282
diff changeset
     4
<application encoding="UTF-8" for_version="3.0" header_extension=".h" indent_amount="4" indent_symbol="space" is_template="0" language="python" option="0" overwrite="0" path="..py.py" source_extension=".cpp" top_window="wxglade_hmi" use_gettext="1" use_new_namespace="1">
2282
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
     5
    <object class="Class_wxglade_hmi" name="wxglade_hmi" base="EditFrame">
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
     6
        <title>frame_1</title>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
     7
        <style>wxDEFAULT_FRAME_STYLE|wxMAXIMIZE</style>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
     8
        <object class="wxFlexGridSizer" name="grid_sizer_1" base="EditFlexGridSizer">
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
     9
            <rows>1</rows>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    10
            <cols>4</cols>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    11
            <vgap>0</vgap>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    12
            <hgap>0</hgap>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    13
            <growable_rows>0</growable_rows>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    14
            <growable_cols>0</growable_cols>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    15
            <object class="sizeritem">
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    16
                <option>1</option>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    17
                <border>0</border>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    18
                <flag>wxALIGN_CENTER</flag>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    19
                <object class="ThreeDee" name="window_1" base="CustomWidget">
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    20
                    <size>400,400</size>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    21
                    <arguments>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    22
                        <argument>$parent</argument>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    23
                        <argument>$id</argument>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    24
                    </arguments>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    25
                </object>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    26
            </object>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    27
            <object class="sizeritem">
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    28
                <option>1</option>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    29
                <border>0</border>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    30
                <flag>wxEXPAND</flag>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    31
                <object class="wxFlexGridSizer" name="sizer_1" base="EditFlexGridSizer">
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    32
                    <rows>2</rows>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    33
                    <cols>1</cols>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    34
                    <vgap>0</vgap>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    35
                    <hgap>0</hgap>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    36
                    <growable_rows>0</growable_rows>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    37
                    <object class="sizeritem">
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    38
                        <option>1</option>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    39
                        <border>0</border>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    40
                        <flag>wxEXPAND</flag>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    41
                        <object class="wxBoxSizer" name="sizer_2" base="EditBoxSizer">
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    42
                            <orient>wxVERTICAL</orient>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    43
                            <object class="sizerslot" />
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    44
                            <object class="sizerslot" />
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    45
                            <object class="sizerslot" />
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    46
                            <object class="sizerslot" />
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    47
                        </object>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    48
                    </object>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    49
                    <object class="sizeritem">
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    50
                        <option>1</option>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    51
                        <border>0</border>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    52
                        <flag>wxEXPAND</flag>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    53
                        <object class="wxGridSizer" name="sizer_3" base="EditGridSizer">
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    54
                            <rows>6</rows>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    55
                            <cols>2</cols>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    56
                            <vgap>0</vgap>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    57
                            <hgap>0</hgap>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    58
                            <object class="sizerslot" />
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    59
                            <object class="sizerslot" />
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    60
                            <object class="sizerslot" />
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    61
                            <object class="sizerslot" />
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    62
                            <object class="sizerslot" />
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    63
                            <object class="sizerslot" />
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    64
                            <object class="sizerslot" />
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    65
                            <object class="sizerslot" />
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    66
                            <object class="sizerslot" />
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    67
                            <object class="sizerslot" />
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    68
                            <object class="sizerslot" />
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    69
                            <object class="sizerslot" />
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    70
                        </object>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    71
                    </object>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    72
                </object>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    73
            </object>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    74
            <object class="sizeritem">
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    75
                <option>0</option>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    76
                <border>0</border>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    77
                <object class="wxToggleButton" name="DrawTestBt" base="EditToggleButton">
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    78
                    <events>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    79
                        <handler event="EVT_TOGGLEBUTTON">SetPLCTestBtnGlobalVar</handler>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    80
                    </events>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    81
                    <label>Please Draw!</label>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    82
                </object>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    83
            </object>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    84
            <object class="sizeritem">
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    85
                <option>0</option>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    86
                <border>0</border>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    87
                <object class="wxToggleButton" name="DrawTestBt2" base="EditToggleButton">
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    88
                    <events>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    89
                        <handler event="EVT_TOGGLEBUTTON">SetPLCTestBtn2GlobalVar</handler>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    90
                    </events>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    91
                    <label>Please Draw copy!</label>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    92
                </object>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    93
            </object>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    94
        </object>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    95
    </object>
73f95ba6d3af Rename extension instance 'wxHMI' to 'wxglade_hmi'
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    96
</application>