kdk::KTextEdit(3)

NAME
kdk::KTextEdit - 继承QTextEdit

SYNOPSIS

#include <ktextedit.h>

Inherits QTextEdit.

  Public Member Functions
KTextEdit (QWidget *parent=nullptr)
void setLabelVisible (bool flag)
设置label是否可见
void setPixmap (const QPixmap &pixmap)
设置图标
const QPixmap * pixmap () const
获取图标
void setLabelText (const QString &text)
设置label文本
void setReadOnly (bool ro)
设置是否可编辑状态

  Protected Member Functions
void paintEvent (QPaintEvent *event)

Detailed Description

继承QTextEdit

Since
    2.4.1.0

Member Function Documentation

  const QPixmap * kdk::KTextEdit::pixmap () const

获取图标

Returns

  void kdk::KTextEdit::setLabelText (const QString & text)

设置label文本

Parameters
    text

  void kdk::KTextEdit::setLabelVisible (bool flag)

设置label是否可见

Parameters
    flag

  void kdk::KTextEdit::setPixmap (const QPixmap & pixmap)

设置图标

Parameters
    pixmap

  void kdk::KTextEdit::setReadOnly (bool ro)

设置是否可编辑状态

Parameters
    ro

Author

Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code.