32{
33 QSettings settings;
34
35 settings.beginGroup("attribute");
36 if (!settings.contains("foreground")) {
37 settings.setValue("foreground", QColor ( "#1B676B" ));
38 }
39 if (!settings.contains("background")) {
40 settings.setValue("background", QColor ( "#ffffff" ));
41 }
42 if (!settings.contains("default-background")) {
43 settings.setValue("default-background", QColor ("#b8f4ff" ));
44 }
45
49 settings.endGroup();
50
51 settings.beginGroup("relationship");
52 if (!settings.contains("foreground")) {
53 settings.setValue("foreground", QColor ( "#AD4713" ));
54 }
55 if (!settings.contains("background")) {
56 settings.setValue("background", QColor ( Qt::white ));
57 }
60 settings.endGroup();
61
62
63 settings.beginGroup("readonly");
64 if (!settings.contains("background")) {
65 settings.setValue("background", QColor(Qt::lightGray));
66 }
67 if (!settings.contains("foreground")) {
68 settings.setValue("foreground", QColor(Qt::darkRed));
69 }
72 settings.endGroup();
73
74 settings.beginGroup("object");
75 if (!settings.contains("foreground")) {
76 settings.setValue("foreground", QColor(Qt::blue));
77 }
78 if (!settings.contains("background")) {
79 settings.setValue("background", QColor(Qt::white));
80 }
83 settings.endGroup();
84
85
90 QColor ( "yellow" ) );
92 QColor ( "red" ) );
94 QColor ( "red" ) );
96 QColor ( "yellow" ) );
98 QColor ( "yellow" ) );
101
103 QColor::fromRgb ( 190, 238, 158 ) );
105 QColor::fromRgb ( 190, 238, 158 ) );
106}
static QPalette PaleGreenPalleteButton
static QColor ObjectForeground
static QPalette AlertStatusBarPalleteWindow
static QColor TableRelationshipBackground
static QColor FileReadOnlyForeground
static QPalette AlertStatusBarPallete
static QColor TableColorAttribute
Including DBE.
static QPalette LoadedDefault
static QPalette WarningStatusBarPalleteWindow
static QPalette WarningStatusBarPallete
static QColor TableAttributeBackground
static QColor DefaultValueBackground
static QColor TableColorRelationship
static QColor ObjectBackground
static QColor FileReadOnlyBackground