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

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

?? qapplication.3qt

?? Trolltech公司發布的基于C++圖形開發環境
?? 3QT
?? 第 1 頁 / 共 5 頁
字號:
.br    // Shows all hidden top level widgets..br    //.br    QWidgetList  *list = QApplication::topLevelWidgets();.br    QWidgetListIt it( *list );  // iterate over the widgets.br    QWidget * w;.br    while ( (w=it.current()) != 0 ) {   // for each top level widget....br        ++it;.br        if ( !w->isVisible() ).br            w->show();.br    }.br    delete list;                // delete the list, not the widgets.fi.PP\fBWarning:\fR Delete the list away as soon you have finished using it. The widgets in the list may be deleted by someone else at any time..PPSee also allWidgets(), QWidget::isTopLevel(), QWidget::isVisible() and QList::isEmpty()..SH "QString QApplication::translate ( const char * scope, const char * key, const char * comment ) const"Returns the translation text for \fIkey,\fR by querying the installed messages files. The message file that was installed last is asked first..PPQObject::tr() offers a more convenient way to use this functionality..PP\fIscope\fR is typically a class name (e.g. \fCMyDialog)\fR and \fIkey\fR is either English text or a short marker text, if the output text will be very long (as for help texts)..PP\fIcomment\fR is a disambiguating comment, for when the same text is used in different roles within one context..PPSee the QTranslator documentation for more information about keys, contexts and comments..PPIf none of the message files contain a translation for \fIkey\fR in \fIscope,\fR this function returns \fIkey.\fR.PPThis function is not virtual, but you can add alternative translation techniques by installing subclasses of QTranslator..PPSee also QObject::tr(), installTranslator(), removeTranslator() and QTranslator..SH "QString QApplication::translate ( const char * context, const char * key ) const"\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..PPThis is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts..PPThis version of the function uses "" as comment..SH "void QApplication::unlock ( bool wakeUpGui = TRUE )"Unlock the Qt library mutex. if \fIwakeUpGui\fR is TRUE (default argument), then the GUI thread will be woken with QApplication::wakeUpGuiThread()..PPSee also lock() and locked()..SH "void QApplication::wakeUpGuiThread ()"Wakes up the GUI thread..PPSee also guiThreadAwake()..SH "int QApplication::wheelScrollLines () \fC[static]\fR"Returns the number of lines to scroll when the mouse wheel is rotated..PPSee also setWheelScrollLines()..SH "QWidget * QApplication::widgetAt ( int x, int y, bool child=FALSE ) \fC[static]\fR"Returns a pointer to the widget at global screen position \fI(x,y),\fR or a null pointer if there is no Qt widget there..PPIf \fIchild\fR is FALSE and there is a child widget at position \fI(x,y),\fR the top-level widget containing it is returned. If \fIchild\fR is TRUE the child widget at position \fI(x,y)\fR is returned..PPThis function is normally rather slow..PPSee also QCursor::pos(), QWidget::grabMouse() and QWidget::grabKeyboard()..SH "QWidget * QApplication::widgetAt ( const QPoint & pos, bool child=FALSE ) \fC[static]\fR"This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts..SH "const QColor& QApplication::winStyleHighlightColor () \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..PPReturns the color used to mark selections in windows style..PPSee also setWinStyleHighlightColor()..SH RELATED FUNCTION DOCUMENTATION.SH "void qFatal (const char * msg, ...)"Prints a fatal error message and exits, or calls the message handler (if it has been installed)..PPThis function takes a format string and a list of arguments, similar to the C printf() function..PPExample:.PP.nf.br    int divide( int a, int b ).br    {.br        if ( b == 0 )                           // program error.br            qFatal( "divide: cannot divide by zero" );.br        return a/b;.br    }.fi.PPUnder X11, the text is printed to stderr. Under Windows, the text is sent to the debugger..PP\fBWarning:\fR The internal buffer is limited to 8196 bytes (including the 0-terminator)..PPSee also qDebug(), qWarning(), qInstallMsgHandler() and Debugging.SH "void qWarning (const char * msg, ...)"Prints a warning message, or calls the message handler (if it has been installed)..PPThis function takes a format string and a list of arguments, similar to the C printf() function..PPExample:.PP.nf.br    void f( int c ).br    {.br        if ( c > 200 ).br            qWarning( "f: bad argument, c == %d", c );.br    }.fi.PPUnder X11, the text is printed to stderr. Under Windows, the text is sent to the debugger..PP\fBWarning:\fR The internal buffer is limited to 8196 bytes (including the 0-terminator)..PPSee also qDebug(), qFatal(), qInstallMsgHandler() and Debugging.PPExamples:.(llife/main.cpp progress/progress.cpp tictac/main.cpp.)l.SH "const char * qVersion ()"Returns the Qt version number for the library, typically "1.30" or "2.1.0"..SH "void qAddPostRoutine (Q_CleanUpFunction p)"Adds a global routine that will be called from the QApplication destructor. This function is normally used to add cleanup routines for program-wide functionality..PPThe function given by \fIp\fR should take no arguments and return nothing, like this:.PP.nf.br    static int *global_ptr = 0;.br.br    static void cleanup_ptr().br    {.br        delete [] global_ptr;.br        global_ptr = 0;.br    }.br.br    void init_ptr().br    {.br        global_ptr = new int[100];      // allocate data.br        qAddPostRoutine( cleanup_ptr ); // delete later.br    }.fi.PPNote that for an application- or module-wide cleanup, qAddPostRoutine() is often not suitable. People have a tendency to make such modules dynamically loaded, and then unload those modules long before the QApplication destructor is called, for example..PPFor modules and libraries, using a reference-counted initialization manager or Qt' parent-child delete mechanism may be better. Here is an example of a private class which uses the parent-child mechanism to call a cleanup function at the right time:.PP.nf.br    class MyPrivateInitStuff: public QObject {.br    private:.br        MyPrivateInitStuff( QObject * parent ): QObject( parent) {.br            // initialization goes here.br        }.br        MyPrivateInitStuff * p;.br.br    public:.br        static MyPrivateInitStuff * initStuff( QObject * parent ) {.br            if ( !p ).br                p = new MyPrivateInitStuff( parent );.br            return p;.br        }.br.br        ~MyPrivateInitStuff() {.br            // cleanup (the "post routine") goes here.br        }.br    }.fi.PPBy selecting the right parent widget/object, this can often be made to clean up the module's data at the exact right moment..SH "void ASSERT (bool test)"Prints a warning message containing the source code file name and line number if \fItest\fR is FALSE..PPThis is really a macro defined in qglobal.h..PPASSERT is useful for testing required conditions in your program..PPExample:.PP.nf.br    //.br    // File: div.cpp.br    //.br.br    #include <qglobal.h>.br.br    int divide( int a, int b ).br    {.br        ASSERT( b != 0 );                       // this is line 9.br        return a/b;.br    }.fi.PPIf \fCb\fR is zero, the ASSERT statement will output the following message using the qWarning() function:.PP.nf.br    ASSERT: "b == 0" in div.cpp (9).fi.PPSee also qWarning() and Debugging.SH "void qDebug (const char * msg, ...)"Prints a debug message, or calls the message handler (if it has been installed)..PPThis function takes a format string and a list of arguments, similar to the C printf() function..PPExample:.PP.nf.br    qDebug( "my window handle = %x", myWidget->id() );.fi.PPUnder X11, the text is printed to stderr. Under Windows, the text is sent to the debugger..PP\fBWarning:\fR The internal buffer is limited to 8196 bytes (including the 0-terminator)..PPSee also qWarning(), qFatal(), qInstallMsgHandler() and Debugging.SH "bool qSysInfo (int * wordSize, bool * bigEndian)"Obtains information about the system..PPThe system's word size in bits (typically 32) is returned in \fI*wordSize.\fR The \fI*bigEndian\fR is set to TRUE if this is a big-endian machine, or to FALSE if this is a little-endian machine..PPThis function calls qFatal() with a message if the computer is truly weird (i.e. different endianness for 16 bit and 32 bit integers)..SH "void CHECK_PTR (void * p)"If \fIp\fR is null, a fatal messages says that the program ran out of memory and exits. If \fIp\fR is not null, nothing happens..PPThis is really a macro defined in qglobal.h..PPExample:.PP.nf.br    int *a;.br    CHECK_PTR( a = new int[80] );       // never do this!.br      // do this instead:.br    a = new int[80];.br    CHECK_PTR( a );                     // this is fine.fi.PPSee also qFatal() and Debugging.SH "msg_handler qInstallMsgHandler (msg_handler h)"Installs a Qt message handler. Returns a pointer to the message handler previously defined..PPThe message handler is a function that prints out debug messages, warnings and fatal error messages. The Qt library (debug version) contains hundreds of warning messages that are printed when internal errors (usually invalid function arguments) occur. If you implement your own message handler, you get total control of these messages..PPThe default message handler prints the message to the standard output under X11 or to the debugger under Windows. If it is a fatal message, the application aborts immediately..PPOnly one message handler can be defined, since this is usually done on an application-wide basis to con

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产欧美一区二区三区鸳鸯浴| 日韩美女视频19| 亚洲一级二级在线| 亚洲一二三专区| 国产一区二区视频在线播放| 国产精品亚洲一区二区三区在线| 99久久综合精品| 日韩三级中文字幕| 亚洲女女做受ⅹxx高潮| 伦理电影国产精品| 99vv1com这只有精品| 日韩欧美中文字幕制服| 一区视频在线播放| 国内不卡的二区三区中文字幕 | 亚洲女人小视频在线观看| 视频一区二区欧美| 成人高清免费在线播放| 51精品秘密在线观看| 国产女同互慰高潮91漫画| 亚洲四区在线观看| 激情小说欧美图片| 在线成人av网站| 亚洲最色的网站| 不卡的电影网站| 久久人人超碰精品| 久久爱www久久做| 欧美日韩大陆一区二区| 亚洲日本免费电影| 不卡一区在线观看| 日韩影院免费视频| 91农村精品一区二区在线| 久久精品一区八戒影视| 国产在线一区观看| 欧美精品一区二区三区蜜桃视频| 日本 国产 欧美色综合| 欧美精品vⅰdeose4hd| 一区二区三区在线免费观看| 97久久久精品综合88久久| 中文字幕av免费专区久久| 国产精品888| 国产亚洲一区二区三区四区| 久久电影网站中文字幕| 精品国内二区三区| 国产成a人亚洲精| 综合电影一区二区三区 | 91麻豆精品在线观看| 亚洲精品中文字幕在线观看| 久久久噜噜噜久久人人看| 国产传媒久久文化传媒| 中文字幕一区二区视频| 91麻豆国产自产在线观看| 亚洲一区二区精品久久av| 欧美男生操女生| 国产成a人无v码亚洲福利| 亚洲特黄一级片| 91精品啪在线观看国产60岁| 福利视频网站一区二区三区| 亚洲国产成人tv| 精品欧美乱码久久久久久1区2区| av电影一区二区| 欧美国产精品劲爆| 26uuu精品一区二区三区四区在线| 日韩一区二区在线观看| 日韩欧美一区电影| 波多野结衣的一区二区三区| 亚洲国产精品久久人人爱| 久久久久久亚洲综合| 欧洲激情一区二区| 国产成人午夜视频| 伦理电影国产精品| 亚洲图片有声小说| 国产日韩精品一区二区三区在线| 欧美在线一二三| 成a人片国产精品| 国内外成人在线| 天堂va蜜桃一区二区三区漫画版| 国产精品久久久久影视| 精品国产123| 欧美一二三在线| 欧美色中文字幕| 色婷婷亚洲精品| 波波电影院一区二区三区| 欧美另类高清zo欧美| 欧美亚洲一区二区在线| av成人老司机| eeuss国产一区二区三区| 国产成人免费视频网站| 久久成人羞羞网站| 麻豆精品精品国产自在97香蕉| 夜夜精品视频一区二区| 综合激情网...| 亚洲男人的天堂一区二区| 国产精品久久久一区麻豆最新章节| 久久久高清一区二区三区| 日韩久久久精品| 久久久五月婷婷| 欧美极品aⅴ影院| 亚洲婷婷综合久久一本伊一区| 亚洲国产精品精华液2区45| 欧美激情资源网| 亚洲日本va午夜在线影院| 一区在线播放视频| 国产激情偷乱视频一区二区三区| 日本伊人色综合网| 国产伦精品一区二区三区视频青涩| 精品一区二区在线观看| 国产一区91精品张津瑜| aa级大片欧美| 91精品国产手机| 国产日韩精品一区二区浪潮av| 国产精品女同一区二区三区| 亚洲在线视频免费观看| 性做久久久久久免费观看| 麻豆一区二区三| 制服丝袜亚洲精品中文字幕| 国内精品国产三级国产a久久| 国产精品1区2区| 欧美在线小视频| 久久久精品综合| 亚洲综合激情另类小说区| 裸体健美xxxx欧美裸体表演| 丁香啪啪综合成人亚洲小说 | 国产精品久久久久婷婷二区次| 一区二区三区中文免费| 国产东北露脸精品视频| 在线播放视频一区| 国产不卡免费视频| 777午夜精品视频在线播放| 国产精品久久久久aaaa樱花 | 日韩欧美中文字幕公布| 亚洲美女电影在线| 国产精品538一区二区在线| 欧美日韩国产综合一区二区| 亚洲欧洲成人精品av97| 精品在线观看视频| 日韩精品一区二区三区四区视频| 亚洲电影中文字幕在线观看| 欧美一级理论性理论a| 国产精品视频yy9299一区| 激情都市一区二区| 欧美成人a∨高清免费观看| 欧美片在线播放| 欧美精品欧美精品系列| 午夜精品久久久久久久蜜桃app| 日韩午夜在线播放| 成人毛片老司机大片| 亚洲免费观看高清完整| 成人av免费观看| 亚洲精品自拍动漫在线| 91行情网站电视在线观看高清版| ㊣最新国产の精品bt伙计久久| 成人a免费在线看| 中文字幕一区在线观看视频| 99re视频精品| 亚洲一区二区在线观看视频 | 日韩电影免费一区| 欧美一区二区三区影视| 国产成人精品一区二区三区网站观看| 久久久国产午夜精品| 91久久精品一区二区三| 国内成+人亚洲+欧美+综合在线| 中文字幕巨乱亚洲| 欧美午夜不卡在线观看免费| 91精品在线观看入口| 成人免费观看视频| 图片区小说区区亚洲影院| 日韩欧美精品在线视频| 99在线精品观看| 美国毛片一区二区三区| 中文字幕亚洲电影| 精品免费日韩av| 色综合久久中文综合久久97| 精品一区二区精品| 午夜精品在线视频一区| 亚洲欧美日韩国产另类专区 | 在线观看成人小视频| 日韩电影免费在线看| 亚洲大片在线观看| 午夜a成v人精品| 日韩国产一二三区| 美女网站色91| 午夜视频久久久久久| 一区二区三区久久| 亚洲免费在线电影| 国产精品久久久久久久久动漫| 久久精品一区二区三区不卡牛牛 | 成人免费的视频| 国内国产精品久久| 久久99精品久久久久| 日本vs亚洲vs韩国一区三区二区| 亚洲人成影院在线观看| 国产精品视频一区二区三区不卡| 日韩精品中文字幕在线不卡尤物| 91精品视频网| 久久免费午夜影院| 亚洲欧洲av在线| 一区二区三区影院| 午夜av电影一区| 国产麻豆精品95视频| 99精品视频一区二区|