KApplication KGlobalSettings KColorScheme KLocale KColorScheme schemeView(QPalette::Active, KColorScheme::View); QColor defaultColor = schemeView.foreground().color(); defaultColor defaultColor = schemeView.background().color(); defaultColor KColorScheme schemeButtons(QPalette::Active, KColorScheme::Button); QColor defaultButtonColor = schemeButtons.background().color(); defaultButtonColor defaultButtonColor defaultButtonColor defaultButtonColor defaultButtonColor defaultButtonColor KGlobalSettings::generalFont() QFont(KGlobalSettings::generalFont().family(), 14, QFont::Bold) KCalc can compute with many more digits than the number that fits on the display. This setting gives the maximum number of digits displayed, before KCalc starts using scientific notation, i.e. notation of the type 2.34e12. 12 8 200 2 false true false true Select to use Two's Complement notation for Binary, Octal and Hexidecimal numbers. This is a common notation to represent negative numbers in computers. true A very simple mode where only the basic calculator buttons are shown Mode with science buttons and optional constants buttons Mode with additional statistics buttons and optional constants buttons Mode with logic buttons and selectable base. Optional bit edit available. false false 0 10 For easier readability it's possible to visible group the individual digits into pairs for example instead of 10111001 you can display 1011 1001, by setting the setting to 4, thus inserting a whitespace after every 4th digit. 4 For easier readability it's possible to visible group the individual digits into pairs for example instead of 42140213 you can display 4214 0213, by setting the setting to 4, thus inserting a whitespace after every 4th digit. 4 For easier readability it's possible to visible group the individual digits into pairs for example instead of AF1C42 you can display AF 1C 42, by setting the setting to 2, thus inserting a whitespace after every 2nd digit. 2 QString nameConstant0 = i18nc("Name of the user programmable constant", "C1"); QString nameConstant1 = i18nc("Name of the user programmable constant", "C2"); QString nameConstant2 = i18nc("Name of the user programmable constant", "C3"); QString nameConstant3 = i18nc("Name of the user programmable constant", "C4"); QString nameConstant4 = i18nc("Name of the user programmable constant", "C5"); QString nameConstant5 = i18nc("Name of the user programmable constant", "C6"); nameConstant0 nameConstant1 nameConstant2 nameConstant3 nameConstant4 nameConstant5 0 0 0 0 0 0