Definition at line 69 of file qplaintextedit.h.
|
| | QPlainTextEdit (QWidget *parent=0) |
| |
| | QPlainTextEdit (const QString &text, QWidget *parent=0) |
| |
| virtual | ~QPlainTextEdit () |
| |
| void | setDocument (QTextDocument *document) |
| |
| QTextDocument * | document () const |
| |
| void | setTextCursor (const QTextCursor &cursor) |
| |
| QTextCursor | textCursor () const |
| |
| bool | isReadOnly () const |
| |
| void | setReadOnly (bool ro) |
| |
| void | setTextInteractionFlags (Qt::TextInteractionFlags flags) |
| |
| Qt::TextInteractionFlags | textInteractionFlags () const |
| |
| void | mergeCurrentCharFormat (const QTextCharFormat &modifier) |
| |
| void | setCurrentCharFormat (const QTextCharFormat &format) |
| |
| QTextCharFormat | currentCharFormat () const |
| |
| bool | tabChangesFocus () const |
| |
| void | setTabChangesFocus (bool b) |
| |
| void | setDocumentTitle (const QString &title) |
| |
| QString | documentTitle () const |
| |
| bool | isUndoRedoEnabled () const |
| |
| void | setUndoRedoEnabled (bool enable) |
| |
| void | setMaximumBlockCount (int maximum) |
| |
| int | maximumBlockCount () const |
| |
| LineWrapMode | lineWrapMode () const |
| |
| void | setLineWrapMode (LineWrapMode mode) |
| |
| QTextOption::WrapMode | wordWrapMode () const |
| |
| void | setWordWrapMode (QTextOption::WrapMode policy) |
| |
| void | setBackgroundVisible (bool visible) |
| |
| bool | backgroundVisible () const |
| |
| void | setCenterOnScroll (bool enabled) |
| |
| bool | centerOnScroll () const |
| |
| bool | find (const QString &exp, QTextDocument::FindFlags options=0) |
| |
| QString | toPlainText () const |
| |
| void | ensureCursorVisible () |
| |
| virtual QVariant | loadResource (int type, const QUrl &name) |
| |
| QMenu * | createStandardContextMenu () |
| |
| QTextCursor | cursorForPosition (const QPoint &pos) const |
| |
| QRect | cursorRect (const QTextCursor &cursor) const |
| |
| QRect | cursorRect () const |
| |
| QString | anchorAt (const QPoint &pos) const |
| |
| bool | overwriteMode () const |
| |
| void | setOverwriteMode (bool overwrite) |
| |
| int | tabStopWidth () const |
| |
| void | setTabStopWidth (int width) |
| |
| int | cursorWidth () const |
| |
| void | setCursorWidth (int width) |
| |
| void | setExtraSelections (const QList< QTextEdit::ExtraSelection > &selections) |
| |
| QList< QTextEdit::ExtraSelection > | extraSelections () const |
| |
| void | moveCursor (QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode=QTextCursor::MoveAnchor) |
| |
| bool | canPaste () const |
| |
| void | print (QPrinter *printer) const |
| |
| int | blockCount () const |
| |
| | QAbstractScrollArea (QWidget *parent=0) |
| |
| | ~QAbstractScrollArea () |
| |
| Qt::ScrollBarPolicy | verticalScrollBarPolicy () const |
| |
| void | setVerticalScrollBarPolicy (Qt::ScrollBarPolicy) |
| |
| QScrollBar * | verticalScrollBar () const |
| |
| void | setVerticalScrollBar (QScrollBar *scrollbar) |
| |
| Qt::ScrollBarPolicy | horizontalScrollBarPolicy () const |
| |
| void | setHorizontalScrollBarPolicy (Qt::ScrollBarPolicy) |
| |
| QScrollBar * | horizontalScrollBar () const |
| |
| void | setHorizontalScrollBar (QScrollBar *scrollbar) |
| |
| QWidget * | cornerWidget () const |
| |
| void | setCornerWidget (QWidget *widget) |
| |
| void | addScrollBarWidget (QWidget *widget, Qt::Alignment alignment) |
| |
| QWidgetList | scrollBarWidgets (Qt::Alignment alignment) |
| |
| QWidget * | viewport () const |
| |
| void | setViewport (QWidget *widget) |
| |
| QSize | maximumViewportSize () const |
| |
| QSize | minimumSizeHint () const |
| |
| QSize | sizeHint () const |
| |
| | QFrame (QWidget *parent=0, Qt::WindowFlags f=0) |
| |
| | ~QFrame () |
| |
| int | frameStyle () const |
| |
| void | setFrameStyle (int) |
| |
| int | frameWidth () const |
| |
| QSize | sizeHint () const |
| |
| Shape | frameShape () const |
| |
| void | setFrameShape (Shape) |
| |
| Shadow | frameShadow () const |
| |
| void | setFrameShadow (Shadow) |
| |
| int | lineWidth () const |
| |
| void | setLineWidth (int) |
| |
| int | midLineWidth () const |
| |
| void | setMidLineWidth (int) |
| |
| QRect | frameRect () const |
| |
| void | setFrameRect (const QRect &) |
| |
| | QWidget (QWidget *parent=0, Qt::WindowFlags f=0) |
| |
| | ~QWidget () |
| |
| int | devType () const |
| |
| WId | winId () const |
| |
| void | createWinId () |
| |
| WId | internalWinId () const |
| |
| WId | effectiveWinId () const |
| |
| QStyle * | style () const |
| |
| void | setStyle (QStyle *) |
| |
| bool | isTopLevel () const |
| |
| bool | isWindow () const |
| |
| bool | isModal () const |
| |
| Qt::WindowModality | windowModality () const |
| |
| void | setWindowModality (Qt::WindowModality windowModality) |
| |
| bool | isEnabled () const |
| |
| bool | isEnabledTo (QWidget *) const |
| |
| bool | isEnabledToTLW () const |
| |
| QRect | frameGeometry () const |
| |
| const QRect & | geometry () const |
| |
| QRect | normalGeometry () const |
| |
| int | x () const |
| |
| int | y () const |
| |
| QPoint | pos () const |
| |
| QSize | frameSize () const |
| |
| QSize | size () const |
| |
| int | width () const |
| |
| int | height () const |
| |
| QRect | rect () const |
| |
| QRect | childrenRect () const |
| |
| QRegion | childrenRegion () const |
| |
| QSize | minimumSize () const |
| |
| QSize | maximumSize () const |
| |
| int | minimumWidth () const |
| |
| int | minimumHeight () const |
| |
| int | maximumWidth () const |
| |
| int | maximumHeight () const |
| |
| void | setMinimumSize (const QSize &) |
| |
| void | setMinimumSize (int minw, int minh) |
| |
| void | setMaximumSize (const QSize &) |
| |
| void | setMaximumSize (int maxw, int maxh) |
| |
| void | setMinimumWidth (int minw) |
| |
| void | setMinimumHeight (int minh) |
| |
| void | setMaximumWidth (int maxw) |
| |
| void | setMaximumHeight (int maxh) |
| |
| QSize | sizeIncrement () const |
| |
| void | setSizeIncrement (const QSize &) |
| |
| void | setSizeIncrement (int w, int h) |
| |
| QSize | baseSize () const |
| |
| void | setBaseSize (const QSize &) |
| |
| void | setBaseSize (int basew, int baseh) |
| |
| void | setFixedSize (const QSize &) |
| |
| void | setFixedSize (int w, int h) |
| |
| void | setFixedWidth (int w) |
| |
| void | setFixedHeight (int h) |
| |
| QPoint | mapToGlobal (const QPoint &) const |
| |
| QPoint | mapFromGlobal (const QPoint &) const |
| |
| QPoint | mapToParent (const QPoint &) const |
| |
| QPoint | mapFromParent (const QPoint &) const |
| |
| QPoint | mapTo (QWidget *, const QPoint &) const |
| |
| QPoint | mapFrom (QWidget *, const QPoint &) const |
| |
| QWidget * | window () const |
| |
| QWidget * | nativeParentWidget () const |
| |
| QWidget * | topLevelWidget () const |
| |
| const QPalette & | palette () const |
| |
| void | setPalette (const QPalette &) |
| |
| void | setBackgroundRole (QPalette::ColorRole) |
| |
| QPalette::ColorRole | backgroundRole () const |
| |
| void | setForegroundRole (QPalette::ColorRole) |
| |
| QPalette::ColorRole | foregroundRole () const |
| |
| const QFont & | font () const |
| |
| void | setFont (const QFont &) |
| |
| QFontMetrics | fontMetrics () const |
| |
| QFontInfo | fontInfo () const |
| |
| QCursor | cursor () const |
| |
| void | setCursor (const QCursor &) |
| |
| void | unsetCursor () |
| |
| void | setMouseTracking (bool enable) |
| |
| bool | hasMouseTracking () const |
| |
| bool | underMouse () const |
| |
| void | setMask (const QBitmap &) |
| |
| void | setMask (const QRegion &) |
| |
| QRegion | mask () const |
| |
| void | clearMask () |
| |
| void | render (QPaintDevice *target, const QPoint &targetOffset=QPoint(), const QRegion &sourceRegion=QRegion(), RenderFlags renderFlags=RenderFlags(DrawWindowBackground|DrawChildren)) |
| |
| void | render (QPainter *painter, const QPoint &targetOffset=QPoint(), const QRegion &sourceRegion=QRegion(), RenderFlags renderFlags=RenderFlags(DrawWindowBackground|DrawChildren)) |
| |
| QGraphicsEffect * | graphicsEffect () const |
| |
| void | setGraphicsEffect (QGraphicsEffect *effect) |
| |
| void | grabGesture (Qt::GestureType type, Qt::GestureFlags flags=Qt::GestureFlags()) |
| |
| void | ungrabGesture (Qt::GestureType type) |
| |
| QString | styleSheet () const |
| |
| QString | windowTitle () const |
| |
| void | setWindowIcon (const QIcon &icon) |
| |
| QIcon | windowIcon () const |
| |
| void | setWindowIconText (const QString &) |
| |
| QString | windowIconText () const |
| |
| void | setWindowRole (const QString &) |
| |
| QString | windowRole () const |
| |
| void | setWindowFilePath (const QString &filePath) |
| |
| QString | windowFilePath () const |
| |
| void | setWindowOpacity (qreal level) |
| |
| qreal | windowOpacity () const |
| |
| bool | isWindowModified () const |
| |
| void | setToolTip (const QString &) |
| |
| QString | toolTip () const |
| |
| void | setStatusTip (const QString &) |
| |
| QString | statusTip () const |
| |
| void | setWhatsThis (const QString &) |
| |
| QString | whatsThis () const |
| |
| QString | accessibleName () const |
| |
| void | setAccessibleName (const QString &name) |
| |
| QString | accessibleDescription () const |
| |
| void | setAccessibleDescription (const QString &description) |
| |
| void | setLayoutDirection (Qt::LayoutDirection direction) |
| |
| Qt::LayoutDirection | layoutDirection () const |
| |
| void | unsetLayoutDirection () |
| |
| void | setLocale (const QLocale &locale) |
| |
| QLocale | locale () const |
| |
| void | unsetLocale () |
| |
| bool | isRightToLeft () const |
| |
| bool | isLeftToRight () const |
| |
| bool | isActiveWindow () const |
| |
| void | activateWindow () |
| |
| void | clearFocus () |
| |
| void | setFocus (Qt::FocusReason reason) |
| |
| Qt::FocusPolicy | focusPolicy () const |
| |
| void | setFocusPolicy (Qt::FocusPolicy policy) |
| |
| bool | hasFocus () const |
| |
| void | setFocusProxy (QWidget *) |
| |
| QWidget * | focusProxy () const |
| |
| Qt::ContextMenuPolicy | contextMenuPolicy () const |
| |
| void | setContextMenuPolicy (Qt::ContextMenuPolicy policy) |
| |
| void | grabMouse () |
| |
| void | grabMouse (const QCursor &) |
| |
| void | releaseMouse () |
| |
| void | grabKeyboard () |
| |
| void | releaseKeyboard () |
| |
| int | grabShortcut (const QKeySequence &key, Qt::ShortcutContext context=Qt::WindowShortcut) |
| |
| void | releaseShortcut (int id) |
| |
| void | setShortcutEnabled (int id, bool enable=true) |
| |
| void | setShortcutAutoRepeat (int id, bool enable=true) |
| |
| bool | updatesEnabled () const |
| |
| void | setUpdatesEnabled (bool enable) |
| |
| QGraphicsProxyWidget * | graphicsProxyWidget () const |
| |
| void | update (int x, int y, int w, int h) |
| |
| void | update (const QRect &) |
| |
| void | update (const QRegion &) |
| |
| void | repaint (int x, int y, int w, int h) |
| |
| void | repaint (const QRect &) |
| |
| void | repaint (const QRegion &) |
| |
| void | stackUnder (QWidget *) |
| |
| void | move (int x, int y) |
| |
| void | move (const QPoint &) |
| |
| void | resize (int w, int h) |
| |
| void | resize (const QSize &) |
| |
| void | setGeometry (int x, int y, int w, int h) |
| |
| void | setGeometry (const QRect &) |
| |
| QByteArray | saveGeometry () const |
| |
| bool | restoreGeometry (const QByteArray &geometry) |
| |
| void | adjustSize () |
| |
| bool | isVisible () const |
| |
| bool | isVisibleTo (QWidget *) const |
| |
| bool | isHidden () const |
| |
| bool | isMinimized () const |
| |
| bool | isMaximized () const |
| |
| bool | isFullScreen () const |
| |
| Qt::WindowStates | windowState () const |
| |
| void | setWindowState (Qt::WindowStates state) |
| |
| void | overrideWindowState (Qt::WindowStates state) |
| |
| QSizePolicy | sizePolicy () const |
| |
| void | setSizePolicy (QSizePolicy) |
| |
| void | setSizePolicy (QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical) |
| |
| virtual int | heightForWidth (int) const |
| |
| QRegion | visibleRegion () const |
| |
| void | setContentsMargins (int left, int top, int right, int bottom) |
| |
| void | setContentsMargins (const QMargins &margins) |
| |
| void | getContentsMargins (int *left, int *top, int *right, int *bottom) const |
| |
| QMargins | contentsMargins () const |
| |
| QRect | contentsRect () const |
| |
| QLayout * | layout () const |
| |
| void | setLayout (QLayout *) |
| |
| void | updateGeometry () |
| |
| void | setParent (QWidget *parent) |
| |
| void | setParent (QWidget *parent, Qt::WindowFlags f) |
| |
| void | scroll (int dx, int dy) |
| |
| void | scroll (int dx, int dy, const QRect &) |
| |
| QWidget * | focusWidget () const |
| |
| QWidget * | nextInFocusChain () const |
| |
| QWidget * | previousInFocusChain () const |
| |
| bool | acceptDrops () const |
| |
| void | setAcceptDrops (bool on) |
| |
| void | addAction (QAction *action) |
| |
| void | addActions (QList< QAction * > actions) |
| |
| void | insertAction (QAction *before, QAction *action) |
| |
| void | insertActions (QAction *before, QList< QAction * > actions) |
| |
| void | removeAction (QAction *action) |
| |
| QList< QAction * > | actions () const |
| |
| QWidget * | parentWidget () const |
| |
| void | setWindowFlags (Qt::WindowFlags type) |
| |
| Qt::WindowFlags | windowFlags () const |
| |
| void | overrideWindowFlags (Qt::WindowFlags type) |
| |
| Qt::WindowType | windowType () const |
| |
| QWidget * | childAt (int x, int y) const |
| |
| QWidget * | childAt (const QPoint &p) const |
| |
| const QX11Info & | x11Info () const |
| |
| Qt::HANDLE | x11PictureHandle () const |
| |
| Qt::HANDLE | handle () const |
| |
| void | setAttribute (Qt::WidgetAttribute, bool on=true) |
| |
| bool | testAttribute (Qt::WidgetAttribute) const |
| |
| QPaintEngine * | paintEngine () const |
| |
| void | ensurePolished () const |
| |
| QInputContext * | inputContext () |
| |
| void | setInputContext (QInputContext *) |
| |
| bool | isAncestorOf (const QWidget *child) const |
| |
| bool | autoFillBackground () const |
| |
| void | setAutoFillBackground (bool enabled) |
| |
| void | setWindowSurface (QWindowSurface *surface) |
| |
| QWindowSurface * | windowSurface () const |
| |
| Qt::InputMethodHints | inputMethodHints () const |
| |
| void | setInputMethodHints (Qt::InputMethodHints hints) |
| |
| Q_INVOKABLE | QObject (QObject *parent=0) |
| |
| virtual | ~QObject () |
| |
| virtual bool | eventFilter (QObject *, QEvent *) |
| |
| QString | objectName () const |
| |
| void | setObjectName (const QString &name) |
| |
| bool | isWidgetType () const |
| |
| bool | signalsBlocked () const |
| |
| bool | blockSignals (bool b) |
| |
| QThread * | thread () const |
| |
| void | moveToThread (QThread *thread) |
| |
| int | startTimer (int interval) |
| |
| void | killTimer (int id) |
| |
| template<typename T > |
| T | findChild (const QString &aName=QString()) const |
| |
| template<typename T > |
| QList< T > | findChildren (const QString &aName=QString()) const |
| |
| template<typename T > |
| QList< T > | findChildren (const QRegExp &re) const |
| |
| const QObjectList & | children () const |
| |
| void | setParent (QObject *) |
| |
| void | installEventFilter (QObject *) |
| |
| void | removeEventFilter (QObject *) |
| |
| bool | connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const |
| |
| bool | disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0) |
| |
| bool | disconnect (const QObject *receiver, const char *member=0) |
| |
| void | dumpObjectTree () |
| |
| void | dumpObjectInfo () |
| |
| bool | setProperty (const char *name, const QVariant &value) |
| |
| QVariant | property (const char *name) const |
| |
| QList< QByteArray > | dynamicPropertyNames () const |
| |
| void | setUserData (uint id, QObjectUserData *data) |
| |
| QObjectUserData * | userData (uint id) const |
| |
| QObject * | parent () const |
| |
| bool | inherits (const char *classname) const |
| |
| virtual | ~QPaintDevice () |
| |
| bool | paintingActive () const |
| |
| int | width () const |
| |
| int | height () const |
| |
| int | widthMM () const |
| |
| int | heightMM () const |
| |
| int | logicalDpiX () const |
| |
| int | logicalDpiY () const |
| |
| int | physicalDpiX () const |
| |
| int | physicalDpiY () const |
| |
| int | colorCount () const |
| |
| int | depth () const |
| |
|
| virtual bool | event (QEvent *e) |
| |
| virtual void | timerEvent (QTimerEvent *e) |
| |
| virtual void | keyPressEvent (QKeyEvent *e) |
| |
| virtual void | keyReleaseEvent (QKeyEvent *e) |
| |
| virtual void | resizeEvent (QResizeEvent *e) |
| |
| virtual void | paintEvent (QPaintEvent *e) |
| |
| virtual void | mousePressEvent (QMouseEvent *e) |
| |
| virtual void | mouseMoveEvent (QMouseEvent *e) |
| |
| virtual void | mouseReleaseEvent (QMouseEvent *e) |
| |
| virtual void | mouseDoubleClickEvent (QMouseEvent *e) |
| |
| virtual bool | focusNextPrevChild (bool next) |
| |
| virtual void | contextMenuEvent (QContextMenuEvent *e) |
| |
| virtual void | dragEnterEvent (QDragEnterEvent *e) |
| |
| virtual void | dragLeaveEvent (QDragLeaveEvent *e) |
| |
| virtual void | dragMoveEvent (QDragMoveEvent *e) |
| |
| virtual void | dropEvent (QDropEvent *e) |
| |
| virtual void | focusInEvent (QFocusEvent *e) |
| |
| virtual void | focusOutEvent (QFocusEvent *e) |
| |
| virtual void | showEvent (QShowEvent *) |
| |
| virtual void | changeEvent (QEvent *e) |
| |
| virtual void | wheelEvent (QWheelEvent *e) |
| |
| virtual QMimeData * | createMimeDataFromSelection () const |
| |
| virtual bool | canInsertFromMimeData (const QMimeData *source) const |
| |
| virtual void | insertFromMimeData (const QMimeData *source) |
| |
| virtual void | inputMethodEvent (QInputMethodEvent *) |
| |
| QVariant | inputMethodQuery (Qt::InputMethodQuery property) const |
| |
| | QPlainTextEdit (QPlainTextEditPrivate &dd, QWidget *parent) |
| |
| virtual void | scrollContentsBy (int dx, int dy) |
| |
| QTextBlock | firstVisibleBlock () const |
| |
| QPointF | contentOffset () const |
| |
| QRectF | blockBoundingRect (const QTextBlock &block) const |
| |
| QRectF | blockBoundingGeometry (const QTextBlock &block) const |
| |
| QAbstractTextDocumentLayout::PaintContext | getPaintContext () const |
| |
| | QAbstractScrollArea (QAbstractScrollAreaPrivate &dd, QWidget *parent=0) |
| |
| void | setViewportMargins (int left, int top, int right, int bottom) |
| |
| void | setViewportMargins (const QMargins &margins) |
| |
| virtual bool | viewportEvent (QEvent *) |
| |
| void | drawFrame (QPainter *) |
| |
| | QFrame (QFramePrivate &dd, QWidget *parent=0, Qt::WindowFlags f=0) |
| |
| bool | event (QEvent *) |
| |
| virtual void | enterEvent (QEvent *) |
| |
| virtual void | leaveEvent (QEvent *) |
| |
| virtual void | moveEvent (QMoveEvent *) |
| |
| virtual void | closeEvent (QCloseEvent *) |
| |
| virtual void | tabletEvent (QTabletEvent *) |
| |
| virtual void | actionEvent (QActionEvent *) |
| |
| virtual void | hideEvent (QHideEvent *) |
| |
| virtual bool | x11Event (XEvent *) |
| |
| int | metric (PaintDeviceMetric) const |
| |
| void | resetInputContext () |
| |
| void | create (WId=0, bool initializeWindow=true, bool destroyOldWindow=true) |
| |
| void | destroy (bool destroyWindow=true, bool destroySubWindows=true) |
| |
| bool | focusNextChild () |
| |
| bool | focusPreviousChild () |
| |
| | QWidget (QWidgetPrivate &d, QWidget *parent, Qt::WindowFlags f) |
| |
| virtual void | styleChange (QStyle &) |
| |
| virtual void | enabledChange (bool) |
| |
| virtual void | paletteChange (const QPalette &) |
| |
| virtual void | fontChange (const QFont &) |
| |
| virtual void | windowActivationChange (bool) |
| |
| virtual void | languageChange () |
| |
| QObject * | sender () const |
| |
| int | senderSignalIndex () const |
| |
| int | receivers (const char *signal) const |
| |
| virtual void | childEvent (QChildEvent *) |
| |
| virtual void | customEvent (QEvent *) |
| |
| virtual void | connectNotify (const char *signal) |
| |
| virtual void | disconnectNotify (const char *signal) |
| |
| | QObject (QObjectPrivate &dd, QObject *parent=0) |
| |
| | QPaintDevice () |
| |