mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Appearence fixes
Allows Popup Text color to be set on certain OS. Sets current day in calendar to a color you can see the date with. Fixes #552
This commit is contained in:
@@ -91,7 +91,7 @@ void GCColor::setupColors()
|
||||
{ tr("Aerolab Elevation"), "COLORAEROEL", Qt::green },
|
||||
{ tr("Calendar background"), "CCALCELL", Qt::white },
|
||||
{ tr("Calendar heading"), "CCALHEAD", QColor(230,230,230) },
|
||||
{ tr("Calendar Current Selection"), "CCALCURRENT", Qt::darkBlue },
|
||||
{ tr("Calendar Current Selection"), "CCALCURRENT", QColor(255,213,0) },
|
||||
{ tr("Calendar Actual Workout"), "CCALACTUAL", Qt::green },
|
||||
{ tr("Calendar Planned Workout"), "CCALPLANNED", Qt::yellow },
|
||||
{ tr("Calendar Today"), "CCALTODAY", Qt::cyan },
|
||||
|
||||
@@ -1176,14 +1176,14 @@ ColorsPage::saveClicked()
|
||||
appsettings->setValue(GC_FONT_CHARTMARKERS_SIZE, 7+(chartmarkersSize->currentIndex()*2));
|
||||
appsettings->setValue(GC_FONT_CHARTLABELS_SIZE, 7+(chartlabelsSize->currentIndex()*2));
|
||||
appsettings->setValue(GC_FONT_CALENDAR_SIZE, 7+(calendarSize->currentIndex()*2));
|
||||
appsettings->setValue(GC_FONT_POPUP_SIZE, 7+(calendarSize->currentIndex()*2));
|
||||
appsettings->setValue(GC_FONT_POPUP_SIZE, 7+(popupSize->currentIndex()*2));
|
||||
#else
|
||||
appsettings->setValue(GC_FONT_DEFAULT_SIZE, 6+(defaultSize->currentIndex()*2));
|
||||
appsettings->setValue(GC_FONT_TITLES_SIZE, 6+(titlesSize->currentIndex()*2));
|
||||
appsettings->setValue(GC_FONT_CHARTMARKERS_SIZE, 6+(chartmarkersSize->currentIndex()*2));
|
||||
appsettings->setValue(GC_FONT_CHARTLABELS_SIZE, 6+(chartlabelsSize->currentIndex()*2));
|
||||
appsettings->setValue(GC_FONT_CALENDAR_SIZE, 6+(calendarSize->currentIndex()*2));
|
||||
appsettings->setValue(GC_FONT_POPUP_SIZE, 6+(calendarSize->currentIndex()*2));
|
||||
appsettings->setValue(GC_FONT_POPUP_SIZE, 6+(popupSize->currentIndex()*2));
|
||||
#endif
|
||||
|
||||
QFont font;
|
||||
|
||||
Reference in New Issue
Block a user