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
uilib_global.h
Go to the documentation of this file.
1// Copyright (C) 2020 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef UILIB_GLOBAL_H
5#define UILIB_GLOBAL_H
6
7#include <QtCore/qglobal.h>
8
10
11#define QDESIGNER_UILIB_EXTERN Q_DECL_EXPORT
12#define QDESIGNER_UILIB_IMPORT Q_DECL_IMPORT
13
14#ifdef QT_DESIGNER_STATIC
15# define QDESIGNER_UILIB_EXPORT
16#elif defined(QDESIGNER_UILIB_LIBRARY)
17# define QDESIGNER_UILIB_EXPORT QDESIGNER_UILIB_EXTERN
18#else
19# define QDESIGNER_UILIB_EXPORT QDESIGNER_UILIB_IMPORT
20#endif
21
23
24#endif // UILIB_GLOBAL_H
\inmodule QtSql
\inmodule QtCore
Definition qvariant.h:65
Combined button and popup list for selecting options.
static bool isOfType(const QMetaObject *what, const QMetaObject *type)
static bool applySimpleProperty(const QVariant &v, bool translateString, DomProperty *dom_prop)
static QMetaEnum fontWeightMetaEnum()
DomProperty * variantToDomProperty(QAbstractFormBuilder *afb, const QMetaObject *meta, const QString &pname, const QVariant &v)
static QString msgCannotWriteProperty(const QString &pname, const QVariant &v)
static bool isTranslatable(const QString &pname, const QVariant &v, const QMetaObject *meta)
QVariant domPropertyToVariant(QAbstractFormBuilder *afb, const QMetaObject *meta, const DomProperty *p)
QVariant domPropertyToVariant(const DomProperty *p)
EnumType enumKeyOfObjectToValue(const char *enumName, const char *key)
QMetaEnum metaEnum(const char *name)
EnumType enumKeysToValue(const QMetaEnum &metaEnum, const char *keys, const EnumType *=nullptr)
EnumType enumKeyToValue(const QMetaEnum &metaEnum, const char *key, const EnumType *=nullptr)
#define QDESIGNER_UILIB_IMPORT
Definition ui4.h:29
#define QDESIGNER_UILIB_EXPORT
Definition ui4.h:36