#include <rexpanderbox.h>
Definition at line 79 of file rexpanderbox.h.
◆ RSqueezedClickLabel() [1/2]
| KDcrawIface::RSqueezedClickLabel::RSqueezedClickLabel |
( |
QWidget *const | parent = 0 | ) |
|
Definition at line 111 of file rexpanderbox.cpp.
113{
114 setCursor(Qt::PointingHandCursor);
115}
RAdjustableLabel(QWidget *const parent=0)
◆ RSqueezedClickLabel() [2/2]
| KDcrawIface::RSqueezedClickLabel::RSqueezedClickLabel |
( |
const QString & | text, |
|
|
QWidget *const | parent = 0 ) |
|
explicit |
◆ ~RSqueezedClickLabel()
| KDcrawIface::RSqueezedClickLabel::~RSqueezedClickLabel |
( |
| ) |
|
|
override |
◆ activated
| void KDcrawIface::RSqueezedClickLabel::activated |
( |
| ) |
|
|
signal |
◆ keyPressEvent()
| void KDcrawIface::RSqueezedClickLabel::keyPressEvent |
( |
QKeyEvent * | event | ) |
|
|
overrideprotected |
Definition at line 154 of file rexpanderbox.cpp.
155{
156 switch (e->key())
157 {
158 case Qt::Key_Down:
159 case Qt::Key_Right:
160 case Qt::Key_Space:
162 return;
163 default:
164 break;
165 }
166
167 QLabel::keyPressEvent(e);
168}
References activated().
◆ leftClicked
| void KDcrawIface::RSqueezedClickLabel::leftClicked |
( |
| ) |
|
|
signal |
◆ mousePressEvent()
| void KDcrawIface::RSqueezedClickLabel::mousePressEvent |
( |
QMouseEvent * | event | ) |
|
|
overrideprotected |
Definition at line 140 of file rexpanderbox.cpp.
141{
142 QLabel::mousePressEvent(event);
143
144
145
146
147
148 if (event->button() == Qt::LeftButton)
149 {
150 event->accept();
151 }
152}
◆ mouseReleaseEvent()
| void KDcrawIface::RSqueezedClickLabel::mouseReleaseEvent |
( |
QMouseEvent * | event | ) |
|
|
overrideprotected |
Definition at line 128 of file rexpanderbox.cpp.
129{
130 QLabel::mouseReleaseEvent(event);
131
132 if (event->button() == Qt::LeftButton)
133 {
136 event->accept();
137 }
138}
References activated(), and leftClicked().
The documentation for this class was generated from the following files: