Learn Environment
Public Member Functions | Protected Member Functions | List of all members
CustomListWidget Class Reference

A custom QListWidget with enhanced mouse interaction. More...

#include <custom_list_widget.hpp>

Inheritance diagram for CustomListWidget:
Inheritance graph
Collaboration diagram for CustomListWidget:
Collaboration graph

Public Member Functions

 CustomListWidget (QWidget *parent=nullptr)
 Constructs a CustomListWidget object and formats it correctly. More...
 

Protected Member Functions

void mouseMoveEvent (QMouseEvent *event) override
 Handles the mouse move event. More...
 
void leaveEvent (QEvent *event) override
 Handles the leave event. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ CustomListWidget()

CustomListWidget::CustomListWidget ( QWidget parent = nullptr)
explicit

Constructs a CustomListWidget object and formats it correctly.

Parameters
parentPointer to the parent widget.

Member Function Documentation

◆ leaveEvent()

void CustomListWidget::leaveEvent ( QEvent *  event)
overrideprotected

Handles the leave event.

Parameters
eventPointer to the QEvent object.

◆ mouseMoveEvent()

void CustomListWidget::mouseMoveEvent ( QMouseEvent *  event)
overrideprotected

Handles the mouse move event.

Parameters
eventPointer to the QMouseEvent object.

The documentation for this class was generated from the following files: