![]() |
This class is used to retrieve location of palette and texture files. More...
Public Slots | |
String | folderForLocation (int location, int elementId) |
Will return the full palette-library path for a given location. More... | |
String | palettePathForLocation (int location, int elementId, String paletteName) |
Will return the filename of the palette including the .plt extension for a given palette and location. More... | |
String | textureFolderForLocation (int location, int elementId, String paletteName) |
Will return the texture folder of the palette for a given palette and location. More... | |
StringList | palettesAtLocation (int location, int elementId, bool fullFileName) |
bool | importPaletteAtLocation (String palettePath, int location, int elementId, String paletteName) |
This class is used to retrieve location of palette and texture files.
|
slot |
Will return the full palette-library path for a given location.
location | One of the PaletteLocation constants. |
elementId | If location is PaletteLocation.ELEMENT, the element id |
|
slot |
Will copy the plt file at the specified location in the project.
palettePath | The full source palette file path. |
location | One of the PaletteLocation constants. |
elementId | If location is PaletteLocation.ELEMENT, the element id |
paletteName | The name the palette will have in the project. |
|
slot |
Will return the filename of the palette including the .plt extension for a given palette and location.
location | One of the PaletteLocation constants. |
elementId | If location is PaletteLocation.ELEMENT, the element id |
paletteName | The palette name without the .plt extension |
|
slot |
Will return the list of all .plt files at a given location.
location | One of the PaletteLocation constants. |
elementId | If location is PaletteLocation.ELEMENT, the element id |
fullFileName | If true will return the complete path list. Will return only the names otherwise. |
|
slot |
Will return the texture folder of the palette for a given palette and location.
location | One of the PaletteLocation constants. |
elementId | If location is PaletteLocation.ELEMENT, the element id |
paletteName | The palette name without the .plt extension |