• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

kalzium

Prefs Class Reference

#include <prefs.h>

Inheritance diagram for Prefs:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 9 of file prefs.h.


Public Member Functions

 ~Prefs ()

Static Public Member Functions

static Prefs * self ()
static void setSchemaPSE (int v)
static int schemaPSE ()
static void setColorschemebox (int v)
static int colorschemebox ()
static void setGradient (int v)
static int gradient ()
static void setNumeration (int v)
static int numeration ()
static void setShowlegend (bool v)
static bool showlegend ()
static void setPselook (int v)
static int pselook ()
static void setTable (int v)
static int table ()
static void setLogarithmicCovalentRadiusGradient (bool v)
static bool logarithmicCovalentRadiusGradient ()
static void setLogarithmicVanDerWaalsRadiusGradient (bool v)
static bool logarithmicVanDerWaalsRadiusGradient ()
static void setLogarithmicMassGradient (bool v)
static bool logarithmicMassGradient ()
static void setLogarithmicBoilingPointGradient (bool v)
static bool logarithmicBoilingPointGradient ()
static void setLogarithmicMeltingPointGradient (bool v)
static bool logarithmicMeltingPointGradient ()
static void setLogarithmicElectronegativityGradient (bool v)
static bool logarithmicElectronegativityGradient ()
static void setLogarithmicDiscoverydateGradient (bool v)
static bool logarithmicDiscoverydateGradient ()
static void setLogarithmicElectronaffinityGradient (bool v)
static bool logarithmicElectronaffinityGradient ()
static void setLogarithmicIonizationGradient (bool v)
static bool logarithmicIonizationGradient ()
static void setNoscheme (const QColor &v)
static QColor noscheme ()
static void setColor_liquid (const QColor &v)
static QColor color_liquid ()
static void setColor_solid (const QColor &v)
static QColor color_solid ()
static void setColor_vapor (const QColor &v)
static QColor color_vapor ()
static void setColor_radioactive (const QColor &v)
static QColor color_radioactive ()
static void setColor_artificial (const QColor &v)
static QColor color_artificial ()
static void setBlock_s (const QColor &v)
static QColor block_s ()
static void setBlock_p (const QColor &v)
static QColor block_p ()
static void setBlock_d (const QColor &v)
static QColor block_d ()
static void setBlock_f (const QColor &v)
static QColor block_f ()
static void setGroup_1 (const QColor &v)
static QColor group_1 ()
static void setGroup_2 (const QColor &v)
static QColor group_2 ()
static void setGroup_3 (const QColor &v)
static QColor group_3 ()
static void setGroup_4 (const QColor &v)
static QColor group_4 ()
static void setGroup_5 (const QColor &v)
static QColor group_5 ()
static void setGroup_6 (const QColor &v)
static QColor group_6 ()
static void setGroup_7 (const QColor &v)
static QColor group_7 ()
static void setGroup_8 (const QColor &v)
static QColor group_8 ()
static void setAlkalie (const QColor &v)
static QColor alkalie ()
static void setRare (const QColor &v)
static QColor rare ()
static void setNonmetal (const QColor &v)
static QColor nonmetal ()
static void setAlkaline (const QColor &v)
static QColor alkaline ()
static void setOther_metal (const QColor &v)
static QColor other_metal ()
static void setHalogene (const QColor &v)
static QColor halogene ()
static void setTransition (const QColor &v)
static QColor transition ()
static void setNoble_gas (const QColor &v)
static QColor noble_gas ()
static void setMetalloid (const QColor &v)
static QColor metalloid ()
static void setEnergies (int v)
static int energies ()
static void setTemperature (int v)
static int temperature ()
static void setShowsidebar (bool v)
static bool showsidebar ()

Protected Member Functions

 Prefs ()

Protected Attributes

