◆ ProxyLineEdit()
Digikam::ProxyLineEdit::ProxyLineEdit |
( |
QWidget *const |
parent = nullptr | ) |
|
|
explicit |
This class will not act as a QLineEdit at all, but present another widget (any kind of widget) instead in the space assigned to the QLineEdit. Use this class if you need to pass a QLineEdit but want actually to use a different widget.
References m_layout, and setClearButtonShown().
◆ changeEvent()
void Digikam::ProxyLineEdit::changeEvent |
( |
QEvent * |
event | ) |
|
|
overrideprotected |
◆ contextMenuEvent()
void Digikam::ProxyLineEdit::contextMenuEvent |
( |
QContextMenuEvent * |
event | ) |
|
|
overrideprotected |
◆ dragEnterEvent()
void Digikam::ProxyLineEdit::dragEnterEvent |
( |
QDragEnterEvent * |
event | ) |
|
|
overrideprotected |
◆ dragLeaveEvent()
void Digikam::ProxyLineEdit::dragLeaveEvent |
( |
QDragLeaveEvent * |
e | ) |
|
|
overrideprotected |
◆ dragMoveEvent()
void Digikam::ProxyLineEdit::dragMoveEvent |
( |
QDragMoveEvent * |
e | ) |
|
|
overrideprotected |
◆ dropEvent()
void Digikam::ProxyLineEdit::dropEvent |
( |
QDropEvent * |
event | ) |
|
|
overrideprotected |
◆ focusInEvent()
void Digikam::ProxyLineEdit::focusInEvent |
( |
QFocusEvent * |
event | ) |
|
|
overrideprotected |
◆ focusOutEvent()
void Digikam::ProxyLineEdit::focusOutEvent |
( |
QFocusEvent * |
event | ) |
|
|
overrideprotected |
◆ inputMethodEvent()
void Digikam::ProxyLineEdit::inputMethodEvent |
( |
QInputMethodEvent * |
event | ) |
|
|
overrideprotected |
◆ keyPressEvent()
void Digikam::ProxyLineEdit::keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
overrideprotected |
◆ minimumSizeHint()
QSize Digikam::ProxyLineEdit::minimumSizeHint |
( |
| ) |
const |
|
overrideprotected |
◆ mouseDoubleClickEvent()
void Digikam::ProxyLineEdit::mouseDoubleClickEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ mouseMoveEvent()
void Digikam::ProxyLineEdit::mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
We just re-implement all relevant QWidget event handlers and call the QWidget implementation, not the QLineEdit one.
◆ mousePressEvent()
void Digikam::ProxyLineEdit::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
NOTE: see bug #326718: We need to use QLineEdit parent class with these methods to have clear button working fine.
◆ mouseReleaseEvent()
void Digikam::ProxyLineEdit::mouseReleaseEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ paintEvent()
void Digikam::ProxyLineEdit::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
overrideprotected |
◆ setClearButtonShown()
void Digikam::ProxyLineEdit::setClearButtonShown |
( |
bool |
show | ) |
|
◆ setWidget()
void Digikam::ProxyLineEdit::setWidget |
( |
QWidget * |
widget | ) |
|
|
virtual |
◆ signalClearButtonPressed
void Digikam::ProxyLineEdit::signalClearButtonPressed |
( |
| ) |
|
|
signal |
◆ sizeHint()
QSize Digikam::ProxyLineEdit::sizeHint |
( |
| ) |
const |
|
overrideprotected |
◆ m_layout
QVBoxLayout* Digikam::ProxyLineEdit::m_layout |
|
protected |
◆ m_widget
QWidget* Digikam::ProxyLineEdit::m_widget |
|
protected |
The documentation for this class was generated from the following files: