亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? qlineedit.3qt

?? Trolltech公司發布的基于C++圖形開發環境
?? 3QT
?? 第 1 頁 / 共 3 頁
字號:
.br.ti -1c.BI "QString \fBinputMask\fR - the validation input mask".br.ti -1c.BI "QString markedText - the text selected by the user. Use selectedText instead  \fI(read " "only" ")\fR  \fI(obsolete)\fR".br.ti -1c.BI "int \fBmaxLength\fR - the maximum permitted length of the text".br.ti -1c.BI "bool \fBmodified\fR - whether the line edit's contents has been modified by the user  \fI(read " "only" ")\fR".br.ti -1c.BI "bool \fBreadOnly\fR - whether the line edit is read only".br.ti -1c.BI "bool \fBredoAvailable\fR - whether redo is available  \fI(read " "only" ")\fR".br.ti -1c.BI "QString \fBselectedText\fR - the selected text  \fI(read " "only" ")\fR".br.ti -1c.BI "QString \fBtext\fR - the line edit's text".br.ti -1c.BI "bool \fBundoAvailable\fR - whether undo is available  \fI(read " "only" ")\fR".br.in -1c.SS "Protected Members".in +1c.ti -1c.BI "virtual void \fBkeyPressEvent\fR ( QKeyEvent * e )".br.ti -1c.BI "virtual QPopupMenu * \fBcreatePopupMenu\fR ()".br.ti -1c.BI "void repaintArea ( int from, int to )  \fI(obsolete)\fR".br.in -1c.SH DESCRIPTIONThe QLineEdit widget is a one-line text editor..PPA line edit allows the user to enter and edit a single line of plain text with a useful collection of editing functions, including undo and redo, cut and paste, and drag and drop..PPBy changing the echoMode() of a line edit, it can also be used as a "write-only" field, for inputs such as passwords..PPThe length of the text can be constrained to maxLength(). The text can be arbitrarily constrained using a validator() or an inputMask(), or both..PPA related class is QTextEdit which allows multi-line, rich-text editing..PPYou can change the text with setText() or insert(). The text is retrieved with text(); the displayed text (which may be different, see EchoMode) is retrieved with displayText(). Text can be selected with setSelection() or selectAll(), and the selection can be cut(), copy()ied and paste()d. The text can be aligned with setAlignment()..PPWhen the text changes the textChanged() signal is emitted; when the Return or Enter key is pressed the returnPressed() signal is emitted. Note that if there is a validator set on the line edit, the returnPressed() signal will only be emitted if the validator returns \fCAcceptable\fR..PPBy default, QLineEdits have a frame as specified by the Windows and Motif style guides; you can turn it off by calling setFrame(FALSE)..PPThe default key bindings are described below. The line edit also provides a context menu (usually invoked by a right mouse click) that presents some of these editing options. <center>.nf.TSl - l. Keypress Action Left Arrow Moves the cursor one character to the left. Shift+Left Arrow Moves and selects text one character to the left. Right Arrow Moves the cursor one character to the right. Shift+Right Arrow Moves and selects text one character to the right. Home Moves the cursor to the beginning of the line. End Moves the cursor to the end of the line. Backspace Deletes the character to the left of the cursor. Ctrl+Backspace Deletes the word to the left of the cursor. Delete Deletes the character to the right of the cursor. Ctrl+Delete Deletes the word to the right of the cursor. Ctrl+A Moves the cursor to the beginning of the line. Ctrl+B Moves the cursor one character to the left. Ctrl+C Copies the selected text to the clipboard. (Windows also supports Ctrl+Insert for this operation.) Ctrl+D Deletes the character to the right of the cursor. Ctrl+E Moves the cursor to the end of the line. Ctrl+F Moves the cursor one character to the right. Ctrl+H Deletes the character to the left of the cursor. Ctrl+K Deletes to the end of the line. Ctrl+V Pastes the clipboard text into line edit. (Windows also supports Shift+Insert for this operation.) Ctrl+X Deletes the selected text and copies it to the clipboard. (Windows also supports Shift+Delete for this operation.) Ctrl+Z Undoes the last operation. Ctrl+Y.TE.fi</center>.PPAny other key sequence that represents a valid character, will cause the character to be inserted into the line edit..PP.ce 1.B "[Image Omitted]".PP.ce 1.B "[Image Omitted]".PPSee also QTextEdit, QLabel, QComboBox, GUI Design Handbook: Field, Entry, and Basic Widgets..SS "Member Type Documentation".SH "QLineEdit::EchoMode"This enum type describes how a line edit should display its contents..TP\fCQLineEdit::Normal\fR - Display characters as they are entered. This is the default..TP\fCQLineEdit::NoEcho\fR - Do not display anything. This may be appropriate for passwords where even the length of the password should be kept secret..TP\fCQLineEdit::Password\fR - Display asterisks instead of the characters actually entered..PPSee also echoMode and echoMode..SH MEMBER FUNCTION DOCUMENTATION.SH "QLineEdit::QLineEdit ( QWidget * parent, const char * name = 0 )"Constructs a line edit with no text..PPThe maximum text length is set to 32767 characters..PPThe \fIparent\fR and \fIname\fR arguments are sent to the QWidget constructor..PPSee also text and maxLength..SH "QLineEdit::QLineEdit ( const QString & contents, QWidget * parent, const char * name = 0 )"Constructs a line edit containing the text \fIcontents\fR..PPThe cursor position is set to the end of the line and the maximum text length to 32767 characters..PPThe \fIparent\fR and \fIname\fR arguments are sent to the QWidget constructor..PPSee also text and maxLength..SH "QLineEdit::QLineEdit ( const QString & contents, const QString & inputMask, QWidget * parent, const char * name = 0 )"Constructs a line edit with an input \fIinputMask\fR and the text \fIcontents\fR..PPThe cursor position is set to the end of the line and the maximum text length is set to the length of the mask (the number of mask characters and separators)..PPThe \fIparent\fR and \fIname\fR arguments are sent to the QWidget constructor..PPSee also setMask() and text..SH "QLineEdit::~QLineEdit ()"Destroys the line edit..SH "int QLineEdit::alignment () const"Returns the alignment of the line edit. See the "alignment" property for details..SH "void QLineEdit::backspace ()"If no text is selected, deletes the character to the left of the text cursor and moves the cursor one position to the left. If any text is selected, the cursor is moved to the beginning of the selected text and the selected text is deleted..PPSee also del()..SH "int QLineEdit::characterAt ( int xpos, QChar * chr ) const"\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code..SH "void QLineEdit::clear ()\fC [virtual slot]\fR"Clears the contents of the line edit..SH "void QLineEdit::clearModified ()"Resets the modified flag to FALSE..PPSee also modified..SH "void QLineEdit::clearValidator ()\fC [virtual slot]\fR"This slot is equivalent to setValidator(0)..SH "void QLineEdit::copy () const\fC [virtual slot]\fR"Copies the selected text to the clipboard, if there is any, and if echoMode() is Normal..PPSee also cut() and paste()..SH "QPopupMenu * QLineEdit::createPopupMenu ()\fC [virtual protected]\fR"This function is called to create the popup menu which is shown when the user clicks on the line edit with the right mouse button. If you want to create a custom popup menu, reimplement this function and return the popup menu you create. The popup menu's ownership is transferred to the caller..SH "void QLineEdit::cursorBackward ( bool mark, int steps = 1 )"Moves the cursor back \fIsteps\fR characters. If \fImark\fR is TRUE each character moved over is added to the selection; if \fImark\fR is FALSE the selection is cleared..PPSee also cursorForward()..SH "void QLineEdit::cursorForward ( bool mark, int steps = 1 )"Moves the cursor forward \fIsteps\fR characters. If \fImark\fR is TRUE each character moved over is added to the selection; if \fImark\fR is FALSE the selection is cleared..PPSee also cursorBackward()..SH "void QLineEdit::cursorLeft ( bool mark, int steps = 1 )"\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code..PPFor compatibilty with older applications only. Use cursorBackward() instead..PPSee also cursorBackward()..SH "int QLineEdit::cursorPosition () const"Returns the current cursor position for this line edit. See the "cursorPosition" property for details..SH "void QLineEdit::cursorRight ( bool mark, int steps = 1 )"\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code..PPUse cursorForward() instead..PPSee also cursorForward()..SH "void QLineEdit::cursorWordBackward ( bool mark )"Moves the cursor one word backward. If \fImark\fR is TRUE, the word is also selected..PPSee also cursorWordForward()..SH "void QLineEdit::cursorWordForward ( bool mark )"Moves the cursor one word forward. If \fImark\fR is TRUE, the word is also selected..PPSee also cursorWordBackward()..SH "void QLineEdit::cut ()\fC [virtual slot]\fR"Copies the selected text to the clipboard and deletes it, if there is any, and if echoMode() is Normal..PPIf the current validator disallows deleting the selected text, cut() will copy without deleting..PPSee also copy(), paste(), and setValidator()..SH "void QLineEdit::del ()"If no text is selected, deletes the character to the right of the text cursor. If any text is selected, the cursor is moved to the beginning of the selected text and the selected text is deleted..PPSee also backspace()..SH "void QLineEdit::deselect ()\fC [virtual slot]\fR"Deselects any selected text..PPSee also setSelection() and selectAll()..SH "QString QLineEdit::displayText () const"Returns the displayed text. See the "displayText" property for details..SH "bool QLineEdit::dragEnabled () const"Returns TRUE if the lineedit starts a drag if the user presses and moves the mouse on some selected text; otherwise returns FALSE. See the "dragEnabled" property for details..SH "EchoMode QLineEdit::echoMode () const"Returns the line edit's echo mode. See the "echoMode" property for details..SH "bool QLineEdit::edited () const"Returns TRUE if the line edit has been edited. Use modified instead; otherwise returns FALSE. See the "edited" property for details..SH "void QLineEdit::end ( bool mark )"Moves the text cursor to the end of the line unless it is already there. If \fImark\fR is TRUE, text is selected towards the last position; otherwise, any selected text is unselected if the cursor is moved..PPSee also home()..SH "bool QLineEdit::frame () const"Returns TRUE if the line edit draws itself with a frame; otherwise returns FALSE. See the "frame" property for details..SH "bool QLineEdit::getSelection ( int * start, int * end )"\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. use selectedText(), selectionStart().SH "bool QLineEdit::hasAcceptableInput () const"Returns TRUE if the input satisfies the inputMask and the validator; otherwise returns FALSE. See the "acceptableInput" property for details..SH "bool QLineEdit::hasMarkedText () const"Returns TRUE if part of the text has been selected by the user. Use hasSelectedText instead; otherwise returns FALSE. See the "hasMarkedText" property for details..SH "bool QLineEdit::hasSelectedText () const"Returns TRUE if there is any text selected; otherwise returns FALSE. See the "hasSelectedText" property for details..SH "void QLineEdit::home ( bool mark )"Moves the text cursor to the beginning of the line unless it is already there. If \fImark\fR is TRUE, text is selected towards the first position; otherwise, any selected text is unselected if the cursor is moved..PPSee also end()..SH "QString QLineEdit::inputMask () const"Returns the validation input mask. See the "inputMask" property for details..SH "void QLineEdit::insert ( const QString & newText )\fC [virtual slot]\fR"Deletes any selected text, inserts \fInewText\fR, and validates the result. If it is valid, it sets it as the new contents of the line edit..SH "bool QLineEdit::isModified () const"Returns TRUE if the line edit's contents has been modified by the user; otherwise returns FALSE. See the "modified" property for details..SH "bool QLineEdit::isReadOnly () const"Returns TRUE if the line edit is read only; otherwise returns FALSE. See the "readOnly" property for details..SH "bool QLineEdit::isRedoAvailable () const"Returns TRUE if redo is available; otherwise returns FALSE. See the "redoAvailable" property for details..SH "bool QLineEdit::isUndoAvailable () const"Returns TRUE if undo is available; otherwise returns FALSE. See the "undoAvailable" property for details..SH "void QLineEdit::keyPressEvent ( QKeyEvent * e )\fC [virtual protected]\fR"Converts key press event \fIe\fR into a line edit action..PPIf Return or Enter is pressed and the current text is valid (or can be made valid by the validator), the signal returnPressed() is emitted..PPThe default key bindings are listed in the detailed description..PPReimplemented from QWidget..SH "void QLineEdit::lostFocus ()\fC [signal]\fR"This signal is emitted when the line edit has lost focus..PPSee also focus, QWidget::focusInEvent(), and QWidget::focusOutEvent()..SH "QString QLineEdit::markedText () const"Returns the text selected by the user. Use selectedText instead. See the "markedText" property for details..SH "int QLineEdit::maxLength () const"Returns the maximum permitted length of the text. See the "maxLength" property for details..SH "QSize QLineEdit::minimumSizeHint () const\fC [virtual]\fR"Returns a minimum size for the line edit..PPThe width returned is enough for at least one character..PPReimplemented from QWidget..SH "void QLineEdit::paste ()\fC [virtual slot]\fR"Inserts the clipboard's text at the cursor position, deleting any selected text, providing the line edit is not read-only..PPIf the end result would not be acceptable to the current validator, nothing happens..PPSee also copy() and cut()..SH "void QLineEdit::redo ()\fC [virtual slot]\fR"Redoes the last operation if redo is available..SH "void QLineEdit::repaintArea ( int from, int to )\fC [protected]\fR"\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code..PPRepaints all characters from \fIfrom\fR to \fIto\fR. If cursorPos is between from and to, ensures that cursorPos is visible..SH "void QLineEdit::returnPressed ()\fC [signal]\fR"This signal is emitted when the Return or Enter key is pressed. Note that if there is a validator() or inputMask() set on the line edit, the returnPressed() signal will only be emitted if the input follows the inputMask() and the validator() returns \fCAcceptable\fR..PPExample: popup/popup.cpp..SH "void QLineEdit::selectAll ()\fC [virtual slot]\fR"Selects all the text (i.e. highlights it) and moves the cursor to the end. This is useful when a default value has been inserted because if the user types before clicking on the widget, the selected text will be deleted..PPSee also setSelection() and deselect().

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩精品福利网| 亚洲图片欧美视频| 在线国产电影不卡| 久久99精品视频| 又紧又大又爽精品一区二区| 久久久久久久久久看片| 欧美日韩国产在线观看| 成人毛片视频在线观看| 蜜臀av性久久久久蜜臀av麻豆| 亚洲视频一区二区在线观看| 久久久亚洲综合| 3d成人h动漫网站入口| 91视频观看视频| 国产超碰在线一区| 日本欧美加勒比视频| 一区二区免费在线播放| 国产亚洲成aⅴ人片在线观看| 欧美一级在线视频| 欧美在线观看视频一区二区三区| 成人精品一区二区三区四区| 九色综合狠狠综合久久| 亚洲大片免费看| 亚洲精品精品亚洲| 亚洲欧洲日韩一区二区三区| 26uuu成人网一区二区三区| 欧美精品自拍偷拍| 欧美少妇一区二区| 色综合网色综合| 97精品久久久久中文字幕 | 国产精品国产三级国产三级人妇 | 91国内精品野花午夜精品| 国产成人亚洲综合a∨猫咪| 国产真实乱子伦精品视频| 久久国产精品免费| 激情五月播播久久久精品| 麻豆精品视频在线观看免费| 麻豆国产欧美一区二区三区| 日本不卡的三区四区五区| 蜜桃一区二区三区在线| 精品一区二区三区久久| 久久成人18免费观看| 极品销魂美女一区二区三区| 精品在线播放免费| 国产高清亚洲一区| 成人午夜av电影| 91麻豆蜜桃一区二区三区| 99久久婷婷国产精品综合| 色偷偷成人一区二区三区91 | 97久久精品人人做人人爽| 99综合电影在线视频| 91在线视频网址| 欧洲精品在线观看| 欧美放荡的少妇| 日韩一级二级三级精品视频| 精品国产一区二区亚洲人成毛片| 久久午夜免费电影| 中文字幕不卡在线播放| 中文字幕中文乱码欧美一区二区| 亚洲激情图片qvod| 日韩av网站免费在线| 国产老女人精品毛片久久| k8久久久一区二区三区| 精品视频一区二区三区免费| 日韩欧美一区电影| 欧美激情综合网| 亚洲黄网站在线观看| 免费在线观看视频一区| 韩国精品免费视频| 91丨九色丨蝌蚪富婆spa| 91福利国产成人精品照片| 日韩欧美成人午夜| 国产精品久久久久影院色老大| 亚洲一区二区三区中文字幕| 美女看a上一区| 91一区二区在线观看| 91精品国产一区二区三区| 欧美国产激情一区二区三区蜜月 | 国产一区二区三区观看| 99久久综合国产精品| 666欧美在线视频| 国产精品入口麻豆九色| 三级在线观看一区二区| 国产精品亚洲综合一区在线观看| 色欧美片视频在线观看在线视频| 日韩三级免费观看| 国产精品九色蝌蚪自拍| 麻豆91在线观看| 一本一道久久a久久精品| 日韩精品一区二区三区中文精品| 成人免费一区二区三区视频| 精品一区二区综合| 精品视频一区三区九区| 国产精品免费视频观看| 久久国产福利国产秒拍| 欧美最新大片在线看| 欧美高清在线一区二区| 日本亚洲天堂网| 色综合久久中文综合久久97 | 亚洲黄色小视频| 国产成人精品一区二区三区四区 | 天天操天天综合网| av一本久道久久综合久久鬼色| 91精品国产色综合久久| 亚洲天堂免费在线观看视频| 国产在线不卡一区| 欧美一区二区日韩| 亚洲成人自拍网| 一本到不卡免费一区二区| 日本一区免费视频| 久久99精品视频| 欧美一区二区在线免费播放 | 免费精品99久久国产综合精品| 色欲综合视频天天天| 国产精品亲子乱子伦xxxx裸| 国产在线不卡视频| 日韩一区二区三区精品视频| 亚洲va欧美va人人爽午夜| 色欧美日韩亚洲| 亚洲天堂2016| 91在线视频官网| 一区精品在线播放| www.日韩在线| 中文字幕在线观看不卡| 国产麻豆精品视频| 欧美va亚洲va香蕉在线 | 99国产欧美久久久精品| 中文字幕精品综合| 丁香婷婷综合色啪| 日本一区二区动态图| 国产毛片精品视频| 久久欧美一区二区| 国产激情91久久精品导航 | 精品国产第一区二区三区观看体验| 日产国产欧美视频一区精品| 欧美精品自拍偷拍| 男人的天堂亚洲一区| 日韩一级片在线观看| 久久91精品国产91久久小草| 精品久久久久一区二区国产| 精品一区二区av| 久久久欧美精品sm网站| 国产99久久久国产精品潘金 | 精品电影一区二区| 国产麻豆91精品| 国产精品久久99| 在线精品视频一区二区三四| 亚洲伊人色欲综合网| 欧美顶级少妇做爰| 日一区二区三区| 精品蜜桃在线看| 国产福利一区二区三区在线视频| 国产精品青草综合久久久久99| 91香蕉视频污在线| 亚洲高清视频在线| 欧美变态口味重另类| 国产精品77777| 亚洲欧美日本在线| 亚洲成人激情社区| 韩国欧美国产一区| 亚洲国产高清在线观看视频| 成人黄色av网站在线| 亚洲六月丁香色婷婷综合久久 | 懂色av一区二区三区免费观看| 国产精品理论在线观看| 一本到高清视频免费精品| 亚洲一区二区欧美| 亚洲精品一区二区三区蜜桃下载 | 九九精品视频在线看| 国产精品视频你懂的| 欧美怡红院视频| 久久精品国产久精国产| 国产精品人妖ts系列视频| 欧美网站大全在线观看| 精品综合免费视频观看| 中文字幕中文字幕一区| 91精品国产一区二区三区蜜臀 | 国产精品亚洲第一| 有码一区二区三区| 欧美不卡视频一区| 97精品国产97久久久久久久久久久久| 亚洲18影院在线观看| 久久亚洲捆绑美女| 欧美日韩小视频| 成人性视频免费网站| 日韩av在线发布| 中文字幕在线不卡视频| 日韩免费在线观看| 色综合久久99| 国内精品第一页| 亚洲精品成人悠悠色影视| 欧美刺激午夜性久久久久久久| 97精品电影院| 国产伦精品一区二区三区在线观看| 亚洲一区成人在线| 国产亚洲欧美日韩俺去了| 欧美精品一级二级三级| 91在线一区二区三区| 国产成人免费高清| 蜜桃一区二区三区在线| 亚洲国产精品自拍|