int mSchemaPSE
int mColorschemebox
int mGradient
int mNumeration
bool mShowlegend
int mPselook
int mTable
bool mLogarithmicCovalentRadiusGradient
bool mLogarithmicVanDerWaalsRadiusGradient
bool mLogarithmicMassGradient
bool mLogarithmicBoilingPointGradient
bool mLogarithmicMeltingPointGradient
bool mLogarithmicElectronegativityGradient
bool mLogarithmicDiscoverydateGradient
bool mLogarithmicElectronaffinityGradient
bool mLogarithmicIonizationGradient
QColor mNoscheme
QColor mColor_liquid
QColor mColor_solid
QColor mColor_vapor
QColor mColor_radioactive
QColor mColor_artificial
QColor mBlock_s
QColor mBlock_p
QColor mBlock_d
QColor mBlock_f
QColor mGroup_1
QColor mGroup_2
QColor mGroup_3
QColor mGroup_4
QColor mGroup_5
QColor mGroup_6
QColor mGroup_7
QColor mGroup_8
QColor mAlkalie
QColor mRare
QColor mNonmetal
QColor mAlkaline
QColor mOther_metal
QColor mHalogene
QColor mTransition
QColor mNoble_gas
QColor mMetalloid
int mEnergies
int mTemperature
bool mShowsidebar

Friends

class PrefsHelper

Constructor & Destructor Documentation

Prefs::~Prefs (  ) 

Definition at line 186 of file prefs.cpp.

Prefs::Prefs (  )  [protected]

Definition at line 27 of file prefs.cpp.


Member Function Documentation

Prefs * Prefs::self (  )  [static]

Definition at line 17 of file prefs.cpp.

static void Prefs::setSchemaPSE ( int  v  )  [inline, static]

Set Selects the PSE.

Definition at line 20 of file prefs.h.

static int Prefs::schemaPSE (  )  [inline, static]

Get Selects the PSE.

Definition at line 30 of file prefs.h.

static void Prefs::setColorschemebox ( int  v  )  [inline, static]

Set Selects the default color scheme.

Definition at line 39 of file prefs.h.

static int Prefs::colorschemebox (  )  [inline, static]

Get Selects the default color scheme.

Definition at line 49 of file prefs.h.

static void Prefs::setGradient ( int  v  )  [inline, static]

Set Selects the default gradient.

Definition at line 58 of file prefs.h.

static int Prefs::gradient (  )  [inline, static]

Get Selects the default gradient.

Definition at line 68 of file prefs.h.

static void Prefs::setNumeration ( int  v  )  [inline, static]

Set Selects the default numeration (IUPAC).

Definition at line 77 of file prefs.h.

static int Prefs::numeration (  )  [inline, static]

Get Selects the default numeration (IUPAC).

Definition at line 87 of file prefs.h.

static void Prefs::setShowlegend ( bool  v  )  [inline, static]

Set Show or hide the legend.

Definition at line 96 of file prefs.h.

static bool Prefs::showlegend (  )  [inline, static]

Get Show or hide the legend.

Definition at line 106 of file prefs.h.

static void Prefs::setPselook ( int  v  )  [inline, static]

Set whether the atomic mass will be displayed in the PSE-Table.

Definition at line 115 of file prefs.h.

static int Prefs::pselook (  )  [inline, static]

Get whether the atomic mass will be displayed in the PSE-Table.

Definition at line 125 of file prefs.h.

static void Prefs::setTable ( int  v  )  [inline, static]

Set Selects the table view (default is classical).

Definition at line 134 of file prefs.h.

static int Prefs::table (  )  [inline, static]

Get Selects the table view (default is classical).

Definition at line 144 of file prefs.h.

static void Prefs::setLogarithmicCovalentRadiusGradient ( bool  v  )  [inline, static]

Set whether to use a logarithmic gradient for the KalziumCovalentRadiusGradientType class.

Definition at line 153 of file prefs.h.

static bool Prefs::logarithmicCovalentRadiusGradient (  )  [inline, static]

Get whether to use a logarithmic gradient for the KalziumCovalentRadiusGradientType class.

Definition at line 163 of file prefs.h.

static void Prefs::setLogarithmicVanDerWaalsRadiusGradient ( bool  v  )  [inline, static]

Set whether to use a logarithmic gradient for the KalziumVanDerWaalsRadiusGradientType class.

Definition at line 172 of file prefs.h.

