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

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

?? qapplication.3qt

?? Trolltech公司發布的基于C++圖形開發環境
?? 3QT
?? 第 1 頁 / 共 5 頁
字號:
See also addLibraryPath(), libraryPaths(), and setLibraryPaths()..SH "void QApplication::removePostedEvents ( QObject * receiver )\fC [static]\fR"\fBNote:\fR This function is thread-safe when Qt is built withthread support.</p> Removes all events posted using postEvent() for \fIreceiver\fR..PPThe events are \fInot\fR dispatched, instead they are removed from the queue. You should never need to call this function. If you do call it, be aware that killing events may cause \fIreceiver\fR to break one or more invariants..SH "void QApplication::removeTranslator ( QTranslator * mf )"Removes the message file \fImf\fR from the list of message files used by this application. (It does not delete the message file from the file system.).PPSee also installTranslator(), translate(), and QObject::tr()..PPExample: i18n/main.cpp..SH "void QApplication::restoreOverrideCursor ()\fC [static]\fR"Undoes the last setOverrideCursor()..PPIf setOverrideCursor() has been called twice, calling restoreOverrideCursor() will activate the first cursor set. Calling this function a second time restores the original widgets' cursors..PPSee also setOverrideCursor() and overrideCursor()..PPExamples:.)l distributor/distributor.ui.h, network/archivesearch/archivedialog.ui.h, network/ftpclient/ftpmainwindow.ui.h, and showimg/showimg.cpp..SH "bool QApplication::reverseLayout ()\fC [static]\fR"Returns TRUE if all dialogs and widgets will be laid out in a mirrored (right to left) fashion. Returns FALSE if dialogs and widgets will be laid out left to right..PPSee also setReverseLayout()..SH "void QApplication::saveState ( QSessionManager & sm )\fC [virtual]\fR"This function deals with session management. It is invoked when the session manager wants the application to preserve its state for a future session..PPFor example, a text editor would create a temporary file that includes the current contents of its edit buffers, the location of the cursor and other aspects of the current editing session..PPNote that you should never exit the application within this function. Instead, the session manager may or may not do this afterwards, depending on the context. Futhermore, most session managers will very likely request a saved state immediately after the application has been started. This permits the session manager to learn about the application's restart policy..PP\fBWarning:\fR Within this function, no user interaction is possible, \fIunless\fR you ask the session manager \fIsm\fR for explicit permission. See QSessionManager::allowsInteraction() and QSessionManager::allowsErrorInteraction() for details..PPSee also isSessionRestored(), sessionId(), commitData(), and the Session Management overview..SH "bool QApplication::sendEvent ( QObject * receiver, QEvent * event )\fC [static]\fR"Sends event \fIevent\fR directly to receiver \fIreceiver\fR, using the notify() function. Returns the value that was returned from the event handler..PPThe event is \fInot\fR deleted when the event has been sent. The normal approach is to create the event on the stack, e.g..PP.nf.br    QMouseEvent me( QEvent::MouseButtonPress, pos, 0, 0 );.br    QApplication::sendEvent( mainWindow, &me );.br.fiIf you create the event on the heap you must delete it..PPSee also postEvent() and notify()..PPExample: popup/popup.cpp..SH "void QApplication::sendPostedEvents ( QObject * receiver, int event_type )\fC [static]\fR"Immediately dispatches all events which have been previously queued with QApplication::postEvent() and which are for the object \fIreceiver\fR and have the event type \fIevent_type\fR..PPNote that events from the window system are \fInot\fR dispatched by this function, but by processEvents()..PPIf \fIreceiver\fR is null, the events of \fIevent_type\fR are sent for all objects. If \fIevent_type\fR is 0, all the events are sent for \fIreceiver\fR..SH "void QApplication::sendPostedEvents ()\fC [static]\fR"This is an overloaded member function, provided for convenience. It behaves essentially like the above function..PPDispatches all posted events, i.e. empties the event queue..SH "QString QApplication::sessionId () const"Returns the current session's identifier..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 both for different applications and for different instances of the same application..PPSee also isSessionRestored(), sessionKey(), commitData(), and saveState()..SH "QString QApplication::sessionKey () const"Returns the session key in the current session..PPIf the application has been restored from an earlier session, this key is the same as it was when the previous session ended..PPThe session key changes with every call of commitData() or saveState()..PPSee also isSessionRestored(), sessionId(), 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 the application allocates colors when run on a display with a limited amount of colors, e.g. 8 bit / 256 color displays..PPThe color specification must be set before you create the QApplication object..PPThe options are:.TPQApplication::NormalColor. This is the default color allocation strategy. Use this option if your application uses buttons, menus, texts and pixmaps with few colors. With this option, 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..TPQApplication::CustomColor. Use this option if your application needs a small number of custom colors. On X11, this option is the same as NormalColor. On Windows, Qt creates a Windows palette, and allocates colors to it on demand..TPQApplication::ManyColor. Use this option if your application is very color hungry (e.g. it requires 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"<sup>*</sup>, 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 with 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 attractive..PPExample:.PP.nf.br  int main( int argc, char **argv ).br  {.br      QApplication::setColorSpec( QApplication::ManyColor );.br      QApplication a( argc, argv );.br      ....br  }.br.fi.PPQColor provides more functionality for controlling color allocation and freeing up certain colors. See QColor::enterAllocContext() for more information..PPTo check what mode you end up with, call QColor::numBitPlanes() once the QApplication object exists. A value greater than 8 (typically 16, 24 or 32) means true color..PP<sup>*</sup> The color cube used by Qt has 216 colors whose red, green, and blue components always have one of the following values: 0x00, 0x33, 0x66, 0x99, 0xCC, or 0xFF..PPSee also colorSpec(), QColor::numBitPlanes(), and QColor::enterAllocContext()..PPExamples:.)l helpviewer/main.cpp, opengl/main.cpp, showimg/main.cpp, t9/main.cpp, tetrax/tetrax.cpp, tetrix/tetrix.cpp, and themes/main.cpp..SH "void QApplication::setCursorFlashTime ( int msecs )\fC [static]\fR"Sets the text cursor's flash (blink) time to \fImsecs\fR milliseconds. The flash time is the time required to display, invert and restore the caret display. 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 )"\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code..PPThis is the same as QTextCodec::setCodecForTr()..SH "void QApplication::setDesktopSettingsAware ( bool on )\fC [static]\fR"By default, Qt will try to use the current standard colors, fonts etc., from the underlying window system's desktop settings, 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 ); // Use default fonts & colors.br    ....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..PPNote: All effects are disabled on screens running at less than 16-bit color depth..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 may adjust themselves to the new application setting. If \fIinformWidgets\fR is FALSE, 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 depending on both the window system version and the locale. This function lets you override the default font; but overriding may be a bad idea because, for example, some locales need extra-large fonts to support their special characters..PPSee also font(), fontMetrics(), and QWidget::font..PPExamples:.)l themes/metal.cpp and themes/themes.cpp..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. tooltips..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.br.fi.PPSee also hasGlobalMouseTracking() and QWidget::mouseTracking..SH "void QApplication::setGlobalStrut ( const QSize & strut )\fC [static]\fR"Sets the application's global strut to \fIstrut\fR..PPThe strut is a size object whose dimensions are the minimum that any GUI element that the user can interact with should have. For example no button should be resized to be smaller than the global strut size..PPThe strut size should be considered when reimplementing GUI controls that may be used on touch-screens or similar IO-devices..PPExample:.PP.nf.br  QSize& WidgetClass::sizeHint() const.br  {.br      return QSize( 80, 25 ).expandedTo( QApplication::globalStrut() );.br  }.br.fi.PPSee also globalStrut()..SH "void QApplication::setLibraryPaths ( const QStringList & paths )\fC [static]\fR"Sets the list of directories to search when loading libraries to \fIpaths\fR. All existing paths will be deleted and the path list will consist of the paths given in \fIpaths\fR..PPSee also libraryPaths(), addLibraryPath(), removeLibraryPath(), and QLibrary..SH "void QApplication::setMainWidget ( QWidget * mainWidget )\fC [virtual]\fR"Sets the application's main widget to \fImainWidget\fR..PPIn most respects the main widget is like any other widget, except that if it is closed, the application exits. Note that QApplication does \fInot\fR take ownership of the \fImainWidget\fR, so if you create your main widget on the heap you must delete it yourself..PPYou need not have a main widget; connecting lastWindowClosed() to quit() is an 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:.)l chart/main.cpp, helpsystem/main.cpp, life/main.cpp, network/ftpclient/main.cpp, opengl/main.cpp, t1/main.cpp, and t4/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 application's widgets 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( QCursor(Qt::WaitCursor) );.br        calculateHugeMandelbrot();              // lunch time....br        QApplication::restoreOverrideCursor();.br.fi.PPSee also overrideCursor(), restoreOverrideCursor(), and QWidget::cursor..PPExamples:.)l distributor/distributor.ui.h, network/archivesearch/archivedialog.ui.h, network/ftpclient/ftpmainwindow.ui.h, and showimg/showimg.cpp..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 may adjust themselves to the new application setting. If \fIinformWidgets\fR is FALSE, the change only affects newly created widgets..PPIf \fIclassName\fR is passed, the change applies only to widgets that inherit \fIclassName\fR (as reported by QObject::inherits()). If \fIclassName\fR is left 0, the change affects all widgets, thus overriding any previously set class specific palettes..PPThe palette may be changed according to the current GUI style in QStyle::polish()..PPSee also QWidget::palette, palette(), and QStyle::polish()..PPExamples:.)l i18n/main.cpp, themes/metal.cpp, themes/themes.cpp, and themes/wood.cpp..SH "void QApplication::setReverseLayout ( bool b )\fC [static]\fR"If \fIb\fR is TRUE, all dialogs and widgets will be laid out in a mirrored fashion, as required by right to left languages such as Arabic and Hebrew. If \fIb\fR is FALSE, dialogs and widgets are laid out left to right..PPChanging this flag in runtime does not cause a relayout of already instantiated widgets..PPSee also reverseLayout()..SH "void QApplication::setStartDragDist

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品美日韩| 国产一区二区按摩在线观看| 国产精品久久久久久久久果冻传媒 | 日韩影院精彩在线| 亚洲电影激情视频网站| 亚洲国产精品麻豆| 亚洲风情在线资源站| 亚洲国产精品久久一线不卡| 亚洲成人自拍网| 日本中文字幕一区二区有限公司| 一区二区三区在线视频免费| 亚洲精品乱码久久久久| 一区二区三区欧美视频| 亚洲国产精品麻豆| 蜜臀av性久久久久蜜臀aⅴ| 七七婷婷婷婷精品国产| 久久99精品久久久久婷婷| 看片的网站亚洲| 国产精品99久久久久久有的能看| 国产老妇另类xxxxx| 成人国产免费视频| 91成人在线精品| 欧美精品欧美精品系列| 91精品视频网| 久久亚洲捆绑美女| 中文字幕高清不卡| 一区二区久久久久| 免费欧美日韩国产三级电影| 久草在线在线精品观看| 成人精品视频一区| 日本大香伊一区二区三区| 欧美日韩国产一区二区三区地区| 日韩欧美一二三| 久久精品日产第一区二区三区高清版 | 五月天中文字幕一区二区| 日本不卡一二三| 国产在线播放一区二区三区| av在线综合网| 欧美日韩大陆一区二区| 欧美mv和日韩mv的网站| 一区免费观看视频| 午夜视频久久久久久| 国产真实乱子伦精品视频| 风流少妇一区二区| 欧美日韩午夜在线视频| 久久美女艺术照精彩视频福利播放| 中文字幕一区二区在线播放| 亚洲成人一区二区| 国产福利一区二区三区在线视频| 色视频成人在线观看免| 欧美一级免费大片| 国产精品美女久久久久aⅴ| 亚洲国产欧美日韩另类综合 | 国产欧美精品区一区二区三区| 亚洲欧美色综合| 美腿丝袜一区二区三区| 不卡视频在线观看| 欧美一级二级三级乱码| 亚洲国产精品国自产拍av| 亚洲第一成年网| 成人一区二区三区视频在线观看 | 一区二区三区四区在线播放| 麻豆成人91精品二区三区| 91麻豆精东视频| 精品乱码亚洲一区二区不卡| 一区二区三区av电影| 国产精品一区二区三区四区| 欧美性生活久久| 国产目拍亚洲精品99久久精品| 亚洲成人激情av| 成人99免费视频| 欧美大片一区二区三区| 亚洲一区在线播放| 成人a级免费电影| 精品免费日韩av| 亚洲成人av一区二区三区| 国产成人精品亚洲日本在线桃色| 欧美精品久久99| 亚洲精品一卡二卡| 成人免费高清在线观看| 精品久久一区二区三区| 亚洲v精品v日韩v欧美v专区| 91欧美激情一区二区三区成人| 久久久久亚洲蜜桃| 日韩vs国产vs欧美| 欧美性色综合网| 亚洲精品国产无套在线观| 成人午夜激情视频| 久久久久久毛片| 精品一区二区三区久久久| 欧美丰满少妇xxxbbb| 亚洲mv在线观看| 在线亚洲免费视频| 亚洲女与黑人做爰| k8久久久一区二区三区| 国产丝袜美腿一区二区三区| 精品一区二区三区视频在线观看 | 欧美一级片免费看| 日韩在线播放一区二区| 91.麻豆视频| 亚洲成人动漫av| 欧美裸体bbwbbwbbw| 亚洲综合视频在线观看| 在线观看亚洲专区| 亚洲精品久久久久久国产精华液| 99久久精品国产一区| 国产精品色眯眯| 成人免费精品视频| 1000部国产精品成人观看| www.成人在线| 亚洲激情在线激情| 91久久线看在观草草青青| 亚洲精品少妇30p| 在线视频国内自拍亚洲视频| 亚洲成人自拍网| 日韩一区二区视频| 久久99精品久久久| 久久久精品tv| 国产乱码精品一区二区三区av | 97久久精品人人做人人爽| 中文字幕日韩精品一区| 色偷偷一区二区三区| 亚洲国产另类av| 欧美一区二区三区喷汁尤物| 老司机午夜精品| 久久先锋资源网| gogogo免费视频观看亚洲一| 亚洲乱码国产乱码精品精的特点| 在线观看国产91| 日本美女一区二区| 精品国产乱码久久久久久蜜臀| 国产精品一区二区久久精品爱涩| 亚洲国产精品传媒在线观看| 色噜噜狠狠色综合欧洲selulu| 亚洲成av人影院在线观看网| 91精品久久久久久蜜臀| 国产麻豆视频一区二区| 亚洲精品成a人| 欧美不卡一区二区三区四区| 成人免费看的视频| 日日夜夜精品免费视频| 国产亚洲精品7777| 欧美中文字幕一区二区三区亚洲| 免费美女久久99| 亚洲欧洲国产日韩| 欧美日韩国产综合一区二区 | 日韩一区二区免费视频| 福利一区二区在线观看| 五月天网站亚洲| 亚洲国产精品精华液2区45| 欧美日韩国产首页| 国产成人精品网址| 丝瓜av网站精品一区二区| 欧美激情艳妇裸体舞| 欧美高清精品3d| 成人午夜av电影| 热久久免费视频| 一色屋精品亚洲香蕉网站| 日韩午夜精品视频| 福利视频网站一区二区三区| 免费观看一级特黄欧美大片| 国产欧美一区二区三区鸳鸯浴| 色婷婷av一区二区三区大白胸| 久久66热re国产| 亚洲女人小视频在线观看| 欧美精品久久久久久久久老牛影院| 伊人色综合久久天天| 精品国产精品网麻豆系列 | 99r精品视频| 美女视频黄 久久| 专区另类欧美日韩| 欧美一区二区三区在线观看| 国产成人av电影在线观看| 亚洲伦理在线精品| 精品国产髙清在线看国产毛片| 欧美视频日韩视频| 风间由美一区二区av101| 视频一区在线视频| 久久久精品黄色| 精品日本一线二线三线不卡| 欧美影院午夜播放| 国产成人午夜电影网| 韩国中文字幕2020精品| 亚洲一区在线电影| 中文av一区二区| 欧美日韩国产另类不卡| 日本乱人伦aⅴ精品| 高清成人免费视频| 麻豆精品视频在线观看免费 | 日韩专区一卡二卡| 中文字幕第一区第二区| 欧美性xxxxx极品少妇| 加勒比av一区二区| 午夜av一区二区| 亚洲丝袜另类动漫二区| 26uuu亚洲综合色欧美| 欧美日韩精品是欧美日韩精品| 99久久er热在这里只有精品66| 久久精品国产99| 亚洲电影视频在线|