KUserFeedback::NotificationPopup Class

Notification popup that overlays a small part of the application for encouraging contributions or inform about surveys. More...

Header: #include <KUserFeedback/NotificationPopup>
CMake: find_package(KF6 REQUIRED COMPONENTS UserFeedbackWidgets)
target_link_libraries(mytarget PRIVATE KF6::UserFeedbackWidgets)
Inherits: QWidget

Public Functions

NotificationPopup(QWidget *parent)
void setFeedbackProvider(KUserFeedback::Provider *provider)

Detailed Description

Member Function Documentation

[explicit] NotificationPopup::NotificationPopup(QWidget *parent)

Create a new notification popup.

Do not put this widget into a layout.

parent The parent widget. This must not be nullptr.

void NotificationPopup::setFeedbackProvider(KUserFeedback::Provider *provider)

Set the feedback provider that is going to drive this notification popup.