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

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

?? qrect.h

?? QT 開發環境里面一個很重要的文件
?? H
?? 第 1 頁 / 共 2 頁
字號:
/******************************************************************************** Copyright (C) 1992-2006 Trolltech ASA. All rights reserved.**** This file is part of the QtCore module of the Qt Toolkit.**** This file may be used under the terms of the GNU General Public** License version 2.0 as published by the Free Software Foundation** and appearing in the file LICENSE.GPL included in the packaging of** this file.  Please review the following information to ensure GNU** General Public Licensing requirements will be met:** http://www.trolltech.com/products/qt/opensource.html**** If you are unsure which license is appropriate for your use, please** review the following information:** http://www.trolltech.com/products/qt/licensing.html or contact the** sales department at sales@trolltech.com.**** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.******************************************************************************/#ifndef QRECT_H#define QRECT_H#include <QtCore/qsize.h>#include <QtCore/qpoint.h>#ifdef topLeft#error qrect.h must be included before any header file that defines topLeft#endifQT_BEGIN_HEADERQT_MODULE(Core)class Q_CORE_EXPORT QRect{public:    QRect() { x1 = y1 = 0; x2 = y2 = -1; }    QRect(const QPoint &topleft, const QPoint &bottomright);    QRect(const QPoint &topleft, const QSize &size);    QRect(int left, int top, int width, int height);    bool isNull() const;    bool isEmpty() const;    bool isValid() const;    int left() const;    int top() const;    int right() const;    int bottom() const;    QRect normalized() const;#ifdef QT3_SUPPORT    QT3_SUPPORT int &rLeft() { return x1; }    QT3_SUPPORT int &rTop() { return y1; }    QT3_SUPPORT int &rRight() { return x2; }    QT3_SUPPORT int &rBottom() { return y2; }    QT3_SUPPORT QRect normalize() const { return normalized(); }#endif    int x() const;    int y() const;    void setLeft(int pos);    void setTop(int pos);    void setRight(int pos);    void setBottom(int pos);    void setX(int x);    void setY(int y);    void setTopLeft(const QPoint &p);    void setBottomRight(const QPoint &p);    void setTopRight(const QPoint &p);    void setBottomLeft(const QPoint &p);    QPoint topLeft() const;    QPoint bottomRight() const;    QPoint topRight() const;    QPoint bottomLeft() const;    QPoint center() const;    void moveLeft(int pos);    void moveTop(int pos);    void moveRight(int pos);    void moveBottom(int pos);    void moveTopLeft(const QPoint &p);    void moveBottomRight(const QPoint &p);    void moveTopRight(const QPoint &p);    void moveBottomLeft(const QPoint &p);    void moveCenter(const QPoint &p);    inline void translate(int dx, int dy);    inline void translate(const QPoint &p);    inline QRect translated(int dx, int dy) const;    inline QRect translated(const QPoint &p) const;    void moveTo(int x, int t);    void moveTo(const QPoint &p);#ifdef QT3_SUPPORT    QT3_SUPPORT void moveBy(int dx, int dy) { translate(dx, dy); }    QT3_SUPPORT void moveBy(const QPoint &p) { translate(p); }#endif    void setRect(int x, int y, int w, int h);    inline void getRect(int *x, int *y, int *w, int *h) const;    void setCoords(int x1, int y1, int x2, int y2);#ifdef QT3_SUPPORT    QT3_SUPPORT void addCoords(int x1, int y1, int x2, int y2);#endif    inline void getCoords(int *x1, int *y1, int *x2, int *y2) const;    inline void adjust(int x1, int y1, int x2, int y2);    inline QRect adjusted(int x1, int y1, int x2, int y2) const;    QSize size() const;    int width() const;    int height() const;    void setWidth(int w);    void setHeight(int h);    void setSize(const QSize &s);    QRect operator|(const QRect &r) const;    QRect operator&(const QRect &r) const;    QRect& operator|=(const QRect &r);    QRect& operator&=(const QRect &r);    bool contains(const QPoint &p, bool proper=false) const;    bool contains(int x, int y) const; // inline methods, _don't_ merge these    bool contains(int x, int y, bool proper) const;    bool contains(const QRect &r, bool proper = false) const;    QRect unite(const QRect &r) const;  // ### Qt 5: make QT4_SUPPORT    QRect united(const QRect &other) const;    QRect intersect(const QRect &r) const;  // ### Qt 5: make QT4_SUPPORT    QRect intersected(const QRect &other) const;    bool intersects(const QRect &r) const;    friend Q_CORE_EXPORT_INLINE bool operator==(const QRect &, const QRect &);    friend Q_CORE_EXPORT_INLINE bool operator!=(const QRect &, const QRect &);#ifdef QT3_SUPPORT    inline QT3_SUPPORT void rect(int *x, int *y, int *w, int *h) const { getRect(x, y, w, h); }    inline QT3_SUPPORT void coords(int *ax1, int *ay1, int *ax2, int *ay2) const    { getCoords(ax1, ay1, ax2, ay2); }#endifprivate:#if defined(Q_WS_X11) || defined(Q_OS_TEMP)    friend void qt_setCoords(QRect *r, int xp1, int yp1, int xp2, int yp2);#endif#if defined(Q_OS_MAC)    int y1;    int x1;    int y2;    int x2;#else    int x1;    int y1;    int x2;    int y2;#endif};Q_DECLARE_TYPEINFO(QRect, Q_MOVABLE_TYPE);Q_CORE_EXPORT_INLINE bool operator==(const QRect &, const QRect &);Q_CORE_EXPORT_INLINE bool operator!=(const QRect &, const QRect &);/*****************************************************************************  QRect stream functions *****************************************************************************/#ifndef QT_NO_DATASTREAMQ_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QRect &);Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QRect &);#endif/*****************************************************************************  QRect inline member functions *****************************************************************************/inline QRect::QRect(int aleft, int atop, int awidth, int aheight){    x1 = aleft;    y1 = atop;    x2 = (aleft + awidth - 1);    y2 = (atop + aheight - 1);}inline QRect::QRect(const QPoint &atopLeft, const QPoint &abottomRight){    x1 = atopLeft.x();    y1 = atopLeft.y();    x2 = abottomRight.x();    y2 = abottomRight.y();}inline QRect::QRect(const QPoint &atopLeft, const QSize &asize){    x1 = atopLeft.x();    y1 = atopLeft.y();    x2 = (x1+asize.width() - 1);    y2 = (y1+asize.height() - 1);}inline bool QRect::isNull() const{ return x2 == x1 - 1 && y2 == y1 - 1; }inline bool QRect::isEmpty() const{ return x1 > x2 || y1 > y2; }inline bool QRect::isValid() const{ return x1 <= x2 && y1 <= y2; }inline int QRect::left() const{ return x1; }inline int QRect::top() const{ return y1; }inline int QRect::right() const{ return x2; }inline int QRect::bottom() const{ return y2; }inline int QRect::x() const{ return x1; }inline int QRect::y() const{ return y1; }inline void QRect::setLeft(int pos){ x1 = pos; }inline void QRect::setTop(int pos){ y1 = pos; }inline void QRect::setRight(int pos){ x2 = pos; }inline void QRect::setBottom(int pos){ y2 = pos; }inline void QRect::setTopLeft(const QPoint &p){ x1 = p.x(); y1 = p.y(); }inline void QRect::setBottomRight(const QPoint &p){ x2 = p.x(); y2 = p.y(); }inline void QRect::setTopRight(const QPoint &p){ x2 = p.x(); y1 = p.y(); }inline void QRect::setBottomLeft(const QPoint &p){ x1 = p.x(); y2 = p.y(); }inline void QRect::setX(int ax){ x1 = ax; }inline void QRect::setY(int ay){ y1 = ay; }inline QPoint QRect::topLeft() const{ return QPoint(x1, y1); }inline QPoint QRect::bottomRight() const{ return QPoint(x2, y2); }inline QPoint QRect::topRight() const{ return QPoint(x2, y1); }inline QPoint QRect::bottomLeft() const{ return QPoint(x1, y2); }inline QPoint QRect::center() const{ return QPoint((x1+x2)/2, (y1+y2)/2); }inline int QRect::width() const{ return  x2 - x1 + 1; }inline int QRect::height() const{ return  y2 - y1 + 1; }inline QSize QRect::size() const{ return QSize(width(), height()); }inline void QRect::translate(int dx, int dy){    x1 += dx;    y1 += dy;    x2 += dx;    y2 += dy;}inline void QRect::translate(const QPoint &p){    x1 += p.x();    y1 += p.y();    x2 += p.x();    y2 += p.y();}inline QRect QRect::translated(int dx, int dy) const{ return QRect(QPoint(x1 + dx, y1 + dy), QPoint(x2 + dx, y2 + dy)); }inline QRect QRect::translated(const QPoint &p) const{ return QRect(QPoint(x1 + p.x(), y1 + p.y()), QPoint(x2 + p.x(), y2 + p.y())); }inline void QRect::moveTo(int ax, int ay){    x2 += ax - x1;    y2 += ay - y1;    x1 = ax;    y1 = ay;}inline void QRect::moveTo(const QPoint &p){    x2 += p.x() - x1;    y2 += p.y() - y1;    x1 = p.x();    y1 = p.y();}inline void QRect::moveLeft(int pos){ x2 += (pos - x1); x1 = pos; }inline void QRect::moveTop(int pos){ y2 += (pos - y1); y1 = pos; }inline void QRect::moveRight(int pos){    x1 += (pos - x2);    x2 = pos;}inline void QRect::moveBottom(int pos){    y1 += (pos - y2);    y2 = pos;}inline void QRect::moveTopLeft(const QPoint &p){    moveLeft(p.x());    moveTop(p.y());}inline void QRect::moveBottomRight(const QPoint &p){    moveRight(p.x());    moveBottom(p.y());}inline void QRect::moveTopRight(const QPoint &p){    moveRight(p.x());    moveTop(p.y());}inline void QRect::moveBottomLeft(const QPoint &p){    moveLeft(p.x());    moveBottom(p.y());}inline void QRect::getRect(int *ax, int *ay, int *aw, int *ah) const{    *ax = x1;    *ay = y1;    *aw = x2 - x1 + 1;    *ah = y2 - y1 + 1;}inline void QRect::setRect(int ax, int ay, int aw, int ah){    x1 = ax;    y1 = ay;    x2 = (ax + aw - 1);    y2 = (ay + ah - 1);}inline void QRect::getCoords(int *xp1, int *yp1, int *xp2, int *yp2) const{    *xp1 = x1;    *yp1 = y1;    *xp2 = x2;    *yp2 = y2;}inline void QRect::setCoords(int xp1, int yp1, int xp2, int yp2){    x1 = xp1;    y1 = yp1;    x2 = xp2;    y2 = yp2;}#ifdef QT3_SUPPORTinline void QRect::addCoords(int dx1, int dy1, int dx2, int dy2){    adjust(dx1, dy1, dx2, dy2);}#endifinline QRect QRect::adjusted(int xp1, int yp1, int xp2, int yp2) const{ return QRect(QPoint(x1 + xp1, y1 + yp1), QPoint(x2 + xp2, y2 + yp2)); }inline void QRect::adjust(int dx1, int dy1, int dx2, int dy2)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人h动漫精品一区二| 欧美精彩视频一区二区三区| 亚洲精品在线一区二区| 国产精品初高中害羞小美女文| 亚洲图片欧美综合| 国产精品一区二区三区99| 日本高清视频一区二区| 亚洲国产精品激情在线观看| 日本sm残虐另类| 欧美亚洲尤物久久| 最新日韩在线视频| 成人午夜电影小说| 久久久国际精品| 久久不见久久见免费视频7| 欧美日韩视频第一区| 亚洲三级免费观看| 91丨porny丨首页| 日本一二三四高清不卡| 国产一区二区三区高清播放| 欧美一区二区精品| 午夜精品在线看| 91黄色免费观看| 亚洲欧美日韩国产手机在线| 不卡一区二区中文字幕| 欧美国产1区2区| 丁香啪啪综合成人亚洲小说 | 成人av电影在线| 欧美国产在线观看| 国产一区二区不卡在线| 久久影院视频免费| 国产精品99久久久久久久vr | 国产成人在线视频网址| 欧美一二三在线| 日本aⅴ亚洲精品中文乱码| 欧美一区二区三区四区视频| 日本成人超碰在线观看| 91麻豆精品国产91久久久久久久久 | 亚洲制服丝袜在线| 欧美性受xxxx黑人xyx| 亚洲二区在线观看| 91精品国产日韩91久久久久久| 婷婷综合另类小说色区| 欧美一区二区视频在线观看2020 | 一级精品视频在线观看宜春院 | 在线播放日韩导航| 日韩有码一区二区三区| 日韩欧美国产一区二区在线播放 | 日日夜夜精品视频免费| 日韩一区二区三区在线观看| 久久福利资源站| 欧美国产禁国产网站cc| 在线亚洲免费视频| 日本最新不卡在线| 国产亚洲短视频| 91色九色蝌蚪| 免费在线一区观看| 国产精品卡一卡二| 欧美三区在线观看| 韩国在线一区二区| 亚洲激情第一区| 日韩欧美www| 不卡视频一二三| 日韩电影在线观看一区| 久久精品夜色噜噜亚洲a∨| 色综合天天综合网天天看片| 日本欧美一区二区三区乱码| 国产拍揄自揄精品视频麻豆| 欧美性受xxxx黑人xyx性爽| 国产麻豆精品久久一二三| 亚洲欧美日韩久久| 久久色.com| 欧美日韩一区高清| 国产成人精品aa毛片| 婷婷久久综合九色综合绿巨人| 久久久久久电影| 欧美福利电影网| 99re热这里只有精品免费视频| 秋霞电影一区二区| 亚洲视频一区二区在线| 久久久久青草大香线综合精品| 欧美亚洲综合在线| 99麻豆久久久国产精品免费| 精品在线你懂的| 日韩在线a电影| 亚洲狼人国产精品| 欧美国产在线观看| 精品国产乱码久久久久久闺蜜 | 久久人人97超碰com| 欧美日韩免费观看一区二区三区| 国产高清精品在线| 日本午夜精品视频在线观看| 亚洲黄网站在线观看| 国产精品久久久久天堂| 久久这里只有精品6| 欧美一区二区三区四区在线观看| 欧美色综合影院| 色综合久久六月婷婷中文字幕| 成人免费视频视频| 国产成人免费视频网站高清观看视频| 麻豆精品视频在线观看| 午夜国产精品影院在线观看| 一区二区三区中文在线| 成人欧美一区二区三区白人| 中国色在线观看另类| 久久久久久久综合日本| 精品精品国产高清一毛片一天堂| 欧美日韩国产成人在线免费| 欧美在线三级电影| 欧美在线影院一区二区| 欧洲精品中文字幕| 日本精品一级二级| 91黄色免费观看| 欧美私模裸体表演在线观看| 欧美亚洲一区三区| 欧美日本国产视频| 7777精品伊人久久久大香线蕉的| 欧美日韩国产大片| 91精品国产入口| 2020国产精品久久精品美国| 精品播放一区二区| 久久综合九色综合欧美就去吻| www国产精品av| 国产精品嫩草影院av蜜臀| 国产精品蜜臀av| 一区二区三区四区在线免费观看| 亚洲伊人色欲综合网| 日韩精品91亚洲二区在线观看 | 91视频91自| 欧美日韩国产综合一区二区三区| 制服.丝袜.亚洲.另类.中文| 日韩情涩欧美日韩视频| 久久综合av免费| 国产精品电影院| 伊人一区二区三区| 狂野欧美性猛交blacked| 国产精品一级二级三级| 91美女视频网站| 69精品人人人人| 国产人成亚洲第一网站在线播放| 亚洲免费观看高清完整版在线| 亚洲成人一区二区在线观看| 久久国产欧美日韩精品| 成人va在线观看| 欧美男女性生活在线直播观看| 欧美mv日韩mv国产网站| 亚洲少妇中出一区| 另类欧美日韩国产在线| 99久久精品免费看国产免费软件| 欧美亚日韩国产aⅴ精品中极品| 欧美一区二区视频在线观看| 国产精品美女视频| 男人操女人的视频在线观看欧美| 国产一区二区三区不卡在线观看 | 在线一区二区三区| 日韩美一区二区三区| 亚洲三级电影网站| 紧缚捆绑精品一区二区| 在线观看国产日韩| 久久嫩草精品久久久久| 亚洲成av人片一区二区梦乃| av在线综合网| 欧美xingq一区二区| 亚洲一二三专区| 不卡一二三区首页| 欧美xxxxxxxxx| 午夜精品福利一区二区蜜股av | 国产精品 欧美精品| 欧美日韩国产成人在线免费| 亚洲欧美综合在线精品| 精品一区二区国语对白| 欧美日韩中字一区| 亚洲伦在线观看| 国产成人午夜精品影院观看视频 | 日本欧美一区二区在线观看| 色哟哟亚洲精品| 国产精品色哟哟网站| 美腿丝袜亚洲综合| 欧美日韩精品一区二区天天拍小说| 日本一区二区视频在线| 国产一区欧美一区| 精品毛片乱码1区2区3区| 日韩在线观看一区二区| 欧美视频一区二区| 亚洲主播在线观看| 日本久久电影网| 亚洲乱码国产乱码精品精小说| 99视频精品全部免费在线| 国产欧美日韩久久| 成人午夜短视频| 国产喂奶挤奶一区二区三区| 国产一区二区在线观看视频| 精品国产亚洲在线| 蜜桃视频免费观看一区| 欧美大片在线观看| 久久99国产乱子伦精品免费| 久久亚洲欧美国产精品乐播| 国产一区二区三区在线观看免费视频| 欧美成人激情免费网| 国产自产高清不卡| 亚洲国产精品传媒在线观看|