• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdeutils
  • Sitemap
  • Contact Us
 

kcalc

KCalcSettings Class Reference

#include <kcalc_settings.h>

Inheritance diagram for KCalcSettings:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 12 of file kcalc_settings.h.


Public Member Functions

 ~KCalcSettings ()

Static Public Member Functions

static QColor backColor ()
static bool beep ()
static bool captionResult ()
static bool fixed ()
static uint fixedPrecision ()
static QFont font ()
static QColor foreColor ()
static QColor functionButtonsColor ()
static bool groupDigits ()
static QColor hexButtonsColor ()
static QColor memoryButtonsColor ()
static QString nameConstant (int i)
static QColor numberButtonsColor ()
static QColor operationButtonsColor ()
static uint precision ()
static KCalcSettings * self ()
static void setNameConstant (int i, const QString &v)
static void setShowConstants (bool v)
static void setShowLogic (bool v)
static void setShowScientific (bool v)
static void setShowStat (bool v)
static void setValueConstant (int i, const QString &v)
static bool showConstants ()
static bool showLogic ()
static bool showScientific ()
static bool showStat ()
static QColor statButtonsColor ()
static QString valueConstant (int i)

Protected Member Functions

 KCalcSettings ()

Protected Attributes

QColor mBackColor
bool mBeep
bool mCaptionResult
bool mFixed
uint mFixedPrecision
QFont mFont
QColor mForeColor
QColor mFunctionButtonsColor
bool mGroupDigits
QColor mHexButtonsColor
QColor mMemoryButtonsColor
QString mNameConstant [6]
QColor mNumberButtonsColor
QColor mOperationButtonsColor
uint mPrecision
bool mShowConstants
bool mShowLogic
bool mShowScientific
bool mShowStat
QColor mStatButtonsColor
QString mValueConstant [6]

Constructor & Destructor Documentation

KCalcSettings::~KCalcSettings (  ) 

Definition at line 138 of file kcalc_settings.cpp.

KCalcSettings::KCalcSettings (  )  [protected]

Definition at line 27 of file kcalc_settings.cpp.


Member Function Documentation

static QColor KCalcSettings::backColor (  )  [inline, static]

Get The background color of the display.

Definition at line 34 of file kcalc_settings.h.

static bool KCalcSettings::beep (  )  [inline, static]

Get Whether to beep on error.

Definition at line 144 of file kcalc_settings.h.

static bool KCalcSettings::captionResult (  )  [inline, static]

Get Whether to show the result in the window title.

Definition at line 154 of file kcalc_settings.h.

static bool KCalcSettings::fixed (  )  [inline, static]

Get Whether to use fixed decimal places.

Definition at line 134 of file kcalc_settings.h.

static uint KCalcSettings::fixedPrecision (  )  [inline, static]

Get Number of fixed decimal digits.

Definition at line 124 of file kcalc_settings.h.

static QFont KCalcSettings::font (  )  [inline, static]

Get The font to use in the display.

Definition at line 104 of file kcalc_settings.h.

static QColor KCalcSettings::foreColor (  )  [inline, static]

Get The foreground color of the display.

Definition at line 24 of file kcalc_settings.h.

static QColor KCalcSettings::functionButtonsColor (  )  [inline, static]

Get The color of function buttons.

Definition at line 54 of file kcalc_settings.h.

static bool KCalcSettings::groupDigits (  )  [inline, static]

Get Whether to group digits.

Definition at line 164 of file kcalc_settings.h.

static QColor KCalcSettings::hexButtonsColor (  )  [inline, static]

Get The color of hex buttons.

Definition at line 74 of file kcalc_settings.h.

static QColor KCalcSettings::memoryButtonsColor (  )  [inline, static]

Get The color of memory buttons.

Definition at line 84 of file kcalc_settings.h.

static QString KCalcSettings::nameConstant ( int  i  )  [inline, static]

Get Name of the user programmable constants.

Definition at line 261 of file kcalc_settings.h.

static QColor KCalcSettings::numberButtonsColor (  )  [inline, static]

Get The color of number buttons.

Definition at line 44 of file kcalc_settings.h.

static QColor KCalcSettings::operationButtonsColor (  )  [inline, static]

Get The color of operation buttons.

Definition at line 94 of file kcalc_settings.h.

static uint KCalcSettings::precision (  )  [inline, static]

Get Maximum number of digits displayed.

Definition at line 114 of file kcalc_settings.h.

KCalcSettings * KCalcSettings::self (  )  [static]

Definition at line 17 of file kcalc_settings.cpp.

static void KCalcSettings::setNameConstant ( int  i,
const QString &  v 
) [inline, static]

Set Name of the user programmable constants.

Definition at line 251 of file kcalc_settings.h.

static void KCalcSettings::setShowConstants ( bool  v  )  [inline, static]

Set Whether to show constant buttons.

Definition at line 232 of file kcalc_settings.h.

static void KCalcSettings::setShowLogic ( bool  v  )  [inline, static]

Set Whether to show logic buttons.

Definition at line 213 of file kcalc_settings.h.

static void KCalcSettings::setShowScientific ( bool  v  )  [inline, static]

Set Whether to show buttons with functions used in science/engineering, like exp, log, sin etc.

Definition at line 193 of file kcalc_settings.h.

static void KCalcSettings::setShowStat ( bool  v  )  [inline, static]

Set Whether to show statistical buttons.

Definition at line 173 of file kcalc_settings.h.

static void KCalcSettings::setValueConstant ( int  i,
const QString &  v 
) [inline, static]

Set List of user programmable constants.

Definition at line 270 of file kcalc_settings.h.

static bool KCalcSettings::showConstants (  )  [inline, static]

Get Whether to show constant buttons.

Definition at line 242 of file kcalc_settings.h.

static bool KCalcSettings::showLogic (  )  [inline, static]

Get Whether to show logic buttons.

Definition at line 223 of file kcalc_settings.h.

static bool KCalcSettings::showScientific (  )  [inline, static]

Get Whether to show buttons with functions used in science/engineering, like exp, log, sin etc.

Definition at line 204 of file kcalc_settings.h.

static bool KCalcSettings::showStat (  )  [inline, static]

Get Whether to show statistical buttons.

Definition at line 183 of file kcalc_settings.h.

static QColor KCalcSettings::statButtonsColor (  )  [inline, static]

Get The color of statistical buttons.

Definition at line 64 of file kcalc_settings.h.

static QString KCalcSettings::valueConstant ( int  i  )  [inline, static]

Get List of user programmable constants.

Definition at line 280 of file kcalc_settings.h.


Member Data Documentation

QColor KCalcSettings::mBackColor [protected]

Definition at line 292 of file kcalc_settings.h.

bool KCalcSettings::mBeep [protected]

Definition at line 309 of file kcalc_settings.h.

bool KCalcSettings::mCaptionResult [protected]

Definition at line 310 of file kcalc_settings.h.

bool KCalcSettings::mFixed [protected]

Definition at line 306 of file kcalc_settings.h.

uint KCalcSettings::mFixedPrecision [protected]

Definition at line 305 of file kcalc_settings.h.

QFont KCalcSettings::mFont [protected]

Definition at line 301 of file kcalc_settings.h.

QColor KCalcSettings::mForeColor [protected]

Definition at line 291 of file kcalc_settings.h.

QColor KCalcSettings::mFunctionButtonsColor [protected]

Definition at line 294 of file kcalc_settings.h.

bool KCalcSettings::mGroupDigits [protected]

Definition at line 311 of file kcalc_settings.h.

QColor KCalcSettings::mHexButtonsColor [protected]

Definition at line 296 of file kcalc_settings.h.

QColor KCalcSettings::mMemoryButtonsColor [protected]

Definition at line 297 of file kcalc_settings.h.

QString KCalcSettings::mNameConstant[6] [protected]

Definition at line 318 of file kcalc_settings.h.

QColor KCalcSettings::mNumberButtonsColor [protected]

Definition at line 293 of file kcalc_settings.h.

QColor KCalcSettings::mOperationButtonsColor [protected]

Definition at line 298 of file kcalc_settings.h.

uint KCalcSettings::mPrecision [protected]

Definition at line 304 of file kcalc_settings.h.

bool KCalcSettings::mShowConstants [protected]

Definition at line 315 of file kcalc_settings.h.

bool KCalcSettings::mShowLogic [protected]

Definition at line 314 of file kcalc_settings.h.

bool KCalcSettings::mShowScientific [protected]

Definition at line 313 of file kcalc_settings.h.

bool KCalcSettings::mShowStat [protected]

Definition at line 312 of file kcalc_settings.h.

QColor KCalcSettings::mStatButtonsColor [protected]

Definition at line 295 of file kcalc_settings.h.

QString KCalcSettings::mValueConstant[6] [protected]

Definition at line 319 of file kcalc_settings.h.


The documentation for this class was generated from the following files:
  • kcalc_settings.h
  • kcalc_settings.cpp

kcalc

Skip menu "kcalc"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • okteta
  • printer-applet
  • superkaramba
  • sweeper
Generated for kdeutils by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal