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
mainwindow.cpp File Reference

(64a64f7604cb5b7af0ea8eb2f29819b9cfc2afac)

#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "distancefieldmodel.h"
#include <QtCore/qdir.h>
#include <QtCore/qdatastream.h>
#include <QtCore/qmath.h>
#include <QtCore/qendian.h>
#include <QtCore/qbuffer.h>
#include <QtGui/qdesktopservices.h>
#include <QtGui/qrawfont.h>
#include <QtWidgets/qmessagebox.h>
#include <QtWidgets/qlabel.h>
#include <QtWidgets/qprogressbar.h>
#include <QtWidgets/qfiledialog.h>
#include <QtWidgets/qinputdialog.h>
#include <QtCore/private/qunicodetables_p.h>
#include <QtGui/private/qdistancefield_p.h>
#include <QtQuick/private/qsgareaallocator_p.h>
#include <QtQuick/private/qsgadaptationlayer_p.h>
+ Include dependency graph for mainwindow.cpp:

Go to the source code of this file.

Classes

struct  FontDirectoryHeader
 
struct  TableRecord
 
struct  QtdfHeader
 
struct  QtdfGlyphRecord
 
struct  QtdfTextureRecord
 
struct  Head
 

Macros

#define PAD_BUFFER(buffer, size)
 
#define ALIGN_OFFSET(offset)
 
#define TO_FIXED_POINT(value)
 

Functions

static QT_BEGIN_NAMESPACE void openHelp ()
 

Macro Definition Documentation

◆ ALIGN_OFFSET

#define ALIGN_OFFSET ( offset)
Value:
{ \
int paddingNeed = offset % 4; \
if (paddingNeed > 0) \
offset += 4 - paddingNeed; \
}
GLenum GLuint GLintptr offset

Definition at line 211 of file mainwindow.cpp.

◆ PAD_BUFFER

#define PAD_BUFFER ( buffer,
size )
Value:
{ \
int paddingNeed = size % 4; \
if (paddingNeed > 0) { \
const char padding[3] = { 0, 0, 0 }; \
buffer.write(padding, 4 - paddingNeed); \
} \
}
EGLContext EGLenum EGLClientBuffer buffer
GLenum GLuint GLintptr GLsizeiptr size
[1]

Definition at line 202 of file mainwindow.cpp.

◆ TO_FIXED_POINT

#define TO_FIXED_POINT ( value)
Value:
((int)(value*qreal(65536)))
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
double qreal
Definition qtypes.h:202

Definition at line 218 of file mainwindow.cpp.

Function Documentation

◆ openHelp()

static QT_BEGIN_NAMESPACE void openHelp ( )
static

Definition at line 28 of file mainwindow.cpp.