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

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

?? qapplication.3qt

?? Trolltech公司發布的基于C++圖形開發環境
?? 3QT
?? 第 1 頁 / 共 5 頁
字號:
.)l.SH "void QApplication::sendPostedEvents () \fC[static]\fR"Dispatches all posted events..SH "void QApplication::sendPostedEvents ( QObject * receiver, int event_type ) \fC[static]\fR"Immediately dispatches all events which have been previously enqueued with QApplication::postEvent() and which are for the object \fIreceiver\fR and have the \fIevent_type.\fR.PPSome event compression may occur. Note that events from the window system are \fInot\fR dispatched by this function..SH "QString QApplication::sessionId () const"Returns the identifier of the current session..PPIf the application has been restored from an earlier session, this identifier is the same as it was in that previous session..PPThe session identifier is guaranteed to be unique for both different applications and different instances of the same application..PPSee also isSessionRestored(), commitData() and saveState()..SH "void QApplication::setColorSpec ( int spec ) \fC[static]\fR"Sets the color specification for the application to \fIspec.\fR.PPThe color specification controls how your application allocates colors when run on a display with a limited amount of colors, i.e. 8 bit / 256 color displays..PPThe color specification must be set before you create the QApplication object..PPThe choices are:.TP\fCQApplication::NormalColor.\fR This is the default color allocation strategy. Use this choice if your application uses buttons, menus, texts and pixmaps with few colors. With this choice, the application uses system global colors. This works fine for most applications under X11, but on Windows machines it may cause dithering of non-standard colors..TP\fCQApplication::CustomColor.\fR Use this choice if your application needs a small number of custom colors. On X11, this choice is the same as NormalColor. On Windows, Qt creates a Windows palette, and allocates colors in it on demand..TP\fCQApplication::ManyColor.\fR Use this choice if your application is very color hungry (e.g. it wants thousands of colors). Under X11 the effect is: .TPFor 256-color displays which have at best a 256 color true color visual, the default visual is used, and colors are allocated from a color cube. The color cube is the 6x6x6 (216 color) "Web palette", but the number of colors can be changed by the \fI-ncols\fR option. The user can force the application to use the true color visual by the -visual option..TPFor 256-color displays which have a true color visual with more than 256 colors, use that visual. Silicon Graphics X servers have this feature, for example. They provide an 8 bit visual by default but can deliver true color when asked. On Windows, Qt creates a Windows palette, and fills it with a color cube..PPBe aware that the CustomColor and ManyColor choices may lead to colormap flashing: The foreground application gets (most) of the available colors, while the background windows will look less good..PPExample:.PP.nf.br  int main( int argc, char **argv ).br  {.br      QApplication::setColorSpec( QApplication::ManyColor );.br      QApplication a( argc, argv );.br      ....br  }.fi.PPQColor provides more functionality for controlling color allocation and freeing up certain colors. See QColor::enterAllocContext() for more information..PPTo see what mode you end up with, you can call QColor::numBitPlanes() once the QApplication object exists. A value greater than 8 (typically 16, 24 or 32) means true color..PPThe color cube used by Qt are all those colors with red, green, and blue components of either 0x00, 0x33, 0x66, 0x99, 0xCC, or 0xFF..PPSee also colorSpec(), QColor::numBitPlanes() and QColor::enterAllocContext()..PPExamples:.(lthemes/main.cpp helpviewer/main.cpp tetrix/tetrix.cpp showimg/main.cpp.)l.SH "void QApplication::setCursorFlashTime ( int msecs ) \fC[static]\fR"Sets the text cursor's flash time to \fImsecs\fR milliseconds. The flash time is the time required to display, invert and restore the caret display: A full flash cycle. Usually, the text cursor is displayed for \fImsecs/2\fR milliseconds, then hidden for \fImsecs/2\fR milliseconds, but this may vary..PPNote that on Microsoft Windows, calling this function sets the cursor flash time for all windows..PPSee also cursorFlashTime()..SH "void QApplication::setDefaultCodec ( QTextCodec * codec )"If the literal quoted text in the program is not in the Latin1 encoding, this function can be used to set the appropriate encoding. For example, software developed by Korean programmers might use eucKR for all the text in the program, in which case main() would be:.PP.nf.br    main(int argc, char** argv).br    {.br        QApplication app(argc, argv);.br        ... install any additional codecs ....br        app.setDefaultCodec( QTextCodec::codecForName("eucKR") );.br        ....br    }.fi.PPNote that this is \fInot\fR the way to select the encoding that the \fIuser\fR has chosen. For example, to convert an application containing literal English strings to Korean, all that is needed is for the English strings to be passed through tr() and for translation files to be loaded. For details of internationalization, see the Qt Internationalization documentation..PPNote also that some Qt built-in classes call tr() with various strings. These strings are in English, so for a full translation, a codec would be required for these strings..SH "void QApplication::setDesktopSettingsAware ( bool on ) \fC[static]\fR"By default, Qt will try to get the current standard colors, fonts etc. from the underlying window system's desktop settings (resources), and use them for all relevant widgets. This behavior can be switched off by calling this function with \fIon\fR set to FALSE..PPThis static function must be called before creating the QApplication object, like this:.PP.nf.br  int main( int argc, char** argv ) {.br    QApplication::setDesktopSettingsAware( FALSE ); // I know better than the user.br    QApplication myApp( argc, argv );           // gimme default fonts & colors.br    ....br  }.fi.PPSee also desktopSettingsAware()..SH "void QApplication::setDoubleClickInterval ( int ms ) \fC[static]\fR"Sets the time limit that distinguishes a double click from two consecutive mouse clicks to \fIms\fR milliseconds..PPNote that on Microsoft Windows, calling this function sets the double click interval for all windows..PPSee also doubleClickInterval()..SH "void QApplication::setEffectEnabled ( Qt::UIEffect effect, bool enable = TRUE ) \fC[static]\fR"Enables the UI effect \fIeffect\fR if \fIenable\fR is TRUE, otherwise the effect will not be used..PPSee also isEffectEnabled(), Qt::UIEffect and setDesktopSettingsAware()..SH "void QApplication::setFont ( const QFont & font, bool informWidgets=FALSE, const char * className = 0 ) \fC[static]\fR"Changes the default application font to \fIfont.\fR If \fIinformWidgets\fR is TRUE, then existing widgets are informed about the change and thus may adjust themselves to the new application setting. Otherwise the change only affects newly created widgets. If \fIclassName\fR is passed, the change applies only to classes that inherit \fIclassName\fR (as reported by QObject::inherits())..PPOn application start-up, the default font depends on the window system. It can vary both with window system version and with locale. This function lets you override it. Note that overriding it may be a bad idea, for example some locales need extra-big fonts to support their special characters..PPSee also font(), fontMetrics() and QWidget::setFont()..PPExamples:.(lqfd/qfd.cpp showimg/main.cpp desktop/desktop.cpp.)l.SH "void QApplication::setGlobalMouseTracking ( bool enable ) \fC[static]\fR"Enables global mouse tracking if \fIenable\fR is TRUE or disables it if \fIenable\fR is FALSE..PPEnabling global mouse tracking makes it possible for widget event filters or application event filters to get all mouse move events, even when no button is depressed. This is useful for special GUI elements, e.g. tool tips..PPGlobal mouse tracking does not affect widgets and their mouseMoveEvent(). For a widget to get mouse move events when no button is depressed, it must do QWidget::setMouseTracking(TRUE)..PPThis function uses an internal counter. Each setGlobalMouseTracking(TRUE) must have a corresponding setGlobalMouseTracking(FALSE):.PP.nf.br    // at this point global mouse tracking is off.br    QApplication::setGlobalMouseTracking( TRUE );.br    QApplication::setGlobalMouseTracking( TRUE );.br    QApplication::setGlobalMouseTracking( FALSE );.br    // at this point it's still on.br    QApplication::setGlobalMouseTracking( FALSE );.br    // but now it's off.fi.PPSee also hasGlobalMouseTracking() and QWidget::hasMouseTracking()..SH "void QApplication::setGlobalStrut ( const QSize & strut ) \fC[static]\fR"Sets the application strut to \fIstrut.\fR No GUI-element that can be interacted with should be smaller than the provided size. This should be considered when reimplementing items that may be used on touch-screens or with similar IO-devices..PPExample:.PP.nf.br  QSize& WidgetClass::sizeHint() const.br  {.br      return QSize( 80, 25 ).expandedTo( QApplication::globalStrut() );.br  }.fi.PPSee also golbalStrut()..SH "void QApplication::setMainWidget ( QWidget * mainWidget ) \fC[virtual]\fR"Sets the main widget of the application..PPThe main widget is like any other, in most respects except that if it is deleted, the application exits..PPYou need not have a main widget; connecting lastWindowClosed() to quit() is another alternative..PPFor X11, this function also resizes and moves the main widget according to the \fI-geometry\fR command-line option, so you should set the default geometry (using QWidget::setGeometry()) before calling setMainWidget()..PPSee also mainWidget(), exec() and quit()..PPExamples:.(lcursor/cursor.cpp aclock/main.cpp hello/main.cpp splitter/splitter.cpp listviews/main.cpp buttongroups/main.cpp biff/main.cpp validator/main.cpp iconview/main.cpp rangecontrols/main.cpp mainlyQt/editor.cpp dclock/main.cpp tabdialog/main.cpp tooltip/main.cpp listbox/main.cpp drawdemo/drawdemo.cpp lineedits/main.cpp picture/picture.cpp i18n/main.cpp drawlines/connect.cpp themes/main.cpp progressbar/main.cpp xml/tagreader.)l-with-features/tagreader.cpplife/main.cpp layout/layout.cpp richtext/main.cpp fileiconview/main.cpp checklists/main.cpp forever/forever.cpp qfd/qfd.cpp addressbook/main.cpp customlayout/main.cpp progress/progress.cpp qmag/qmag.cpp listboxcombo/main.cpp menu/menu.cpp tictac/main.cpp xform/xform.cpp popup/popup.cpp rot13/rot13.cpp scribble/main.cpp dirview/main.cpp.SH "void QApplication::setOverrideCursor ( const QCursor & cursor, bool replace=FALSE ) \fC[static]\fR"Sets the application override cursor to \fIcursor.\fR.PPApplication override cursors are intended for showing the user that the application is in a special state, for example during an operation that might take some time..PPThis cursor will be displayed in all the widgets of the application until restoreOverrideCursor() or another setOverrideCursor() is called..PPApplication cursors are stored on an internal stack. setOverrideCursor() pushes the cursor onto the stack, and restoreOverrideCursor() pops the active cursor off the stack. Every setOverrideCursor() must eventually be followed by a corresponding restoreOverrideCursor(), otherwise the stack will never be emptied..PPIf \fIreplace\fR is TRUE, the new cursor will replace the last override cursor (the stack keeps its depth). If \fIreplace\fR is FALSE, the new stack is pushed onto the top of the stack..PPExample:.PP.nf.br    QApplication::setOverrideCursor( Qt::waitCursor );.br    calculateHugeMandelbrot();                  // lunch time....br    QApplication::restoreOverrideCursor();.fi.PPSee also overrideCursor(), restoreOverrideCursor() and QWidget::setCursor()..SH "void QApplication::setPalette ( const QPalette & palette, bool informWidgets=FALSE, const char * className = 0 ) \fC[static]\fR"Changes the default application palette to \fIpalette.\fR If \fIinformWidgets\fR is TRUE, then existing widgets are informed about the change and thus may adjust themselves to the new application setting. Otherwise the change only affects newly created widgets. If \fIclassName\fR is passed, the change applies only to classes that inherit \fIclassName\fR (as reported by QObject::inherits())..PPThe palette may be changed according to the current GUI style in QStyle::polish()..PPSee also QWidget::setPalette(), palette() and QStyle::polish()..SH "void QApplication::setStartDragDistance ( int l ) \fC[static]\fR"Sets the distance after which a drag should start..PPSee also startDragDistance()..SH "void QApplication::setStartDragTime ( int ms ) \fC[static]\fR"Sets the time after which a drag should start..PPSee also startDragTime()..SH "void QApplication::setStyle ( QStyle * style ) \fC[static]\fR"Sets the application GUI style to \fIstyle.\fR Ownership of the style object is transferred to QApplication, so QApplication will delete the style object on application exit or when a new style is set..PPExample usage:.PP.nf.br    QApplication::setStyle( new QWindowStyle );.fi.PPWhen switching application styles, the color palette is set back to the initial colors or the system defaults. This is necessary since certain styles have to adapt the color palette to be fully style-guide compliant..PPSee also style(), QStyle, setPalette() and desktopSettingsAware()..SH "void QApplication::setWheelScrollLines ( int n ) \fC[static]\fR"Sets the number of lines to scroll when the mouse wheel is rotated..PPIf this number exceeds the number of visible lines in a certain widget, the widget should interpret the scroll operation as a single page up / page down operation instead..PPSee also wheelScrollLines()..SH "void QApplication::setWinStyleHighlightColor ( const QColor & c ) \fC[static]\fR"\fBThis function is obsolete.\fR It is provided to keep old source working, and will probably be removed in a future version of Qt. We strongly advise against using it in new code..PPSets the color used to mark selections in windows style for all widgets in the application. Will repaint all widgets if the color is changed..PPThe default color is \fCdarkBlue.\fR.PPSee also winStyleHighlightColor()..SH "int QApplication::startDragDistance () \fC[static]\fR"If you support drag'n'drop in you application and a drag should start after a mouse click and after moving the mouse a certain distance, you should use the value which this method returns as the distance. So if the mouse position of the click is stored in \fCstartPos\fR and the current position (e.g. in the mouse move event) is \fCcurrPos,\fR you can find out if a drag should be started with a code like this:.PP.nf.br  if ( ( startPos - currPos ).manhattanLength() > QApplication::startDragDistance() ).br      startTheDrag();.fi.PPQt internally uses this value too, e.g. in the QFileDialog..PPThe default value is set to 4 pixels..PPSee also setStartDragDistance(), startDragTime() and QPoint::manhattanLength()..SH "int QApplication::startDragTime () \fC[static]\fR"If you support drag'n'drop in you application and a drag should start after a mouse click and after a certain time elapsed, you should use the value which this method returns as delay (in ms)..PPQt internally uses also this delay e.g. in QMultiLineEdit for starting a drag..PPThe default value is set to 500 ms..PPSee also setStartDragTime() and startDragDistance()..SH "bool QApplication::startingUp () \fC[static]\fR"Returns TRUE if an application object has not been created yet..PPSee also closingDown()..SH "QStyle& QApplication::style () \fC[static]\fR"Returns the style object of the application..PPSee also setStyle() and QStyle..SH "void QApplication::syncX () \fC[static]\fR"Synchronizes with the X server in the X11 implementation. This normally takes some time. Does nothing on other platforms..PPSee also flushX()..SH "QWidgetList * QApplication::topLevelWidgets () \fC[static]\fR"Returns a list of the top level widgets in the application..PPThe list is created using \fCnew\fR and must be deleted by the caller..PPThe list is empty (QList::isEmpty()) if there are no top level widgets..PPNote that some of the top level widgets may be hidden, for example the tooltip if no tooltip is currently shown..PPExample:.PP.nf.br    //

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品乱码久久久久久| 蜜臀av一区二区在线观看| 亚洲在线观看免费| 久久丁香综合五月国产三级网站| 成人精品鲁一区一区二区| 欧美日韩高清一区二区不卡 | 久久aⅴ国产欧美74aaa| 91网页版在线| 日本一区免费视频| 九九国产精品视频| 在线影院国内精品| 国产精品美日韩| 国产一区二区三区四| 欧美精品乱人伦久久久久久| 中文字幕中文字幕一区二区| 国产在线精品不卡| 欧美一卡二卡在线| 性做久久久久久久免费看| av电影在线观看不卡| 日本一区二区在线不卡| 国产麻豆精品95视频| 欧美tickling网站挠脚心| 亚洲一卡二卡三卡四卡无卡久久| av一区二区三区黑人| 久久婷婷综合激情| 麻豆国产精品视频| 精品国产乱码久久久久久免费| 日韩和欧美一区二区| 欧美中文一区二区三区| 玉米视频成人免费看| 91视频在线观看| 亚洲免费av高清| 日本韩国欧美国产| 亚洲自拍另类综合| 欧美三级一区二区| 午夜日韩在线观看| 欧美一区二区三区电影| 美女免费视频一区| 日韩精品中文字幕一区| 精品一区二区三区在线观看| 日韩欧美一区在线观看| 久久99精品国产.久久久久久 | 在线亚洲+欧美+日本专区| 亚洲同性gay激情无套| 99久久精品国产导航| 亚洲精选一二三| 欧美伊人精品成人久久综合97| 天天影视网天天综合色在线播放| 337p亚洲精品色噜噜狠狠| 美女视频黄a大片欧美| 久久蜜桃香蕉精品一区二区三区| 国产精品系列在线观看| 亚洲男同1069视频| 777久久久精品| 国产成人免费视频一区| 亚洲欧美日韩国产综合在线| 欧洲色大大久久| 九一久久久久久| 自拍偷拍国产亚洲| 欧美一级国产精品| 福利一区在线观看| 亚洲成人激情社区| 久久精品一区蜜桃臀影院| 91一区二区三区在线观看| 日本亚洲欧美天堂免费| 国产人成一区二区三区影院| 色婷婷亚洲综合| 久久精品国产999大香线蕉| 国产精品成人免费在线| 777久久久精品| 99久久夜色精品国产网站| 日本伊人午夜精品| 亚洲少妇中出一区| 久久综合久久综合久久综合| 一本色道**综合亚洲精品蜜桃冫 | 91麻豆精品国产91久久久| 国产精品18久久久久久vr| 亚洲综合一区二区三区| 久久久99久久| 欧美美女直播网站| 99re成人在线| 国内成+人亚洲+欧美+综合在线| 亚洲色图制服诱惑| 久久午夜国产精品| 欧美一级久久久| 欧美日免费三级在线| 成人午夜精品在线| 国产真实乱偷精品视频免| 性欧美疯狂xxxxbbbb| 亚洲乱码国产乱码精品精小说| 久久伊人蜜桃av一区二区| 欧美精品在欧美一区二区少妇| 成人看片黄a免费看在线| 精品亚洲成a人| 日韩国产在线观看| 亚洲综合av网| 一区二区三区视频在线看| 国产精品私人影院| 欧美精品一区二区三区很污很色的| 欧美体内she精高潮| 91欧美激情一区二区三区成人| 国产传媒日韩欧美成人| 国产在线一区二区综合免费视频| 亚洲第一二三四区| 一区二区三区四区高清精品免费观看| 中文字幕高清不卡| 国产日产欧美一区| 久久久精品国产99久久精品芒果| 日韩区在线观看| 日韩免费电影网站| 日韩亚洲欧美成人一区| 欧美蜜桃一区二区三区| 91精品在线麻豆| 91精品久久久久久久久99蜜臂| 欧美日韩成人综合在线一区二区| 欧美午夜宅男影院| 欧美日本一区二区三区四区| 欧美午夜一区二区| 欧美日韩国产大片| 日韩亚洲欧美在线| 精品成人a区在线观看| 2021中文字幕一区亚洲| 久久久不卡网国产精品一区| 久久精品日产第一区二区三区高清版 | 国产在线国偷精品免费看| 国产一区欧美一区| 国产69精品久久久久毛片| 国产成人av一区二区三区在线| 波多野结衣在线aⅴ中文字幕不卡| 国产91色综合久久免费分享| 成人av午夜影院| 日本乱码高清不卡字幕| 欧美日韩国产一区二区三区地区| 欧美肥大bbwbbw高潮| 欧美成人精品3d动漫h| 久久久亚洲高清| 国产精品久久久久久久久免费樱桃| 最新成人av在线| 亚洲超碰97人人做人人爱| 麻豆成人久久精品二区三区红 | 久久精品噜噜噜成人88aⅴ| 黄色日韩网站视频| 成人黄色在线网站| 欧美日韩一区二区在线视频| 欧美一区二区视频网站| 国产色产综合色产在线视频| 亚洲色图制服诱惑| 免费看日韩精品| 97se亚洲国产综合在线| 日韩一区二区在线看片| 国产婷婷色一区二区三区四区 | 一区二区视频免费在线观看| 日本欧美一区二区在线观看| 国产 欧美在线| 欧美日韩精品欧美日韩精品| 国产亚洲欧美激情| 亚洲不卡在线观看| 成人午夜免费av| 日韩午夜电影在线观看| 国产精品久久影院| 另类综合日韩欧美亚洲| av不卡免费在线观看| 91精品国产黑色紧身裤美女| 国产精品污网站| 免费欧美在线视频| 欧美在线一区二区| 国产欧美综合在线| 日本亚洲一区二区| 欧美在线一区二区三区| 国产精品麻豆视频| 久久99久久久欧美国产| 欧美日韩中文字幕一区二区| 中文字幕永久在线不卡| 久久国产精品一区二区| 欧美久久久久中文字幕| 亚洲人成精品久久久久久| 久久99精品久久只有精品| 欧美精选午夜久久久乱码6080| 1区2区3区国产精品| 国产精品一区二区你懂的| 欧美一区二区日韩| 亚洲午夜久久久久久久久电影网| 成人动漫一区二区在线| 久久久久久电影| 麻豆成人91精品二区三区| 欧美日韩视频在线观看一区二区三区 | 国产一区二区三区在线观看精品| 91.麻豆视频| 日韩和欧美一区二区三区| 欧美日韩精品一区二区天天拍小说| 亚洲久草在线视频| 色综合久久88色综合天天免费| 欧美激情一区不卡| 丰满放荡岳乱妇91ww| 欧美国产97人人爽人人喊| 国产乱子伦一区二区三区国色天香| 精品久久久久久综合日本欧美| 美女脱光内衣内裤视频久久影院| 日韩女优av电影| 老司机免费视频一区二区三区|