资源描述:
《强大的qtextedit功能》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、QTextEdit窗口部件提供了强大的单页面的多信息文本编辑器。详情请见……#include继承了QScrollView。被QMultiLineEdit、QTextBrowser和QTextView继承。所有成员函数的列表。公有成员·enumWordWrap{NoWrap,WidgetWidth,FixedPixelWidth,FixedColumnWidth}·enumWrapPolicy{AtWordBoundary,Anywhere,AtWhiteSpace=AtWordBoundary}·enumKeyboardAction{ActionBackspace,A
2、ctionDelete,ActionReturn,ActionKill}·enumCursorAction{MoveBackward,MoveForward,MoveWordBackward,MoveWordForward,MoveUp,MoveDown,MoveLineStart,MoveLineEnd,MoveHome,MoveEnd,MovePgUp,MovePgDown}·enumVerticalAlignment{AlignNormal,AlignSuperScript,AlignSubScript}·QTextEdit(const QString & text,const QStr
3、ing & context=QString::null,QWidget * parent=0,const char * name=0)·QTextEdit(QWidget * parent=0,const char * name=0)·QStringtext()const·QStringtext(int para)const·TextFormattextFormat()const·QStringcontext()const·QStringdocumentTitle()const·voidgetSelection(int * paraFrom,int * indexFrom,int * para
4、To,int * indexTo,int selNum=0)const·virtualboolfind(const QString & expr,bool cs,bool wo,bool forward=TRUE,int * para=0,int * index=0)·intparagraphs()const·intlines()const·intlinesOfParagraph(int para)const·intlineOfChar(int para,int index)·intlength()const·QRectparagraphRect(int para)const·intparag
5、raphAt(const QPoint & pos)const·intcharAt(const QPoint & pos,int * para)const·intparagraphLength(int para)const·QStyleSheet*styleSheet()const·QMimeSourceFactory*mimeSourceFactory()const·QBrushpaper()const·boollinkUnderline()const·virtualintheightForWidth(int w)const·boolhasSelectedText()const·QStrin
6、gselectedText()const·boolisUndoAvailable()const·boolisRedoAvailable()const·WordWrapwordWrap()const·intwrapColumnOrWidth()const·WrapPolicywrapPolicy()const·inttabStopWidth()const·QStringanchorAt(const QPoint & pos)·boolisReadOnly()const·voidgetCursorPosition(int * para,int * index)const·boolisModifie
7、d()const·boolitalic()const·boolbold()const·boolunderline()const·QStringfamily()const·intpointSize()const·QColorcolor()const·QFontfont()const·intalignment()const·intundoDepth()const·boolisOverwriteMode