Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QMessageDialogOptions::CustomButton Struct Reference

#include <qplatformdialoghelper.h>

+ Collaboration diagram for QMessageDialogOptions::CustomButton:

Public Member Functions

 CustomButton (int id=-1, const QString &label=QString(), QPlatformDialogHelper::ButtonRole role=QPlatformDialogHelper::InvalidRole, void *button=nullptr)
 

Public Attributes

QString label
 
QPlatformDialogHelper::ButtonRole role
 
int id
 
voidbutton
 

Detailed Description

Definition at line 447 of file qplatformdialoghelper.h.

Constructor & Destructor Documentation

◆ CustomButton()

QMessageDialogOptions::CustomButton::CustomButton ( int id = -1,
const QString & label = QString(),
QPlatformDialogHelper::ButtonRole role = QPlatformDialogHelper::InvalidRole,
void * button = nullptr )
inlineexplicit

Definition at line 448 of file qplatformdialoghelper.h.

Member Data Documentation

◆ button

void* QMessageDialogOptions::CustomButton::button

Definition at line 458 of file qplatformdialoghelper.h.

Referenced by QMessageBoxPrivate::helperClicked().

◆ id

int QMessageDialogOptions::CustomButton::id

Definition at line 457 of file qplatformdialoghelper.h.

◆ label

QString QMessageDialogOptions::CustomButton::label

Definition at line 455 of file qplatformdialoghelper.h.

◆ role

QPlatformDialogHelper::ButtonRole QMessageDialogOptions::CustomButton::role

The documentation for this struct was generated from the following file: