2018年4月3日

VisualDataGroup

モジュール

QtQuick 2.0

クラス継承

QQmlDelegateModelGroup → QObject

説明


タイプ登録のクラスは QQmlDelegateModelGroup で DelegateModelGroup と同一。互換性のために残されている。

参考情報

VisualItemModel

モジュール

QtQuick 2.0

クラス継承

QQmlObjectModel → QQmlInstanceModel (internal) → QObject

説明


タイプ登録のクラスは QQmlObjectModel で ObjectModel と同一。互換性のために残されている。

参考情報

VisualDataModel

モジュール

QtQuick 2.0

クラス継承

QQmlDelegateModel → QQmlInstanceModel (internal) → QObject

説明


タイプ登録のクラスは QQmlDelegateModel で DelegateModel と同一。互換性のために残されている。

参考情報

TextEdit

モジュール

QtQuick 2.7

クラス継承

QQuickTextEdit → QQuickImplicitSizeItem (internal) → QQuickItemQObject

プロパティー

activeFocusOnPress: bool = true
baseUrl: url = 現在ファイル
bottomPadding: real = 0
canPaste: bool = true readonly
canUndo: bool = false readonly
canRedo: bool = false readonly
color: color = #ff000000
contentHeight: real = プラットフォームデフォルト readonly
contentWidth: real = 0 readonly
cursorDelegate: Component = null
cursorPosition: int = 0
cursorRectangle: rect = Qt.rect(0, 0, 1, プラットフォームデフォルト) readonly
cursorVisible: bool = false
effectiveHorizontalAlignment: HAlignment = TextEdit.AlignLeft readonly
font: font = プラットフォームデフォルト
horizontalAlignment: HAlignment = TextEdit.AlignLeft
hoveredLink: string = "" readonly
inputMethodComposing: bool = false readonly
inputMethodHints: Qt::InputMethodHints = 0
leftPadding: real = 0
length: int = 0 readonly
lineCount: int = 1 readonly
mouseSelectionMode: SelectionMode = TextEdit.SelectCharacters
overwriteMode: bool = false
padding: real = 0
paintedWidth: real = 0 readonly
paintedHeight: real = プラットフォームデフォルト readonly
persistentSelection: bool = false
preeditText: string = "" readonly
readOnly: bool = false
renderType: RenderType = TextEdit.QtRendering
rightPadding: real = 0
selectByKeyboard: bool = true
selectByMouse: bool = false
selectedText: string = "" readonly
selectedTextColor: color = #ffffffff
selectionColor: color = #ff000080
selectionEnd: int = 0 readonly
selectionStart: int = 0 readonly
tabStopDistance: real = 80
text: string = ""
textDocument: QQuickTextDocument* = QQuickTextDocument(this) readonly final
textFormat: TextFormat = TextEdit.PlainText
textMargin: real = 0
topPadding: real = 0
verticalAlignment: VAlignment = TextEdit.AlignTop
wrapMode: WrapMode = TextEdit.NoWrap

implicitWidth: real = 0 readonly inherited override
implicitHeight: real = プラットフォームデフォルト readonly inherited override

シグナル

