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

(96f54d6af6ad6842578a8cd133fa4f79c25840a3)

#include "qcocoamessagedialog.h"
#include "qcocoawindow.h"
#include "qcocoahelpers.h"
#include "qcocoaeventdispatcher.h"
#include <QtCore/qmetaobject.h>
#include <QtCore/qpointer.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 335 of file qcocoamessagedialog.mm.

◆ controlStateFor()

NSControlStateValue controlStateFor ( Qt::CheckState state)
static

Definition at line 52 of file qcocoamessagedialog.mm.

◆ toPlainText()

QString toPlainText ( const QString & text)
static

Definition at line 36 of file qcocoamessagedialog.mm.

Variable Documentation

◆ kModalResponseDialogHidden

const NSInteger kModalResponseDialogHidden = NSAlertThirdButtonReturn + 1
static

Definition at line 333 of file qcocoamessagedialog.mm.