tests/wxHMI/HMI@wxglade_hmi/hmi.wxg
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Tue, 22 Nov 2016 18:42:48 +0300
changeset 1574 ce9c0e68389c
parent 1462 9ee3a2dea7e8
child 1691 9a42f12a973e
permissions -rw-r--r--
add progress bar to status bar

It can be used to display progress during program upload.
To use it call ShowPLCProgress (like ShowPLCProgress("transfered",
10)) in your PLCObject implementation.
1462
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
     1
<?xml version="1.0"?>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
     2
<!-- generated by wxGlade 0.6.8 on Thu Jun 18 15:19:02 2015 -->
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
     3
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
     4
<application path="" name="" class="" option="0" language="python" top_window="wxglade_hmi" encoding="UTF-8" use_gettext="1" 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">
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
     5
    <object class="Class_wxglade_hmi" name="wxglade_hmi" base="EditFrame">
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
     6
        <style>wxCAPTION|wxCLOSE_BOX|wxMINIMIZE_BOX|wxMAXIMIZE|wxMAXIMIZE_BOX|wxSYSTEM_MENU|wxRESIZE_BORDER|wxCLIP_CHILDREN</style>
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">
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    16
                <flag>wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL</flag>
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>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    56
                            <rows>4</rows>
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" />
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    67
                        </object>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    68
                    </object>
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 class="sizeritem">
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    72
                <border>0</border>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    73
                <option>0</option>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    74
                <object class="wxToggleButton" name="DrawTestBt" base="EditToggleButton">
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    75
                    <label>Please Draw !</label>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    76
                    <events>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    77
                        <handler event="EVT_TOGGLEBUTTON">SetPLCGlobalVar</handler>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    78
                    </events>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    79
                    <extraproperties>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    80
                        <property name="Name">"DrawTest"</property>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    81
                    </extraproperties>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    82
                </object>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    83
            </object>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    84
            <object class="sizeritem">
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    85
                <border>0</border>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    86
                <option>0</option>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    87
                <object class="wxToggleButton" name="DrawTestBt_copy" base="EditToggleButton">
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    88
                    <label>Please Draw copy !</label>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    89
                    <events>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    90
                        <handler event="EVT_TOGGLEBUTTON">SetPLCGlobalVar</handler>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    91
                    </events>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    92
                    <extraproperties>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    93
                        <property name="Name">"DrawEscher"</property>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    94
                    </extraproperties>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    95
                </object>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    96
            </object>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    97
        </object>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    98
    </object>
9ee3a2dea7e8 Extended wxHMI test
Edouard Tisserant
parents: 1461
diff changeset
    99
</application>