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
plaintexteditor_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3
4//
5// W A R N I N G
6// -------------
7//
8// This file is not part of the Qt API. It exists for the convenience
9// of Qt Designer. This header
10// file may change from version to version without notice, or even be removed.
11//
12// We mean it.
13//
14
15#ifndef PLAINTEXTEDITOR_H
16#define PLAINTEXTEDITOR_H
17
18#include <QtWidgets/qdialog.h>
20
22
23class QPlainTextEdit;
24class QDesignerFormEditorInterface;
25
26namespace qdesigner_internal {
27
29{
31public:
34
35 int showDialog();
36
37 void setDefaultFont(const QFont &font);
38
39 void setText(const QString &text);
40 QString text() const;
41
42private:
45};
46
47} // namespace qdesigner_internal
48
49QT_END_NAMESPACE
50
51#endif // RITCHTEXTEDITOR_H
The QDesignerFormEditorInterface class allows you to access Qt Widgets Designer's various components.
virtual QVariant property(int index) const =0
virtual ~QDesignerPropertySheetExtension()=default
virtual bool isEnabled(int index) const =0
virtual bool isVisible(int index) const =0
virtual void setProperty(int index, const QVariant &value)=0
virtual bool isAttribute(int index) const =0
virtual bool reset(int index)=0
virtual void setVisible(int index, bool b)=0
virtual bool hasReset(int index) const =0
virtual void setAttribute(int index, bool b)=0
virtual void setChanged(int index, bool changed)=0
virtual QString propertyGroup(int index) const =0
virtual int count() const =0
virtual int indexOf(const QString &name) const =0
virtual void setPropertyGroup(int index, const QString &group)=0
virtual QString propertyName(int index) const =0
virtual bool isChanged(int index) const =0
The QExtensionManager class provides extension management facilities for \QD.
friend class QWidget
Definition qpainter.h:421
A search bar that is commonly added below the searchable text.
void setSuperPalette(const QPalette &palette)
static QString msgMissingThemeIcon(const QString &t)
void setTheme(const QString &theme)
void setDefaultPixmap(const QPixmap &pixmap)
static QString displayText(const PropertySheetIconValue &icon)
void setPixmapCache(DesignerPixmapCache *cache)
static QString msgThemeIcon(const QString &t)
void setDefaultPixmapIcon(const QIcon &icon)
void setIconThemeModeEnabled(bool enabled)
void contextMenuEvent(QContextMenuEvent *event) override
This event handler, for event event, can be reimplemented in a subclass to receive widget context men...
void themeEnumChanged(int themeEnum)
void themeChanged(const QString &theme)
void setRange(qlonglong bottom, qlonglong top)
QLongLongValidator(qlonglong bottom, qlonglong top, QObject *parent)
QULongLongValidator(qulonglong bottom, qulonglong top, QObject *parent)
void setRange(qulonglong bottom, qulonglong top)
static constexpr auto defaultResourceAttributeC
static constexpr auto themeEnumAttributeC
static constexpr auto flagsAttributeC
static constexpr auto validationModesAttributeC
static constexpr auto resettableAttributeC
static constexpr auto themeAttributeC
static constexpr auto superPaletteAttributeC
static constexpr auto fontAttributeC
Combined button and popup list for selecting options.
Auxiliary methods to store/retrieve settings.
#define QT_PROPERTYEDITOR_EXPORT
#define QDESIGNER_SHARED_EXPORT