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
qcocoamessagedialog.mm File Reference

(7edff3f15ae21c2310437e0711f84442a21cb6a1)

#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()

static Qt::CheckState checkStateFor ( NSControlStateValue state)
static

Definition at line 325 of file qcocoamessagedialog.mm.

References Qt::Checked, Qt::PartiallyChecked, state, and Qt::Unchecked.

◆ controlStateFor()

static NSControlStateValue controlStateFor ( Qt::CheckState state)
static

Definition at line 50 of file qcocoamessagedialog.mm.

References Qt::Checked, Qt::PartiallyChecked, state, and Qt::Unchecked.

◆ toPlainText()

static QString toPlainText ( const QString & text)
static

Definition at line 34 of file qcocoamessagedialog.mm.

References Qt::mightBeRichText(), QTextDocument::setHtml(), text, and QTextDocument::toPlainText().

Referenced by QCocoaMessageDialog::show().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ kModalResponseDialogHidden

const NSInteger kModalResponseDialogHidden = NSAlertThirdButtonReturn + 1
static

Definition at line 323 of file qcocoamessagedialog.mm.

Referenced by QCocoaMessageDialog::hide().