#include <KoUnitWidgets.h>
|
| | KoUnitDoubleComboBox (TQWidget *parent=0L, const char *name=0L) |
| |
| | KoUnitDoubleComboBox (TQWidget *parent, double lower, double upper, double value=0.0, KoUnit::Unit unit=KoUnit::U_PT, unsigned int precision=2, const char *name=0) |
| |
| virtual void | changeValue (double) |
| |
| void | updateValue (double) |
| |
| virtual void | setUnit (KoUnit::Unit=KoUnit::U_PT) |
| |
| double | value (void) const |
| |
| void | insertItem (double, int index=-1) |
| |
|
| KComboBox (TQWidget *parent=0, const char *name=0) |
| |
|
| KComboBox (bool rw, TQWidget *parent=0, const char *name=0) |
| |
|
void | setEditURL (const KURL &url) |
| |
|
void | insertURL (const KURL &url, int index=-1) |
| |
|
void | insertURL (const TQPixmap &pixmap, const KURL &url, int index=-1) |
| |
|
void | changeURL (const KURL &url, int index) |
| |
|
void | changeURL (const TQPixmap &pixmap, const KURL &url, int index) |
| |
|
int | cursorPosition () const |
| |
|
virtual void | setAutoCompletion (bool autocomplete) |
| |
|
bool | autoCompletion () const |
| |
|
virtual void | setContextMenuEnabled (bool showMenu) |
| |
|
bool | isContextMenuEnabled () const |
| |
|
void | setURLDropsEnabled (bool enable) |
| |
|
bool | isURLDropsEnabled () const |
| |
|
bool | contains (const TQString &text) const |
| |
|
void | setTrapReturnKey (bool trap) |
| |
|
bool | trapReturnKey () const |
| |
|
TDECompletionBox * | completionBox (bool create=true) |
| |
|
virtual void | setLineEdit (TQLineEdit *) |
| |
| | KoUnitDoubleBase (KoUnit::Unit unit, unsigned int precision) |
| |
| void | setValueInUnit (double value, KoUnit::Unit unit) |
| |
| void | setPrecision (unsigned int precision) |
| |
|
| bool | eventFilter (TQObject *obj, TQEvent *ev) |
| |
|
virtual void | create (WId=0, bool initializeWindow=true, bool destroyOldWindow=true) |
| |
| TQString | getVisibleText (double value) const |
| |
| double | toDouble (const TQString &str, bool *ok) const |
| |
Combo box for double precision numbers with unit display.
- Since
- 1.4 (change of behavior)
Definition at line 187 of file KoUnitWidgets.h.
◆ KoUnitDoubleComboBox() [1/2]
| KoUnitDoubleComboBox::KoUnitDoubleComboBox |
( |
TQWidget * |
parent = 0L, |
|
|
const char * |
name = 0L |
|
) |
| |
◆ KoUnitDoubleComboBox() [2/2]
| KoUnitDoubleComboBox::KoUnitDoubleComboBox |
( |
TQWidget * |
parent, |
|
|
double |
lower, |
|
|
double |
upper, |
|
|
double |
value = 0.0, |
|
|
KoUnit::Unit |
unit = KoUnit::U_PT, |
|
|
unsigned int |
precision = 2, |
|
|
const char * |
name = 0 |
|
) |
| |
◆ changeValue()
| void KoUnitDoubleComboBox::changeValue |
( |
double |
value | ) |
|
|
virtual |
◆ eventFilter()
| bool KoUnitDoubleComboBox::eventFilter |
( |
TQObject * |
obj, |
|
|
TQEvent * |
ev |
|
) |
| |
|
protectedvirtual |
◆ insertItem()
| void KoUnitDoubleComboBox::insertItem |
( |
double |
value, |
|
|
int |
index = -1 |
|
) |
| |
◆ setUnit()
| void KoUnitDoubleComboBox::setUnit |
( |
KoUnit::Unit |
unit = KoUnit::U_PT | ) |
|
|
virtual |
◆ updateValue()
| void KoUnitDoubleComboBox::updateValue |
( |
double |
value | ) |
|
◆ value()
| double KoUnitDoubleComboBox::value |
( |
void |
| ) |
const |
◆ m_lower
| double KoUnitDoubleComboBox::m_lower |
|
protected |
◆ m_lowerInPoints
| double KoUnitDoubleComboBox::m_lowerInPoints |
|
protected |
◆ m_upper
| double KoUnitDoubleComboBox::m_upper |
|
protected |
◆ m_upperInPoints
| double KoUnitDoubleComboBox::m_upperInPoints |
|
protected |
◆ m_value
| double KoUnitDoubleComboBox::m_value |
|
protected |
The documentation for this class was generated from the following files:
|