Script
Public Slots | Properties | List of all members
Palette Class Reference

Defines a palette of colours. More...

#include <paletteinterface.h>

Inheritance diagram for Palette:
Inheritance graph
[legend]
Collaboration diagram for Palette:
Collaboration graph
[legend]

Public Slots

String getPath ()
 Returns the folder in which this palette is located. More...
 
String getName ()
 Returns the name of this palette. The extension (".plt") is not included. More...
 
bool isLoaded ()
 Was the palette successfully loaded from disk (true or false)? More...
 
bool isNotFound ()
 Was the palette found at the location specified by the path and name (true or false)? More...
 

Properties

int nColors
 Number of colours in this palette. More...
 
String id
 The palette ID of this palette. More...
 

Detailed Description

Defines a palette of colours.

Provides access to some of the standard functionality of palettes.

Member Function Documentation

String Palette::getName ( )
slot

Returns the name of this palette. The extension (".plt") is not included.

String Palette::getPath ( )
slot

Returns the folder in which this palette is located.

bool Palette::isLoaded ( )
slot

Was the palette successfully loaded from disk (true or false)?

bool Palette::isNotFound ( )
slot

Was the palette found at the location specified by the path and name (true or false)?

Property Documentation

String Palette::id
readprivate

The palette ID of this palette.

int Palette::nColors
readprivate

Number of colours in this palette.


The documentation for this class was generated from the following file: