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

kcalc

Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
KCalcSettings Class Reference

#include <kcalc_settings.h>

Inheritance diagram for KCalcSettings:
Inheritance graph
[legend]

Classes

class  EnumCalculatorMode
 

Public Member Functions

 ~KCalcSettings ()
 

Static Public Member Functions

static uint angleMode ()
 
static QColor backColor ()
 
static uint baseMode ()
 
static bool beep ()
 
static uint binaryGrouping ()
 
static QFont buttonFont ()
 
static EnumCalculatorMode::type calculatorMode ()
 
static bool captionResult ()
 
static QFont displayFont ()
 
static bool fixed ()
 
static uint fixedPrecision ()
 
static QColor foreColor ()
 
static QColor functionButtonsColor ()
 
static bool groupDigits ()
 
static uint hexadecimalGrouping ()
 
static QColor hexButtonsColor ()
 
static QColor memoryButtonsColor ()
 
static QString nameConstant (int i)
 
static QColor numberButtonsColor ()
 
static uint octalGrouping ()
 
static QColor operationButtonsColor ()
 
static uint precision ()
 
static KCalcSettings * self ()
 
static void setAngleMode (uint v)
 
static void setBackColor (const QColor &v)
 
static void setBaseMode (uint v)
 
static void setBeep (bool v)
 
static void setBinaryGrouping (uint v)
 
static void setButtonFont (const QFont &v)
 
static void setCalculatorMode (EnumCalculatorMode::type v)
 
static void setCaptionResult (bool v)
 
static void setDisplayFont (const QFont &v)
 
static void setFixed (bool v)
 
static void setFixedPrecision (uint v)
 
static void setForeColor (const QColor &v)
 
static void setFunctionButtonsColor (const QColor &v)
 
static void setGroupDigits (bool v)
 
static void setHexadecimalGrouping (uint v)
 
static void setHexButtonsColor (const QColor &v)
 
static void setMemoryButtonsColor (const QColor &v)
 
static void setNameConstant (int i, const QString &v)
 
static void setNumberButtonsColor (const QColor &v)
 
static void setOctalGrouping (uint v)
 
static void setOperationButtonsColor (const QColor &v)
 
static void setPrecision (uint v)
 
static void setShowBitset (bool v)
 
static void setShowConstants (bool v)
 
static void setStatButtonsColor (const QColor &v)
 
static void setTwosComplement (bool v)
 
static void setValueConstant (int i, const QString &v)
 
static bool showBitset ()
 
static bool showConstants ()
 
static QColor statButtonsColor ()
 
static bool twosComplement ()
 
static QString valueConstant (int i)
 

Protected Member Functions

 KCalcSettings ()
 

Protected Attributes

uint mAngleMode
 
QColor mBackColor
 
uint mBaseMode
 
bool mBeep
 
uint mBinaryGrouping
 
QFont mButtonFont
 
int mCalculatorMode
 
bool mCaptionResult
 
QFont mDisplayFont
 
bool mFixed
 
uint mFixedPrecision
 
QColor mForeColor
 
QColor mFunctionButtonsColor
 
bool mGroupDigits
 
uint mHexadecimalGrouping
 
QColor mHexButtonsColor
 
QColor mMemoryButtonsColor
 
QString mNameConstant [6]
 
QColor mNumberButtonsColor
 
uint mOctalGrouping
 
QColor mOperationButtonsColor
 
uint mPrecision
 
bool mShowBitset
 
bool mShowConstants
 
QColor mStatButtonsColor
 
bool mTwosComplement
 
QString mValueConstant [6]
 

Detailed Description

Definition at line 13 of file kcalc_settings.h.

Constructor & Destructor Documentation

KCalcSettings::~KCalcSettings ( )

Definition at line 188 of file kcalc_settings.cpp.

KCalcSettings::KCalcSettings ( )
protected

Definition at line 27 of file kcalc_settings.cpp.

Member Function Documentation

static uint KCalcSettings::angleMode ( )
inlinestatic

Get Degrees, radians or grads.

Definition at line 431 of file kcalc_settings.h.

