krita
SqueezedComboBoxTip Class Reference
#include <squeezedcombobox.h>
Inherits QToolTip.
Detailed Description
This class shows a tooltip for a SqueezedComboBox the tooltip will contain the full text and helps the user find the correct entry.It is automatically activated when starting a SqueezedComboBox. This is inherited from QToolTip
Definition at line 44 of file squeezedcombobox.h.
Public Member Functions | |
SqueezedComboBoxTip (QWidget *parent, SqueezedComboBox *name) | |
Protected Member Functions | |
void | maybeTip (const QPoint &pos) |
Constructor & Destructor Documentation
SqueezedComboBoxTip::SqueezedComboBoxTip | ( | QWidget * | parent, | |
SqueezedComboBox * | name | |||
) |
Constructor.
An example call (as done in SqueezedComboBox::SqueezedComboBox):
t = new SqueezedComboBoxTip( this->listBox()->viewport(), this );
- Parameters:
-
parent parent widget (viewport) name parent widget
Definition at line 38 of file squeezedcombobox.cpp.
Member Function Documentation
void SqueezedComboBoxTip::maybeTip | ( | const QPoint & | pos | ) | [protected] |
Reimplemented version from QToolTip which shows the tooltip when needed.
- Parameters:
-
pos the point where the mouse currently is
Definition at line 44 of file squeezedcombobox.cpp.
The documentation for this class was generated from the following files: