umbrello 25.04.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
#include <dontaskagain.h>
Public Member Functions | |
DontAskAgainWidget (QList< DontAskAgainItem * > &items, QWidget *parent=nullptr) | |
bool | apply () |
void | setDefaults () |
Protected Slots | |
void | slotToggled (bool state) |
Protected Member Functions | |
void | addItem (DontAskAgainItem *item) |
Protected Attributes | |
QVBoxLayout * | m_layout |
QList< DontAskAgainItem * > & | m_items |
The DontAskAgainWidget provides a graphical user interface to change 'dont ask again' settings and could be embedded in dialogs or dialog pages.
After adding the widget to a dialog call apply() to apply changed values and call setDefaults() to reset changes to default values, which is all messages enabled.
The widget is designed as group box with embedded check boxes.
DontAskAgainWidget::DontAskAgainWidget | ( | QList< DontAskAgainItem * > & | items, |
QWidget * | parent = nullptr |
||
) |
|
protected |
bool DontAskAgainWidget::apply | ( | ) |
void DontAskAgainWidget::setDefaults | ( | ) |
|
protectedslot |
|
protected |
|
protected |