static QColor KCalcSettings::backColor ( )
inlinestatic

Get The background color of the display.

Definition at line 58 of file kcalc_settings.h.

static uint KCalcSettings::baseMode ( )
inlinestatic

Get Numeric base.

Definition at line 450 of file kcalc_settings.h.

static bool KCalcSettings::beep ( )
inlinestatic

Get Whether to beep on error.

Definition at line 298 of file kcalc_settings.h.

static uint KCalcSettings::binaryGrouping ( )
inlinestatic

Get Binary figures will be separated by a whitespace after every Xth digit.

Definition at line 469 of file kcalc_settings.h.

static QFont KCalcSettings::buttonFont ( )
inlinestatic

Get The font to use for the buttons.

Definition at line 191 of file kcalc_settings.h.

static EnumCalculatorMode::type KCalcSettings::calculatorMode ( )
inlinestatic

Get CalculatorMode.

Definition at line 374 of file kcalc_settings.h.

static bool KCalcSettings::captionResult ( )
inlinestatic

Get Whether to show the result in the window title.

Definition at line 317 of file kcalc_settings.h.

static QFont KCalcSettings::displayFont ( )
inlinestatic

Get The font to use in the display.

Definition at line 210 of file kcalc_settings.h.

static bool KCalcSettings::fixed ( )
inlinestatic

Get Whether to use fixed decimal places.

Definition at line 279 of file kcalc_settings.h.

static uint KCalcSettings::fixedPrecision ( )
inlinestatic

Get Number of fixed decimal digits.

Definition at line 260 of file kcalc_settings.h.

static QColor KCalcSettings::foreColor ( )
inlinestatic

Get The foreground color of the display.

Definition at line 39 of file kcalc_settings.h.

static QColor KCalcSettings::functionButtonsColor ( )
inlinestatic

Get The color of function buttons.

Definition at line 96 of file kcalc_settings.h.

static bool KCalcSettings::groupDigits ( )
inlinestatic

Get Whether to group digits.

Definition at line 336 of file kcalc_settings.h.

static uint KCalcSettings::hexadecimalGrouping ( )
inlinestatic

Get Hexadecimal figures will be separated by a whitespace after every Xth digit.

Definition at line 507 of file kcalc_settings.h.

static QColor KCalcSettings::hexButtonsColor ( )
inlinestatic

Get The color of hex buttons.

Definition at line 134 of file kcalc_settings.h.

static QColor KCalcSettings::memoryButtonsColor ( )
inlinestatic

Get The color of memory buttons.

Definition at line 153 of file kcalc_settings.h.

static QString KCalcSettings::nameConstant ( int  i)
inlinestatic

Get Name of the user programmable constants.

Definition at line 526 of file kcalc_settings.h.

static QColor KCalcSettings::numberButtonsColor ( )
inlinestatic

Get The color of number buttons.

Definition at line 77 of file kcalc_settings.h.

static uint KCalcSettings::octalGrouping ( )
inlinestatic

Get Octal figures will be separated by a whitespace after every Xth digit.

Definition at line 488 of file kcalc_settings.h.

static QColor KCalcSettings::operationButtonsColor ( )
inlinestatic

Get The color of operation buttons.

Definition at line 172 of file kcalc_settings.h.

static uint KCalcSettings::precision ( )
inlinestatic

Get Maximum number of digits displayed.

Definition at line 241 of file kcalc_settings.h.

KCalcSettings * KCalcSettings::self ( )
static

Definition at line 17 of file kcalc_settings.cpp.

static void KCalcSettings::setAngleMode ( uint  v)
inlinestatic

Set Degrees, radians or grads.

Definition at line 421 of file kcalc_settings.h.

static void KCalcSettings::setBackColor ( const QColor &  v)
inlinestatic

Set The background color of the display.

Definition at line 48 of file kcalc_settings.h.

static void KCalcSettings::setBaseMode ( uint  v)
inlinestatic

Set Numeric base.

Definition at line 440 of file kcalc_settings.h.

static void KCalcSettings::setBeep ( bool  v)
inlinestatic

