• Skip to content
  • Skip to link menu
KDE 4.0 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 11 of file kcalc_settings.h.


Public Member Functions

 ~KCalcSettings ()

Static Public Member Functions

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

Protected Member Functions

 KCalcSettings ()

Protected Attributes

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

Friends

class KCalcSettingsHelper

Constructor & Destructor Documentation

KCalcSettings::~KCalcSettings (  ) 

Definition at line 134 of file kcalc_settings.cpp.

KCalcSettings::KCalcSettings (  )  [protected]

Definition at line 27 of file kcalc_settings.cpp.


Member Function Documentation

KCalcSettings * KCalcSettings::self (  )  [static]

Definition at line 17 of file kcalc_settings.cpp.

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

Get The foreground color of the display.

Definition at line 23 of file kcalc_settings.h.

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

Get The background color of the display.

Definition at line 33 of file kcalc_settings.h.

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

Get The color of number buttons.

Definition at line 43 of file kcalc_settings.h.

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

Get The color of function buttons.

Definition at line 53 of file kcalc_settings.h.

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

Get The color of statistical buttons.

Definition at line 63 of file kcalc_settings.h.

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

Get The color of hex buttons.

Definition at line 73 of file kcalc_settings.h.

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

Get The color of memory buttons.

Definition at line 83 of file kcalc_settings.h.

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

Get The color of operation buttons.

Definition at line 93 of file kcalc_settings.h.

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

Get The font to use in the display.

Definition at line 103 of file kcalc_settings.h.

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

Get Maximum number of digits displayed.

Definition at line 113 of file kcalc_settings.h.

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

Get Number of fixed decimal digits.

Definition at line 123 of file kcalc_settings.h.

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

Get Whether to use fixed decimal places.

Definition at line 133 of file kcalc_settings.h.

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

Get Whether to beep on error.

Definition at line 143 of file kcalc_settings.h.

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

Get Whether to show the result in the window title.

Definition at line 153 of file kcalc_settings.h.

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

Get Whether to group digits.

Definition at line 163 of file kcalc_settings.h.

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

Set Whether to show statistical buttons.

Definition at line 172 of file kcalc_settings.h.

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

Get Whether to show statistical buttons.

Definition at line 182 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 192 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 203 of file kcalc_settings.h.

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

Set Whether to show logic buttons.

Definition at line 212 of file kcalc_settings.h.

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

Get Whether to show logic buttons.

Definition at line 222 of file kcalc_settings.h.

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

Set Whether to show constant buttons.

Definition at line 231 of file kcalc_settings.h.

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

Get Whether to show constant buttons.

Definition at line 241 of file kcalc_settings.h.

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

Set Name of the user programmable constants.

Definition at line 250 of file kcalc_settings.h.

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

Get Name of the user programmable constants.

Definition at line 260 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 269 of file kcalc_settings.h.

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

Get List of user programmable constants.

Definition at line 279 of file kcalc_settings.h.


Friends And Related Function Documentation

friend class KCalcSettingsHelper [friend]

Definition at line 286 of file kcalc_settings.h.


Member Data Documentation

QColor KCalcSettings::mForeColor [protected]

Definition at line 290 of file kcalc_settings.h.

QColor KCalcSettings::mBackColor [protected]

Definition at line 291 of file kcalc_settings.h.

QColor KCalcSettings::mNumberButtonsColor [protected]

Definition at line 292 of file kcalc_settings.h.

QColor KCalcSettings::mFunctionButtonsColor [protected]

Definition at line 293 of file kcalc_settings.h.

QColor KCalcSettings::mStatButtonsColor [protected]

Definition at line 294 of file kcalc_settings.h.

QColor KCalcSettings::mHexButtonsColor [protected]

Definition at line 295 of file kcalc_settings.h.

QColor KCalcSettings::mMemoryButtonsColor [protected]

Definition at line 296 of file kcalc_settings.h.

QColor KCalcSettings::mOperationButtonsColor [protected]

Definition at line 297 of file kcalc_settings.h.

QFont KCalcSettings::mFont [protected]

Definition at line 300 of file kcalc_settings.h.

uint KCalcSettings::mPrecision [protected]

Definition at line 303 of file kcalc_settings.h.

uint KCalcSettings::mFixedPrecision [protected]

Definition at line 304 of file kcalc_settings.h.

bool KCalcSettings::mFixed [protected]

Definition at line 305 of file kcalc_settings.h.

bool KCalcSettings::mBeep [protected]

Definition at line 308 of file kcalc_settings.h.

bool KCalcSettings::mCaptionResult [protected]

Definition at line 309 of file kcalc_settings.h.

bool KCalcSettings::mGroupDigits [protected]

Definition at line 310 of file kcalc_settings.h.

bool KCalcSettings::mShowStat [protected]

Definition at line 311 of file kcalc_settings.h.

bool KCalcSettings::mShowScientific [protected]

Definition at line 312 of file kcalc_settings.h.

bool KCalcSettings::mShowLogic [protected]

Definition at line 313 of file kcalc_settings.h.

bool KCalcSettings::mShowConstants [protected]

Definition at line 314 of file kcalc_settings.h.

QString KCalcSettings::mNameConstant[6] [protected]

Definition at line 317 of file kcalc_settings.h.

QString KCalcSettings::mValueConstant[6] [protected]

Definition at line 318 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
  • kdelirc
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • kjots
  • klaptopdaemon
  • kmilo
  • ksim
  • ktimer
  • kwallet
  • superkaramba
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