Skyline Lua API
Version 1.0 RC1
Lua Script Reference for Skyline Game Engine.
|
#include <LUA_API_QT.h>
Public Member Functions | |
qt | setSelectionMode (editorName, objectName, 1) |
QT Set selection mode. More... | |
qt | getSelectionMode (editorName, objectName,) |
QT Get selection mode. More... | |
qt | setTreeSelectedItem (editorName, objectName, id, selected(int)) |
QT Set tree selected item. More... | |
qt | setListSelectedItem (editorName, objectName, id, selected(int)) |
QT Set list selected item. More... | |
qt | setTableSelectedItem (editorName, objectName, row, column, selected(int)) |
QT Set table selected item. More... | |
qt | deselectAllItems (editorName, objectName) |
QT deselect all items. More... | |
qt | openEditor (editorname, subEditorName,(opt) state) |
QT open sub-editor UI file. More... | |
qt | closeEditor (editorname, subEditorName) |
QT Close opened sub-editor. More... | |
Public Attributes | |
array = qt.getSelectedItems(editorName, objectName) | |
QT Get selected items. More... | |
itemCount = qt.getListItemCount(editorName, objectName) | |
QT Get listed item count. More... | |
isSelected = qt.getTreeSelectedItem(editorName, objectName, id) | |
QT Get tree selected item. More... | |
This area covers qt functions. Set or get various qt propertie.
Use as qt.function()
Skyline has a custom editor creation pipeline using QT files that are
recreated into a custom editor that is apart of the main editor.
This can be accessed from the plugin menu on the main menu.
The functions found in this file are here to control the qt widgets to
create a vast array of editors.
Editors can also be packaged and sent to others or added to the asset store
For more information on how these functions can be used please visit the User Manual - http://www.aurasoft-skyline.co.uk
qt qt::closeEditor | ( | editorname | , |
subEditorName | |||
) |
QT Close opened sub-editor.
editorName | : Editor name |
subEditorName | : Object name |
Here is a Small Example of how to use this function:
function onInit(objID) -- Enter example here end
qt qt::deselectAllItems | ( | editorName | , |
objectName | |||
) |
QT deselect all items.
editorName | : Editor name |
objectName | : Object name |
Here is a Small Example of how to use this function:
function onInit(objID) -- Enter example here end
qt qt::getSelectionMode | ( | editorName | , |
objectName | |||
) |
QT Get selection mode.
editorName | : Editor name |
objectName | : Object name |
Here is a Small Example of how to use this function:
function onInit(objID) -- Enter example here end
qt qt::openEditor | ( | editorname | , |
subEditorName | , | ||
(opt) | state | ||
) |
QT open sub-editor UI file.
editorName | : Editor name |
subEditorName | : Object name |
state | : Optional |
Open a sub editor ui file, message box, other dialog. Optional arg of 1 for exec() and 0 for show()
Here is a Small Example of how to use this function:
function onInit(objID) -- Enter example here end
qt qt::setListSelectedItem | ( | editorName | , |
objectName | , | ||
id | , | ||
selected(int) | |||
) |
QT Set list selected item.
editorName | : Editor name |
objectName | : Object name |
id | : Int ID |
Here is a Small Example of how to use this function:
function onInit(objID) -- Enter example here end
qt qt::setSelectionMode | ( | editorName | , |
objectName | , | ||
1 | |||
) |
QT Set selection mode.
editorName | : Editor name |
objectName | : Object name |
1 | : Integer |
Here is a Small Example of how to use this function:
function onInit(objID) -- Enter example here end
qt qt::setTableSelectedItem | ( | editorName | , |
objectName | , | ||
row | , | ||
column | , | ||
selected(int) | |||
) |
QT Set table selected item.
editorName | : Editor name |
objectName | : Object name |
row | : |
column | : |
selected | : Int |
Here is a Small Example of how to use this function:
function onInit(objID) -- Enter example here end
qt qt::setTreeSelectedItem | ( | editorName | , |
objectName | , | ||
id | , | ||
selected(int) | |||
) |
QT Set tree selected item.
editorName | : Editor name |
objectName | : Object name |
id | : int |
selected | : int |
Here is a Small Example of how to use this function:
function onInit(objID) -- Enter example here end
qt::array = qt.getSelectedItems(editorName, objectName) |
QT Get selected items.
editorName | : Editor name |
objectName | : Object name |
Here is a Small Example of how to use this function:
function onInit(objID) -- Enter example here end
qt::isSelected = qt.getTreeSelectedItem(editorName, objectName, id) |
QT Get tree selected item.
QT Get table selected item.
QT Get list selected item.
editorName | : Editor name |
objectName | : Object name |
id | : Int ID |
Here is a Small Example of how to use this function:
function onInit(objID) -- Enter example here end
editorName | : Editor name |
objectName | : Object name |
row | : |
column | : |
Here is a Small Example of how to use this function:
function onInit(objID) -- Enter example here end
qt::itemCount = qt.getListItemCount(editorName, objectName) |
QT Get listed item count.
editorName | : Editor name |
objectName | : Object name |
Here is a Small Example of how to use this function:
function onInit(objID) -- Enter example here end