Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qcocoamessagedialog.mm File Reference

(76d861f39f5d063a0e065c7e3646606ed6a3b9d1)

#include "qcocoamessagedialog.h"
#include "qcocoawindow.h"
#include "qcocoahelpers.h"
#include "qcocoaeventdispatcher.h"
#include <QtCore/qmetaobject.h>
#include <QtCore/qscopedvaluerollback.h>
#include <QtCore/qtimer.h>
#include <QtGui/qtextdocument.h>
#include <QtGui/private/qguiapplication_p.h>
#include <QtGui/private/qcoregraphics_p.h>
#include <QtGui/qpa/qplatformtheme.h>
#include <AppKit/NSAlert.h>
#include <AppKit/NSButton.h>
Include dependency graph for qcocoamessagedialog.mm:

Go to the source code of this file.

Functions

static QString toPlainText (const QString &text)
static NSControlStateValue controlStateFor (Qt::CheckState state)
static Qt::CheckState checkStateFor (NSControlStateValue state)

Variables

static const NSInteger kModalResponseDialogHidden = NSAlertThirdButtonReturn + 1

Function Documentation

◆ checkStateFor()

Qt::CheckState checkStateFor ( NSControlStateValue state)
static

Definition at line 325 of file qcocoamessagedialog.mm.

◆ controlStateFor()

NSControlStateValue controlStateFor ( Qt::CheckState state)
static

Definition at line 51 of file qcocoamessagedialog.mm.

◆ toPlainText()

QString toPlainText ( const QString & text)
static

Definition at line 35 of file qcocoamessagedialog.mm.

Variable Documentation

◆ kModalResponseDialogHidden

const NSInteger kModalResponseDialogHidden = NSAlertThirdButtonReturn + 1
static

Definition at line 323 of file qcocoamessagedialog.mm.