editingFinished()
linkActivated(string link)
linkHovered(string link)
activeFocusOnPressChanged(bool activeFocusOnPressed)
baseUrlChanged()
bottomPaddingChanged()
canPasteChanged()
canRedoChanged()
canUndoChanged()
colorChanged(color color)
contentSizeChanged()
cursorDelegateChanged()
cursorPositionChanged()
cursorRectangleChanged()
cursorVisibleChanged(bool isCursorVisible)
effectiveHorizontalAlignmentChanged()
fontChanged(font font)
horizontalAlignmentChanged(TextEdit::HAlignment alignment)
inputMethodComposingChanged()
inputMethodHintsChanged()
leftPaddingChanged()
lineCountChanged()
mouseSelectionModeChanged(TextEdit::SelectionMode mode)
overwriteModeChanged(bool overwriteMode)
paddingChanged()
persistentSelectionChanged(bool isPersistentSelection)
preeditTextChanged()
readOnlyChanged(bool isReadOnly)
renderTypeChanged()
rightPaddingChanged()
selectByKeyboardChanged(bool selectByKeyboard)
selectByMouseChanged(bool selectByMouse)
selectedTextChanged()
selectedTextColorChanged(color color)
selectionColorChanged(color color)
selectionEndChanged()
selectionStartChanged()
tabStopDistanceChanged(real distance)
textChanged()
textFormatChanged(TextEdit::TextFormat textFormat)
textMarginChanged(real textMargin)
topPaddingChanged()
verticalAlignmentChanged(TextEdit::VAlignment alignment)
wrapModeChanged()

メソッド

string getText(int start, int end)
string getFormattedText(int start, int end)
QVariant inputMethodQuery(Qt::InputMethodQuery query, QVariant argument)
string linkAt(real x, real y)
void moveCursorSelection(int pos, SelectionMode mode = TextEdit.SelectCharacters)
rect positionToRectangle(int)
int positionAt(real x, real y)

スロット

void append(string text)
void clear()
void copy()
void cut()
void deselect()
void insert(int position, string text)
bool isRightToLeft(int start, int end)
void paste()
void redo()
void remove(int start, int end)
void select(int start, int end)
void selectAll()
void selectWord()
void undo()

列挙

HAlignment
    AlignLeft
    AlignRight
    AlignHCenter
    AlignJustify
VAlignment
    AlignTop
    AlignBottom
    AlignVCenter
TextFormat
    PlainText
    RichText
    AutoText
WrapMode
    NoWrap
    WordWrap
    WrapAnywhere
    WrapAtWordBoundaryOrAnywhere
    Wrap
SelectionMode
    SelectCharacters
    SelectWords
RenderType
    QtRendering
    NativeRendering

説明


プロパティーの説明

activeFocusOnPress: bool

baseUrl: url

bottomPadding: real

canPaste: bool

canUndo: bool

canRedo: bool

color: color

contentHeight: real

contentWidth: real

cursorDelegate: Component

cursorPosition: int

cursorRectangle: rect

cursorVisible: bool

effectiveHorizontalAlignment: HAlignment

font: font

font を参照。

horizontalAlignment: HAlignment

hoveredLink: string

inputMethodComposing: bool

inputMethodHints: Qt::InputMethodHints

leftPadding: real

length: int

lineCount: int

mouseSelectionMode: SelectionMode

overwriteMode: bool

padding: real

paintedWidth: real

paintedHeight: real

persistentSelection: bool

preeditText: string

readOnly: bool

renderType: RenderType

rightPadding: real

selectByKeyboard: bool

selectByMouse: bool

selectedText: string

selectedTextColor: color

selectionColor: color

selectionEnd: int

selectionStart: int

tabStopDistance: real

text: string

textDocument: QQuickTextDocument*

textFormat: TextFormat

textMargin: real

topPadding: real

verticalAlignment: VAlignment

wrapMode: WrapMode

シグナルの説明

editingFinished()

linkActivated(string link)

linkHovered(string link)

メソッドの説明

string getText(int start, int end)

string getFormattedText(int start, int end)

QVariant inputMethodQuery(Qt::InputMethodQuery query, QVariant argument)

string linkAt(real x, real y)

void moveCursorSelection(int pos, SelectionMode mode = TextEdit.SelectCharacters)

rect positionToRectangle(int)

int positionAt(real x, real y)

スロットの説明

void append(string text)

void clear()

void copy()

void cut()

void deselect()

void insert(int position, string text)

bool isRightToLeft(int start, int end)

void paste()

void redo()

void remove(int start, int end)

void select(int start, int end)

void selectAll()

void selectWord()

void undo()

参考情報