|
|
It's a special kind of QPushButton catching mouse clicks. And you have the ability to abbreviate the text that it fits in the button.
QextMdiTaskBarButton ( QextMdiTaskBar *pTaskBar, QextMdiChildView *win_ptr)
| QextMdiTaskBarButton |
Constructor (sets to toggle button, adds a tooltip (caption) and sets to NoFocus
~QextMdiTaskBarButton ()
| ~QextMdiTaskBarButton |
Destructor
QString actualText ()
| actualText |
[const]
text() returns the possibly abbreviated text including the dots in it. But actualText() returns the full text.
void fitText (const QString&, int newWidth)
| fitText |
Given the parameter newWidth this function possibly abbreviates the parameter string and sets a new button text.
void setText (const QString&)
| setText |
Sets the text and avoids any abbreviation. Memorizes that text in m_actualText, too.
void clicked (QextMdiChildView*)
| clicked |
[signal]
Emitted when the button has been clicked. Internally connected to setFocus of the according MDI view.
void leftMouseButtonClicked (QextMdiChildView*)
| leftMouseButtonClicked |
[signal]
Internally connected with QextMdiMainFrm::activateView
void rightMouseButtonClicked (QextMdiChildView*)
| rightMouseButtonClicked |
[signal]
Internally connected with QextMdiMainFrm::taskbarButtonRightClicked
void buttonTextChanged (int)
| buttonTextChanged |
[signal]
Emitted when the button text has changed. Internally connected with QextMdiTaskBar::layoutTaskBar
void setNewText (const QString&)
| setNewText |
[slot]
A slot version of setText
void mousePressEvent ( QMouseEvent*)
| mousePressEvent |
[protected slots slot]
Reimplemented from its base class to catch right and left mouse button clicks
QextMdiChildView * m_pWindow | m_pWindow |
QString m_actualText | m_actualText |
[protected]
Generated by: falk on pc9 on Fri Nov 30 14:44:26 2001, using kdoc 2.0a53. |