static bool Prefs::logarithmicVanDerWaalsRadiusGradient (  )  [inline, static]

Get whether to use a logarithmic gradient for the KalziumVanDerWaalsRadiusGradientType class.

Definition at line 182 of file prefs.h.

static void Prefs::setLogarithmicMassGradient ( bool  v  )  [inline, static]

Set whether to use a logarithmic gradient for the KalziumMassGradientType class.

Definition at line 191 of file prefs.h.

static bool Prefs::logarithmicMassGradient (  )  [inline, static]

Get whether to use a logarithmic gradient for the KalziumMassGradientType class.

Definition at line 201 of file prefs.h.

static void Prefs::setLogarithmicBoilingPointGradient ( bool  v  )  [inline, static]

Set whether to use a logarithmic gradient for the KalziumBoilingPointGradientType class.

Definition at line 210 of file prefs.h.

static bool Prefs::logarithmicBoilingPointGradient (  )  [inline, static]

Get whether to use a logarithmic gradient for the KalziumBoilingPointGradientType class.

Definition at line 220 of file prefs.h.

static void Prefs::setLogarithmicMeltingPointGradient ( bool  v  )  [inline, static]

Set whether to use a logarithmic gradient for the KalziumMeltingPointGradientType class.

Definition at line 229 of file prefs.h.

static bool Prefs::logarithmicMeltingPointGradient (  )  [inline, static]

Get whether to use a logarithmic gradient for the KalziumMeltingPointGradientType class.

Definition at line 239 of file prefs.h.

static void Prefs::setLogarithmicElectronegativityGradient ( bool  v  )  [inline, static]

Set whether to use a logarithmic gradient for the KalziumElectronegativityGradientType class.

Definition at line 248 of file prefs.h.

static bool Prefs::logarithmicElectronegativityGradient (  )  [inline, static]

Get whether to use a logarithmic gradient for the KalziumElectronegativityGradientType class.

Definition at line 258 of file prefs.h.

static void Prefs::setLogarithmicDiscoverydateGradient ( bool  v  )  [inline, static]

Set whether to use a logarithmic gradient for the KalziumDiscoverydateGradientType class.

Definition at line 267 of file prefs.h.

static bool Prefs::logarithmicDiscoverydateGradient (  )  [inline, static]

Get whether to use a logarithmic gradient for the KalziumDiscoverydateGradientType class.

Definition at line 277 of file prefs.h.

static void Prefs::setLogarithmicElectronaffinityGradient ( bool  v  )  [inline, static]

Set whether to use a logarithmic gradient for the KalziumElectronaffinityGradientType class.

Definition at line 286 of file prefs.h.

static bool Prefs::logarithmicElectronaffinityGradient (  )  [inline, static]

Get whether to use a logarithmic gradient for the KalziumElectronaffinityGradientType class.

Definition at line 296 of file prefs.h.

static void Prefs::setLogarithmicIonizationGradient ( bool  v  )  [inline, static]

Set whether to use a logarithmic gradient for the KalziumIonizationGradientType class.

Definition at line 305 of file prefs.h.

static bool Prefs::logarithmicIonizationGradient (  )  [inline, static]

Get whether to use a logarithmic gradient for the KalziumIonizationGradientType class.

Definition at line 315 of file prefs.h.

static void Prefs::setNoscheme ( const QColor &  v  )  [inline, static]

Set Selects the color if no scheme is selected.

Definition at line 324 of file prefs.h.

static QColor Prefs::noscheme (  )  [inline, static]

Get Selects the color if no scheme is selected.

Definition at line 334 of file prefs.h.

static void Prefs::setColor_liquid ( const QColor &  v  )  [inline, static]

Set Selects the color of liquid elements.

Definition at line 343 of file prefs.h.

static QColor Prefs::color_liquid (  )  [inline, static]

Get Selects the color of liquid elements.

Definition at line 353 of file prefs.h.

static void Prefs::setColor_solid ( const QColor &  v  )  [inline, static]

Set Selects the color of solid elements.

Definition at line 362 of file prefs.h.

static QColor Prefs::color_solid (  )  [inline, static]

Get Selects the color of solid elements.

Definition at line 372 of file prefs.h.

static void Prefs::setColor_vapor ( const QColor &  v  )  [inline, static]

Set Selects the color of vaporous elements.

Definition at line 381 of file prefs.h.

static QColor Prefs::color_vapor (  )  [inline, static]

Get Selects the color of vaporous elements.

Definition at line 391 of file prefs.h.

static void Prefs::setColor_radioactive ( const QColor &  v  )  [inline, static]

Set Selects the color of radioactive elements.

Definition at line 400 of file prefs.h.

static QColor Prefs::color_radioactive (  )  [inline, static]

Get Selects the color of radioactive elements.

Definition at line 410 of file prefs.h.

static void Prefs::setColor_artificial ( const QColor &  v  )  [inline, static]

Set Selects the color of artificial elements.

Definition at line 419 of file prefs.h.

static QColor Prefs::color_artificial (  )  [inline, static]

Get Selects the color of artificial elements.

Definition at line 429 of file prefs.h.

static void Prefs::setBlock_s ( const QColor &  v  )  [inline, static]

Set Selects the color of the elements in block s.

Definition at line 438 of file prefs.h.

static QColor Prefs::block_s (  )  [inline, static]

Get Selects the color of the elements in block s.

Definition at line 448 of file prefs.h.

static void Prefs::setBlock_p ( const QColor &  v  )  [inline, static]

Set Selects the color of the elements in block p.

Definition at line 457 of file prefs.h.

static QColor Prefs::block_p (  )  [inline, static]

Get Selects the color of the elements in block p.

Definition at line 467 of file prefs.h.

static void Prefs::setBlock_d ( const QColor &  v  )  [inline, static]

Set Selects the color of the elements in block d.

Definition at line 476 of file prefs.h.

static QColor Prefs::block_d (  )  [inline, static]

Get Selects the color of the elements in block d.

Definition at line 486 of file prefs.h.

static void Prefs::setBlock_f ( const QColor &  v  )  [inline, static]

Set Selects the color of the elements in block f.

Definition at line 495 of file prefs.h.

static QColor Prefs::block_f (  )  [inline, static]

Get Selects the color of the elements in block f.

Definition at line 505 of file prefs.h.

static void Prefs::setGroup_1 ( const QColor &  v  )  [inline, static]

Set Selects the color of the elements in group 1.

Definition at line 514 of file prefs.h.

static QColor Prefs::group_1 (  )  [inline, static]

Get Selects the color of the elements in group 1.

Definition at line 524 of file prefs.h.

static void Prefs::setGroup_2 ( const QColor &  v  )  [inline, static]

Set Selects the color of the elements in group 2.

Definition at line 533 of file prefs.h.

static QColor Prefs::group_2 (  )  [inline, static]

Get Selects the color of the elements in group 2.

Definition at line 543 of file prefs.h.

static void Prefs::setGroup_3 ( const QColor &  v  )  [inline, static]

Set Selects the color of the elements in group 3.

Definition at line 552 of file prefs.h.

static QColor Prefs::group_3 (  )  [inline, static]

Get Selects the color of the elements in group 3.

Definition at line 562 of file prefs.h.

static void Prefs::setGroup_4 ( const QColor &  v  )  [inline, static]

Set Selects the color of the elements in group 4.

Definition at line 571 of file prefs.h.

static QColor Prefs::group_4 (  )  [inline, static]

Get Selects the color of the elements in group 4.

Definition at line 581 of file prefs.h.

static void Prefs::setGroup_5 ( const QColor &  v  )  [inline, static]

Set Selects the color of the elements in group 5.

Definition at line 590 of file prefs.h.

static QColor Prefs::group_5 (  )  [inline, static]

Get Selects the color of the elements in group 5.

Definition at line 600 of file prefs.h.

static void Prefs::setGroup_6 ( const QColor &  v  )  [inline, static]

Set Selects the color of the elements in group 6.

Definition at line 609 of file prefs.h.

static QColor Prefs::group_6 (  )  [inline, static]

Get Selects the color of the elements in group 6.

