Skyline Lua API  Version 1.0 RC1
Lua Script Reference for Skyline Game Engine.
LUA_API_QT.h
Go to the documentation of this file.
1 // | _ ____ __ _
2 // | / \ _ _ _ __ __ _/ ___| ___ / _| |_
3 // | / _ \| | | | '__/ _` \___ \ / _ \| |_| __|
4 // | / ___ \ |_| | | | (_| |___) | (_) | _| |_
5 // | /_/ \_\__,_|_| \__,_|____/ \___/|_| \__|
6 // |
7 // | Aurasoft UK 2008 - 2016 http://www.aurasoft.co.uk
8 // |
9 // | Skyline Game Engine Lua API Documentation
10 // |
11 // | This file belongs to Aurasoft UK for the Skyline Game Engine of all versions.
12 // | This file is not for use in any other software that is not owned by Aurasoft UK and cannot be used by any other
13 // | person outside of the Skyline Game Engine development team.
14 // |
15 // | © Copyright - Aurasoft UK & Skyline Game Engine 2008 - 2016
16 // |
17 
18 // SKYLINE LUA CLASS FOR API DOCUMENTATION
19 
36 class qt
37 {
38 public:
39 
56  qt.setSelectionMode(editorName, objectName, 1);
57 
73  qt.getSelectionMode(editorName, objectName,);
74 
90  array = qt.getSelectedItems(editorName, objectName);
91 
107  itemCount = qt.getListItemCount(editorName, objectName);
108 
126  qt.setTreeSelectedItem(editorName, objectName, id, selected (int));
127 
144  isSelected = qt.getTreeSelectedItem(editorName, objectName, id);
145 
162  qt.setListSelectedItem(editorName, objectName, id, selected (int));
163 
180  isSelected = qt.getListSelectedItem(editorName, objectName, id);
181 
182 
201  qt.setTableSelectedItem(editorName, objectName, row, column, selected (int));
202 
220  isSelected = qt.getTableSelectedItem(editorName, objectName, row, column);
221 
222 
238  qt.deselectAllItems(editorName, objectName);
239 
258  qt.openEditor(editorname, subEditorName, (opt)state);
259 
276  qt.closeEditor(editorname, subEditorName);
277 
296  qt.setMinimumValue(editorname, objectname, minValue;
297 
314  qt.setMaximumValue(editorname, objectname, maxValue);
315 
332  qt.setFocus(editorname, objectname);
333 
352  qt.addComboItem( editorName, widgetName, itemText, (opt)itemIcon, (opt)insertPos );
353 
370  qt.removeComboItem( editorName, widgetName, (opt)insertPos );
371 
390  text = qt.getComboItemText(editoname, objectName, (opt)indexPos);
391 
392 
412  qt.setComboItemText(editoname, objectName, text, (opt)indexPos);
413 
431  qt.clear( editorName, widgetName );
432 
450  qt.setTreeItemExpanded( editorName, widgetName, treeID, column );
451 
467  qt.setTreeExpandAll( editorName, widgetName);
468 
484  qt.setTreeCollapseAll( editorName, widgetName);
485 
502  qt.getTreeItemText( editorName, widgetName, treeID);
503 
504 
521  qt.getListItemText( editorName, widgetName, listID);
522 
523 
542  qt.getTableItemText( editorName, widgetName, row, column);
543 
544 
562  qt.getHTMLText(editorname, objectname);
563 
564 
583  treeID = qt.insertTreeItem( editorName, objectName, (opt)parentID, (opt)indexPos );
584 
602  qt.removeTreeItem( editorName, objectName, treeID);
603 
620  qt.setTreeItemText( editorName, objectName, treeID, text);
621 
638  qt.setTreeItemIcon( editorName, objectName, treeID, imagename);
639 
640 
658  widgetID = qt.setTreeItemWidget( editorName, objectName, widgetInfo, callback, treeID );
659 
675  listID = qt.insertListItem( editorName, objectName, indexPos );
676 
692  qt.removeListItem( editorName, objectName, listID);
693 
711  qt.setListItemText( editorName, objectName, listID, text);
712 
730  qt.setListItemIcon( editorName, objectName, listID, image);
731 
750  widgetID = qt.setListItemWidget( editorName, objectName, widgetInfo, callback, listID);
751 
766  qt.setListView( editorName, objectName,);
767 
782  qt.setIconView( editorName, objectName,);
783 
799  qt.setIconSize( editorName, objectName, size);
800 
816  qt.insertTableRow( editorName, objectName, indexPos);
817 
833  qt.insertTableColumn( editorName, objectName, indexPos);
834 
850  qt.removeTableRow( editorName, objectName, rowID);
851 
867  qt.removeTableColumn( editorName, objectName, ColumnID);
868 
886  qt.setTableItemText( editorName, objectName, rowID, columnID, text);
887 
905  qt.setTableItemIcon( editorName, objectName,rowID, columnID, image);
906 
924  qt.setTableItemWidget( editorName, objectName, widgetInfo, callback, row, column);
925 
926 
941  qt.getNumTableRows( editorName, objectName);
942 
957  qt.getNumTableColumns( editorName, objectName);
958 
974  qt.setItemWidgetText( editorName, widgetID, text);
975 
991  qt.setItemWidgetImage( editorName, widgetID, image);
992 
1008  qt.setItemWidgetChecked( editorName, widgetID, state);
1009 
1027  qt.setItemWidgetSize( editorName, widgetID, sizeX, sizeY);
1028 
1029 
1030 };
qt openEditor(editorname, subEditorName,(opt) state)
QT open sub-editor UI file.
qt closeEditor(editorname, subEditorName)
QT Close opened sub-editor.
array
QT Get selected items.
Definition: LUA_API_QT.h:90
qt setTreeSelectedItem(editorName, objectName, id, selected(int))
QT Set tree selected item.
isSelected
QT Get tree selected item.
Definition: LUA_API_QT.h:144
Definition: LUA_API_QT.h:36
qt setTableSelectedItem(editorName, objectName, row, column, selected(int))
QT Set table selected item.
Definition: LUA_API_States.h:28
qt getSelectionMode(editorName, objectName,)
QT Get selection mode.
qt setSelectionMode(editorName, objectName, 1)
QT Set selection mode.
itemCount
QT Get listed item count.
Definition: LUA_API_QT.h:107
qt setListSelectedItem(editorName, objectName, id, selected(int))
QT Set list selected item.
qt deselectAllItems(editorName, objectName)
QT deselect all items.