Set Whether to beep on error.

Definition at line 288 of file kcalc_settings.h.

static void KCalcSettings::setBinaryGrouping ( uint  v)
inlinestatic

Set Binary figures will be separated by a whitespace after every Xth digit.

Definition at line 459 of file kcalc_settings.h.

static void KCalcSettings::setButtonFont ( const QFont &  v)
inlinestatic

Set The font to use for the buttons.

Definition at line 181 of file kcalc_settings.h.

static void KCalcSettings::setCalculatorMode ( EnumCalculatorMode::type  v)
inlinestatic

Set CalculatorMode.

Definition at line 364 of file kcalc_settings.h.

static void KCalcSettings::setCaptionResult ( bool  v)
inlinestatic

Set Whether to show the result in the window title.

Definition at line 307 of file kcalc_settings.h.

static void KCalcSettings::setDisplayFont ( const QFont &  v)
inlinestatic

Set The font to use in the display.

Definition at line 200 of file kcalc_settings.h.

static void KCalcSettings::setFixed ( bool  v)
inlinestatic

Set Whether to use fixed decimal places.

Definition at line 269 of file kcalc_settings.h.

static void KCalcSettings::setFixedPrecision ( uint  v)
inlinestatic

Set Number of fixed decimal digits.

Definition at line 250 of file kcalc_settings.h.

static void KCalcSettings::setForeColor ( const QColor &  v)
inlinestatic

Set The foreground color of the display.

Definition at line 29 of file kcalc_settings.h.

static void KCalcSettings::setFunctionButtonsColor ( const QColor &  v)
inlinestatic

Set The color of function buttons.

Definition at line 86 of file kcalc_settings.h.

static void KCalcSettings::setGroupDigits ( bool  v)
inlinestatic

Set Whether to group digits.

Definition at line 326 of file kcalc_settings.h.

static void KCalcSettings::setHexadecimalGrouping ( uint  v)
inlinestatic

Set Hexadecimal figures will be separated by a whitespace after every Xth digit.

Definition at line 497 of file kcalc_settings.h.

static void KCalcSettings::setHexButtonsColor ( const QColor &  v)
inlinestatic

Set The color of hex buttons.

Definition at line 124 of file kcalc_settings.h.

static void KCalcSettings::setMemoryButtonsColor ( const QColor &  v)
inlinestatic

Set The color of memory buttons.

Definition at line 143 of file kcalc_settings.h.

static void KCalcSettings::setNameConstant ( int  i,
const QString &  v 
)
inlinestatic

Set Name of the user programmable constants.

Definition at line 516 of file kcalc_settings.h.

static void KCalcSettings::setNumberButtonsColor ( const QColor &  v)
inlinestatic

Set The color of number buttons.

Definition at line 67 of file kcalc_settings.h.

static void KCalcSettings::setOctalGrouping ( uint  v)
inlinestatic

Set Octal figures will be separated by a whitespace after every Xth digit.

Definition at line 478 of file kcalc_settings.h.

static void KCalcSettings::setOperationButtonsColor ( const QColor &  v)
inlinestatic

Set The color of operation buttons.

Definition at line 162 of file kcalc_settings.h.

static void KCalcSettings::setPrecision ( uint  v)
inlinestatic

Set Maximum number of digits displayed.

Definition at line 219 of file kcalc_settings.h.

static void KCalcSettings::setShowBitset ( bool  v)
inlinestatic

Set Whether to show the bit edit widget.

Definition at line 383 of file kcalc_settings.h.

static void KCalcSettings::setShowConstants ( bool  v)
inlinestatic

Set Whether to show constant buttons.

Definition at line 402 of file kcalc_settings.h.

static void KCalcSettings::setStatButtonsColor ( const QColor &  v)
inlinestatic

Set The color of statistical buttons.

Definition at line 105 of file kcalc_settings.h.

static void KCalcSettings::setTwosComplement ( bool  v)
inlinestatic

Set Whether to use Two's Complement for non-decimal numbers.

Definition at line 345 of file kcalc_settings.h.

