You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
593 B
29 lines
593 B
#ifndef SCHEMA_include |
|
#define SCHEMA_include |
|
|
|
#include <qstring.h> |
|
#include "TECommon.h" |
|
#include <qdict.h> |
|
#include <qintdict.h> |
|
|
|
struct ColorSchema |
|
{ |
|
public: |
|
QString path; |
|
int numb; |
|
QString title; |
|
QString imagepath; |
|
int alignment; |
|
ColorEntry table[TABLE_COLORS]; |
|
public: |
|
static ColorSchema* readSchema(const char* path); |
|
static ColorSchema* find(const char* path); |
|
static ColorSchema* find(int num); |
|
static ColorSchema* defaultSchema(); |
|
static void loadAllSchemas(); |
|
static int count(); |
|
public: |
|
void addSchema(); |
|
}; |
|
|
|
#endif
|
|
|