2020-05-20 23:13:28 +02:00
|
|
|
<afx-app-window data-id="example-show-case" apptitle="AntOS GUI widgets" width="650" height="500">
|
|
|
|
<afx-vbox>
|
2022-12-31 22:45:42 +01:00
|
|
|
<afx-tab-container data-id="tabctn" dir = "column" tabbarwidth= "100" tabbarheight = "40">
|
2020-05-20 23:13:28 +02:00
|
|
|
|
|
|
|
<afx-hbox tabname="Widgets">
|
|
|
|
<afx-vbox data-width="150">
|
2021-03-15 13:17:09 +01:00
|
|
|
<afx-tree-view data-id="tree" dragndrop="true" ></afx-tree-view>
|
2022-12-31 22:45:42 +01:00
|
|
|
<afx-slider data-id="slider" data-height="30" value="50" precision="true"></afx-slider>
|
2020-05-20 23:13:28 +02:00
|
|
|
</afx-vbox>
|
2021-03-15 13:17:09 +01:00
|
|
|
<afx-resizer data-width="5" ></afx-resizer>
|
2020-05-20 23:13:28 +02:00
|
|
|
<afx-vbox data-width="grow">
|
|
|
|
<afx-hbox min-height="50">
|
2021-03-15 13:17:09 +01:00
|
|
|
<afx-switch data-id="switch" ></afx-switch>
|
2020-05-20 23:13:28 +02:00
|
|
|
<afx-button text="__(This is the label)"
|
|
|
|
data-id="bttest"
|
|
|
|
iconclass="fa fa-camera-retro fa-lg"
|
2021-03-22 20:55:07 +01:00
|
|
|
icon="os://packages/DummyApp/icon.png"></afx-button>
|
2021-03-15 13:17:09 +01:00
|
|
|
<afx-nspinner data-id="spin" value="10" step="2" ></afx-nspinner>
|
2020-05-20 23:13:28 +02:00
|
|
|
</afx-hbox>
|
2021-03-15 13:17:09 +01:00
|
|
|
<afx-resizer data-height="5" ></afx-resizer>
|
2020-05-20 23:13:28 +02:00
|
|
|
<afx-hbox>
|
2022-12-31 22:45:42 +01:00
|
|
|
<afx-list-view data-id="list" dropdown="false" multiselect="true" dir="horizontal" ></afx-list-view>
|
2020-05-20 23:13:28 +02:00
|
|
|
</afx-hbox>
|
|
|
|
<afx-hbox data-height="150">
|
2021-03-15 13:17:09 +01:00
|
|
|
<afx-grid-view data-id="grid" multiselect="false" ></afx-grid-view>
|
2020-05-20 23:13:28 +02:00
|
|
|
</afx-hbox>
|
|
|
|
</afx-vbox>
|
|
|
|
</afx-hbox>
|
|
|
|
<afx-hbox tabname="Calendar & color picker">
|
2021-03-15 13:17:09 +01:00
|
|
|
<afx-calendar-view data-id = "cal"></afx-calendar-view>
|
|
|
|
<afx-color-picker data-id = "cpk"></afx-color-picker>
|
2020-05-20 23:13:28 +02:00
|
|
|
</afx-hbox>
|
|
|
|
<afx-hbox tabname="File view">
|
|
|
|
<afx-vbox>
|
2021-03-15 13:17:09 +01:00
|
|
|
<afx-file-view data-id = "fileview" view="icon" ></afx-file-view>
|
|
|
|
<afx-list-view data-id = "viewoption" data-height="30" dropdown="true" ></afx-list-view>
|
2020-05-20 23:13:28 +02:00
|
|
|
</afx-vbox>
|
|
|
|
</afx-hbox>
|
|
|
|
|
|
|
|
<afx-hbox tabname="Dialogs">
|
|
|
|
<afx-vbox>
|
2021-03-15 13:17:09 +01:00
|
|
|
<afx-list-view data-id = "dialoglist"></afx-list-view>
|
|
|
|
<afx-button data-id = "btrundia" text="Run dialog" data-height="30"></afx-button>
|
2020-05-20 23:13:28 +02:00
|
|
|
</afx-vbox>
|
|
|
|
</afx-hbox>
|
2022-12-31 22:45:42 +01:00
|
|
|
<afx-hbox tabname="Stackmenues">
|
|
|
|
<afx-stack-menu data-id="menu" ></afx-stack-menu>
|
|
|
|
</afx-hbox>
|
|
|
|
|
2020-05-20 23:13:28 +02:00
|
|
|
</afx-tab-container>
|
|
|
|
</afx-vbox>
|
|
|
|
</afx-app-window>
|