static void KCalcSettings::setValueConstant ( int  i,
const QString &  v 
)
inlinestatic

Set List of user programmable constants.

Definition at line 535 of file kcalc_settings.h.

static bool KCalcSettings::showBitset ( )
inlinestatic

Get Whether to show the bit edit widget.

Definition at line 393 of file kcalc_settings.h.

static bool KCalcSettings::showConstants ( )
inlinestatic

Get Whether to show constant buttons.

Definition at line 412 of file kcalc_settings.h.

static QColor KCalcSettings::statButtonsColor ( )
inlinestatic

Get The color of statistical buttons.

Definition at line 115 of file kcalc_settings.h.

static bool KCalcSettings::twosComplement ( )
inlinestatic

Get Whether to use Two's Complement for non-decimal numbers.

Definition at line 355 of file kcalc_settings.h.

static QString KCalcSettings::valueConstant ( int  i)
inlinestatic

Get List of user programmable constants.

Definition at line 545 of file kcalc_settings.h.

Member Data Documentation

uint KCalcSettings::mAngleMode
protected

Definition at line 582 of file kcalc_settings.h.

QColor KCalcSettings::mBackColor
protected

Definition at line 557 of file kcalc_settings.h.

uint KCalcSettings::mBaseMode
protected

Definition at line 583 of file kcalc_settings.h.

bool KCalcSettings::mBeep
protected

Definition at line 575 of file kcalc_settings.h.

uint KCalcSettings::mBinaryGrouping
protected

Definition at line 586 of file kcalc_settings.h.

QFont KCalcSettings::mButtonFont
protected

Definition at line 566 of file kcalc_settings.h.

int KCalcSettings::mCalculatorMode
protected

Definition at line 579 of file kcalc_settings.h.

bool KCalcSettings::mCaptionResult
protected

Definition at line 576 of file kcalc_settings.h.

QFont KCalcSettings::mDisplayFont
protected

Definition at line 567 of file kcalc_settings.h.

bool KCalcSettings::mFixed
protected

Definition at line 572 of file kcalc_settings.h.

uint KCalcSettings::mFixedPrecision
protected

Definition at line 571 of file kcalc_settings.h.

QColor KCalcSettings::mForeColor
protected

Definition at line 556 of file kcalc_settings.h.

QColor KCalcSettings::mFunctionButtonsColor
protected

Definition at line 559 of file kcalc_settings.h.

bool KCalcSettings::mGroupDigits
protected

Definition at line 577 of file kcalc_settings.h.

uint KCalcSettings::mHexadecimalGrouping
protected

Definition at line 588 of file kcalc_settings.h.

QColor KCalcSettings::mHexButtonsColor
protected

Definition at line 561 of file kcalc_settings.h.

QColor KCalcSettings::mMemoryButtonsColor
protected

Definition at line 562 of file kcalc_settings.h.

QString KCalcSettings::mNameConstant[6]
protected

Definition at line 591 of file kcalc_settings.h.

QColor KCalcSettings::mNumberButtonsColor
protected

Definition at line 558 of file kcalc_settings.h.

uint KCalcSettings::mOctalGrouping
protected

Definition at line 587 of file kcalc_settings.h.

QColor KCalcSettings::mOperationButtonsColor
protected

Definition at line 563 of file kcalc_settings.h.

uint KCalcSettings::mPrecision
protected

Definition at line 570 of file kcalc_settings.h.

bool KCalcSettings::mShowBitset
protected

Definition at line 580 of file kcalc_settings.h.

bool KCalcSettings::mShowConstants
protected

Definition at line 581 of file kcalc_settings.h.

QColor KCalcSettings::mStatButtonsColor
protected

Definition at line 560 of file kcalc_settings.h.

bool KCalcSettings::mTwosComplement
protected

Definition at line 578 of file kcalc_settings.h.

QString KCalcSettings::mValueConstant[6]
protected

Definition at line 592 of file kcalc_settings.h.


The documentation for this class was generated from the following files:
  • kcalc_settings.h
  • kcalc_settings.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kcalc

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

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • sweeper

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal