Just a quick question regarding the Qt Lua commands.....
I have managed to get an almost complete listing together, except for the following (where I've highlighted the bits I'm unsure of using ?? and also added my thoughts on what the parameter/return should be):
- Code: Select all
qt.blockSignals ( thisEditor, ?? ) - I presume it should be a 1/0 or true/false
?? = qt.closeEditor ( thisEditor, thisEditor2 ) - I presume there is no return value, though might be nice to have one to indicate success
table = qt.getAllDirsInDirectory ( thisEditor, ?? ) - I presume this is the directory in string format - is it relative or absolute
table = qt.getAllTreeIDs ( thisEditor, ?? ) - I presume this works on a single tree widget
string = qt.getDirDialog ( thisEditor, ?? ) - I presume this opens a dialog - is it relative or absolute
string = qt.getFileInfo_AbsoluteFilePath ( thisEditor, ?? ) - I presume this is the file in string format
string = qt.getFileInfo_AbsolutePath ( thisEditor, ?? ) - I presume this is the file in string format
string = qt.getFileInfo_BaseName ( thisEditor, ?? ) - I presume this is the file in string format
string = qt.getFileInfo_path ( thisEditor, ?? ) - I presume this is the file in string format
string = qt.getFileInfo_Suffix ( thisEditor, ?? ) - I presume this is the file in string format
?? = qt.getIcon ( thisEditor, thisWidget ) - I presume this is a string containing the icon name
?? = qt.getPixmap ( thisEditor, thisWidget ) - I presume this is a string containing the pixmap name
qt.setIcon ( thisEditor, ?? ) - I presume this is the icon name in string format
qt.setIconView ( thisEditor, thisWidget, ?? ) - ??
qt.setListItemFlag ( thisEditor, ?? ) - ??
qt.setListView ( thisEditor, thisList, ?? ) - ??
qt.setTableItemFlag ( thisEditor, ?? ) - ??
qt.setTreeItemFlag ( thisEditor, ?? ) - ??
Could you please let me know what, if anything, the ?? parameters and return values are?
Also, are there any special things I should know, like certain commands only work on certain widgets?
Thanks in advance
Shando