A custom QListWidget with enhanced mouse interaction.
More...
#include <custom_list_widget.hpp>
|
void | mouseMoveEvent (QMouseEvent *event) override |
| Handles the mouse move event.
|
|
void | leaveEvent (QEvent *event) override |
| Handles the leave event.
|
|
A custom QListWidget with enhanced mouse interaction.
The CustomListWidget class provides a custom implementation of QListWidget with additional functionalities such as custom mouse cursor handling and specific styling.
◆ CustomListWidget()
CustomListWidget::CustomListWidget |
( |
QWidget * | parent = nullptr | ) |
|
|
explicit |
Constructs a CustomListWidget object and formats it correctly.
- Parameters
-
parent | Pointer to the parent widget. |
◆ leaveEvent()
void CustomListWidget::leaveEvent |
( |
QEvent * | event | ) |
|
|
overrideprotected |
Handles the leave event.
- Parameters
-
event | Pointer to the QEvent object. |
◆ mouseMoveEvent()
void CustomListWidget::mouseMoveEvent |
( |
QMouseEvent * | event | ) |
|
|
overrideprotected |
Handles the mouse move event.
- Parameters
-
event | Pointer to the QMouseEvent object. |
The documentation for this class was generated from the following files: