kcalc
KCalcConstButton Class Reference
#include <kcalc_const_button.h>
Inheritance diagram for KCalcConstButton:
Signals | |
void | clicked (int num) |
Public Member Functions | |
KCalcConstButton (QWidget *parent) | |
KCalcConstButton (const QString &label, QWidget *parent, const QString &tooltip=QString()) | |
QString | constant () const |
void | setButtonNumber (int num) |
void | setLabelAndTooltip () |
Public Member Functions inherited from KCalcButton | |
KCalcButton (QWidget *parent) | |
KCalcButton (const QString &label, QWidget *parent, const QString &tooltip=QString()) | |
void | addMode (ButtonModeFlags mode, const QString &label, const QString &tooltip) |
void | setFont (const QFont &fnt) |
void | setText (const QString &text) |
void | setToolTip (const QString &tip) |
virtual QSize | sizeHint () const |
Additional Inherited Members | |
Public Slots inherited from KCalcButton | |
void | slotSetAccelDisplayMode (bool flag) |
void | slotSetMode (ButtonModeFlags mode, bool flag) |
Protected Member Functions inherited from KCalcButton | |
virtual void | paintEvent (QPaintEvent *e) |
Detailed Description
Definition at line 30 of file kcalc_const_button.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 35 of file kcalc_const_button.cpp.
KCalcConstButton::KCalcConstButton | ( | const QString & | label, |
QWidget * | parent, | ||
const QString & | tooltip = QString() |
||
) |
Definition at line 46 of file kcalc_const_button.cpp.
Member Function Documentation
|
signal |
QString KCalcConstButton::constant | ( | ) | const |
Definition at line 56 of file kcalc_const_button.cpp.
void KCalcConstButton::setButtonNumber | ( | int | num | ) |
Definition at line 65 of file kcalc_const_button.cpp.
void KCalcConstButton::setLabelAndTooltip | ( | ) |
Definition at line 74 of file kcalc_const_button.cpp.
The documentation for this class was generated from the following files:
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
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.