Definition at line 619 of file prefs.h.

static void Prefs::setGroup_7 ( const QColor &  v  )  [inline, static]

Set Selects the color of the elements in group 7.

Definition at line 628 of file prefs.h.

static QColor Prefs::group_7 (  )  [inline, static]

Get Selects the color of the elements in group 7.

Definition at line 638 of file prefs.h.

static void Prefs::setGroup_8 ( const QColor &  v  )  [inline, static]

Set Selects the color of the elements in group 8.

Definition at line 647 of file prefs.h.

static QColor Prefs::group_8 (  )  [inline, static]

Get Selects the color of the elements in group 8.

Definition at line 657 of file prefs.h.

static void Prefs::setAlkalie ( const QColor &  v  )  [inline, static]

Set Selects the color of the alkali metals.

Definition at line 666 of file prefs.h.

static QColor Prefs::alkalie (  )  [inline, static]

Get Selects the color of the alkali metals.

Definition at line 676 of file prefs.h.

static void Prefs::setRare ( const QColor &  v  )  [inline, static]

Set Selects the color of the rare-earth elements.

Definition at line 685 of file prefs.h.

static QColor Prefs::rare (  )  [inline, static]

Get Selects the color of the rare-earth elements.

Definition at line 695 of file prefs.h.

static void Prefs::setNonmetal ( const QColor &  v  )  [inline, static]

Set Selects the color of the non-metal elements.

Definition at line 704 of file prefs.h.

static QColor Prefs::nonmetal (  )  [inline, static]

Get Selects the color of the non-metal elements.

Definition at line 714 of file prefs.h.

static void Prefs::setAlkaline ( const QColor &  v  )  [inline, static]

Set Selects the color of the alkaline earth metals.

Definition at line 723 of file prefs.h.

static QColor Prefs::alkaline (  )  [inline, static]

Get Selects the color of the alkaline earth metals.

Definition at line 733 of file prefs.h.

static void Prefs::setOther_metal ( const QColor &  v  )  [inline, static]

Set Selects the color of the metals which do not fit into the other categories.

Definition at line 742 of file prefs.h.

static QColor Prefs::other_metal (  )  [inline, static]

Get Selects the color of the metals which do not fit into the other categories.

Definition at line 752 of file prefs.h.

static void Prefs::setHalogene ( const QColor &  v  )  [inline, static]

Set Selects the color of the halogen elements.

Definition at line 761 of file prefs.h.

static QColor Prefs::halogene (  )  [inline, static]

Get Selects the color of the halogen elements.

Definition at line 771 of file prefs.h.

static void Prefs::setTransition ( const QColor &  v  )  [inline, static]

Set Selects the color of the transition elements.

Definition at line 780 of file prefs.h.

static QColor Prefs::transition (  )  [inline, static]

Get Selects the color of the transition elements.

Definition at line 790 of file prefs.h.

static void Prefs::setNoble_gas ( const QColor &  v  )  [inline, static]

Set Selects the color of the noble gases.

Definition at line 799 of file prefs.h.

static QColor Prefs::noble_gas (  )  [inline, static]

Get Selects the color of the noble gases.

Definition at line 809 of file prefs.h.

static void Prefs::setMetalloid ( const QColor &  v  )  [inline, static]

Set Selects the color of the metalloid elements.

Definition at line 818 of file prefs.h.

static QColor Prefs::metalloid (  )  [inline, static]

Get Selects the color of the metalloid elements.

Definition at line 828 of file prefs.h.

static void Prefs::setEnergies ( int  v  )  [inline, static]

Set This value defines whether eV or kJ/mol should be used within Kalzium.

Definition at line 837 of file prefs.h.

static int Prefs::energies (  )  [inline, static]

Get This value defines whether eV or kJ/mol should be used within Kalzium.

Definition at line 847 of file prefs.h.

static void Prefs::setTemperature ( int  v  )  [inline, static]

Set This value defines which temperature scale should be used within Kalzium.

Definition at line 856 of file prefs.h.

static int Prefs::temperature (  )  [inline, static]

Get This value defines which temperature sc