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

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

?? qmotifplusstyle.cpp

?? qtopia-phone-2.2.0下公共的控件實現源代碼。
?? CPP
?? 第 1 頁 / 共 3 頁
字號:
    }    int indent = ((y + h) / 2) - 6;    drawArrow(p, Qt::DownArrow, TRUE, x + w - indent - 13, indent,	13, 13, g, TRUE, fill);}/*!  \reimp*/QRect QMotifPlusStyle::comboButtonRect(int x, int y, int w, int h){    QRect r(x + (defaultFrameWidth() * 2), y + (defaultFrameWidth() * 2),	    w - (defaultFrameWidth() * 4), h - (defaultFrameWidth() * 4));    int indent = ((y + h) / 2) - defaultFrameWidth();    r.setRight(r.right() - indent - 13);    return r;}/*!  \reimp*/QRect QMotifPlusStyle::comboButtonFocusRect(int x, int y, int w, int h){    return comboButtonRect(x, y, w, h);}/*!  \reimp*/void QMotifPlusStyle::drawPanel(QPainter *p, int x, int y, int w, int h,			   const QColorGroup &g, bool sunken,			   int, const QBrush *){    QPen oldpen = p->pen();    QPointArray a(4);    if (sunken) p->setPen(g.dark());    else p->setPen(g.light());    a.setPoint(0, x, y + h - 1);    a.setPoint(1, x, y);    a.setPoint(2, x, y);    a.setPoint(3, x + w - 1, y);    p->drawLineSegments(a);    if (sunken) p->setPen(black);    else p->setPen(g.button());    a.setPoint(0, x + 1, y + h - 2);    a.setPoint(1, x + 1, y + 1);    a.setPoint(2, x + 1, y + 1);    a.setPoint(3, x + w - 2, y + 1);    p->drawLineSegments(a);    if (sunken) p->setPen(g.button());    else p->setPen(g.dark());    a.setPoint(0, x + 2, y + h - 2);    a.setPoint(1, x + w - 2, y + h - 2);    a.setPoint(2, x + w - 2, y + h - 2);    a.setPoint(3, x + w - 2, y + 2);    p->drawLineSegments(a);    if (sunken) p->setPen(g.light());    else p->setPen(black);    a.setPoint(0, x + 1, y + h - 1);    a.setPoint(1, x + w - 1, y + h - 1);    a.setPoint(2, x + w - 1, y + h - 1);    a.setPoint(3, x + w - 1, y);    p->drawLineSegments(a);    p->setPen(oldpen);}/*!  \reimp*/void QMotifPlusStyle::drawIndicator(QPainter *p, int x, int y ,int w, int h,			       const QColorGroup &g, int state,			       bool, bool){    QBrush fill;    if (state != QButton::Off) fill = g.brush(QColorGroup::Mid);    else fill = g.brush(QColorGroup::Button);    if (state == QButton::NoChange) {        qDrawPlainRect(p, x, y, w, h, g.text(), 1, &fill);        p->drawLine(x + w - 1, y, x, y + h - 1);    } else {        drawButton(p, x, y, w, h, g, (state != QButton::Off), &fill);    }}/*!  \reimp*/QSize QMotifPlusStyle::indicatorSize() const{    return QSize(10, 10);}/*!  \reimp*/void QMotifPlusStyle::drawExclusiveIndicator(QPainter *p, int x, int y, int w, int h,					const QColorGroup &g, bool on,					bool, bool){    QPen oldpen =  p->pen();    p->fillRect(x, y, w, h, g.button());    QPointArray thick(8);    QPointArray thin(4);    if (on) {        thick.setPoint(0, x, y + (h / 2));	thick.setPoint(1, x + (w / 2), y);	thick.setPoint(2, x + 1, y + (h / 2));	thick.setPoint(3, x + (w / 2), y + 1);	thick.setPoint(4, x + (w / 2), y);	thick.setPoint(5, x + w - 1, y + (h / 2));	thick.setPoint(6, x + (w / 2), y + 1);	thick.setPoint(7, x + w - 2, y + (h / 2));	p->setPen(g.dark());	p->drawLineSegments(thick);	thick.setPoint(0, x + 1, y + (h / 2) + 1);	thick.setPoint(1, x + (w / 2), y + h - 1);	thick.setPoint(2, x + 2, y + (h / 2) + 1);	thick.setPoint(3, x + (w / 2), y + h - 2);	thick.setPoint(4, x + (w / 2), y + h - 1);	thick.setPoint(5, x + w - 2, y + (h / 2) + 1);	thick.setPoint(6, x + (w / 2), y + h - 2);	thick.setPoint(7, x + w - 3, y + (h / 2) + 1);	p->setPen(g.light());	p->drawLineSegments(thick);	thin.setPoint(0, x + 2, y + (h / 2));	thin.setPoint(1, x + (w / 2), y + 2);	thin.setPoint(2, x + (w / 2), y + 2);	thin.setPoint(3, x + w - 3, y + (h / 2));	p->setPen(black);	p->drawLineSegments(thin);	thin.setPoint(0, x + 3, y + (h / 2) + 1);	thin.setPoint(1, x + (w / 2), y + h - 3);	thin.setPoint(2, x + (w / 2), y + h - 3);	thin.setPoint(3, x + w - 4, y + (h / 2) + 1);	p->setPen(g.mid());	p->drawLineSegments(thin);    } else {        thick.setPoint(0, x, y + (h / 2));	thick.setPoint(1, x + (w / 2), y);	thick.setPoint(2, x + 1, y + (h / 2));	thick.setPoint(3, x + (w / 2), y + 1);	thick.setPoint(4, x + (w / 2), y);	thick.setPoint(5, x + w - 1, y + (h / 2));	thick.setPoint(6, x + (w / 2), y + 1);	thick.setPoint(7, x + w - 2, y + (h / 2));	p->setPen(g.light());	p->drawLineSegments(thick);	thick.setPoint(0, x + 2, y + (h / 2) + 1);	thick.setPoint(1, x + (w / 2), y + h - 2);	thick.setPoint(2, x + 3, y + (h / 2) + 1);	thick.setPoint(3, x + (w / 2), y + h - 3);	thick.setPoint(4, x + (w / 2), y + h - 2);	thick.setPoint(5, x + w - 3, y + (h / 2) + 1);	thick.setPoint(6, x + (w / 2), y + h - 3);	thick.setPoint(7, x + w - 4, y + (h / 2) + 1);	p->setPen(g.dark());	p->drawLineSegments(thick);	thin.setPoint(0, x + 2, y + (h / 2));	thin.setPoint(1, x + (w / 2), y + 2);	thin.setPoint(2, x + (w / 2), y + 2);	thin.setPoint(3, x + w - 3, y + (h / 2));	p->setPen(g.button());	p->drawLineSegments(thin);	thin.setPoint(0, x + 1, y + (h / 2) + 1);	thin.setPoint(1, x + (w / 2), y + h - 1);	thin.setPoint(2, x + (w / 2), y + h - 1);	thin.setPoint(3, x + w - 2, y + (h / 2) + 1);	p->setPen(black);	p->drawLineSegments(thin);    }    p->setPen(oldpen);}/*!  \reimp*/QSize QMotifPlusStyle::exclusiveIndicatorSize() const{    return QSize(11, 11);}/*!  \reimp*/void QMotifPlusStyle::drawMenuBarItem(QPainter *p, int x, int y, int w, int h, QMenuItem *mi,			 QColorGroup &g, bool enabled, bool activated){    if (enabled && activated)	drawButton(p, x, y, w, h, d->prelight_palette.active(), FALSE);    drawItem(p, x, y, w, h, AlignCenter | ShowPrefix | DontClip | SingleLine,	     g, enabled, mi->pixmap(), mi->text(), -1, &g.buttonText());}/*!  \reimp*/void QMotifPlusStyle::drawPopupMenuItem(QPainter *p, bool checkable, int maxpmw, int tab,				   QMenuItem *mi, const QPalette &pl, bool act,				   bool enabled, int x, int y, int w, int h){    QPalette pal = (act && enabled) ? d->prelight_palette : pl;    const QColorGroup & g = pal.active();    QColorGroup itemg = (! enabled) ? pal.disabled() : pal.active();    if (checkable)	maxpmw = QMAX(maxpmw, 15);    int checkcol = maxpmw;    if (mi && mi->isSeparator()) {	p->setPen( g.dark() );	p->drawLine( x, y, x+w, y );	p->setPen( g.light() );	p->drawLine( x, y+1, x+w, y+1 );	return;    }    if ( act && enabled ) drawButton(p, x, y, w, h, g, FALSE, &g.brush(QColorGroup::Button));    else p->fillRect(x, y, w, h, g.brush( QColorGroup::Button ));    if ( !mi )	return;    if ( mi->isChecked() ) {#ifndef QT_NO_ICONSET	if ( mi->iconSet() ) {	    qDrawShadePanel( p, x+2, y+2, checkcol, h-2*2,			     g, TRUE, 1, &g.brush( QColorGroup::Midlight ) );	}#endif    } else if ( !act ) {	p->fillRect(x+2, y+2, checkcol, h-2*2,		    g.brush( QColorGroup::Button ));    }#ifndef QT_NO_ICONSET    if ( mi->iconSet() ) {		// draw iconset	QIconSet::Mode mode = (enabled) ? QIconSet::Normal : QIconSet::Disabled;	if (act && enabled)	    mode = QIconSet::Active;	QPixmap pixmap = mi->iconSet()->pixmap(QIconSet::Small, mode);	int pixw = pixmap.width();	int pixh = pixmap.height();	QRect cr( x + 2, y+2, checkcol, h-2*2 );	QRect pmr( 0, 0, pixw, pixh );	pmr.moveCenter(cr.center());	p->setPen( itemg.text() );	p->drawPixmap( pmr.topLeft(), pixmap );    } else#endif    if (checkable) {	int mw = checkcol;	int mh = h - 4;	if (mi->isChecked())	    drawCheckMark(p, x+2, y+2, mw, mh, itemg, act, ! enabled);    }    p->setPen( g.buttonText() );    QColor discol;    if (! enabled) {	discol = itemg.text();	p->setPen( discol );    }    if (mi->custom()) {	p->save();	mi->custom()->paint(p, itemg, act, enabled, x + checkcol + 4, y + 2,			    w - checkcol - tab - 3, h - 4);	p->restore();    }    QString s = mi->text();    if ( !s.isNull() ) {			// draw text	int t = s.find( '\t' );	int m = 2;	const int text_flags = AlignVCenter|ShowPrefix | DontClip | SingleLine;	if ( t >= 0 ) {				// draw tab text	    p->drawText( x+w-tab-2-2,			 y+m, tab, h-2*m, text_flags, s.mid( t+1 ) );	}	p->drawText(x + checkcol + 4, y + 2, w - checkcol -tab - 3, h - 4,		    text_flags, s, t);    } else if (mi->pixmap()) {	QPixmap *pixmap = mi->pixmap();	if (pixmap->depth() == 1) p->setBackgroundMode(OpaqueMode);	p->drawPixmap(x + checkcol + 2, y + 2, *pixmap);	if (pixmap->depth() == 1) p->setBackgroundMode(TransparentMode);    }    if (mi->popup()) {	int hh = h / 2;	drawArrow(p, RightArrow, (act) ? mi->isEnabled() : FALSE,		  x + w - hh - 6, y + (hh / 2), hh, hh, g, mi->isEnabled());    }}/*!  \reimp*/int QMotifPlusStyle::defaultFrameWidth() const{    return 2;}/*!  \reimp*/void QMotifPlusStyle::drawArrow(QPainter *p, ArrowType type, bool down,			   int x, int y, int w, int h,			   const QColorGroup &g, bool, const QBrush *){    QPen oldpen = p->pen();    QBrush oldbrush = p->brush();    p->save();    QPointArray poly(3);    p->setBrush(g.button());    switch (type) {    case UpArrow:	{	    poly.setPoint(0, x + (w / 2), y );	    poly.setPoint(1, x, y + h - 1);	    poly.setPoint(2, x + w - 1, y + h - 1);	    p->drawPolygon(poly);	    if (down) p->setPen(g.button());	    else p->setPen(g.dark());	    p->drawLine(x + 1, y + h - 2, x + w - 2, y + h - 2);	    if (down) p->setPen(g.light());	    else p->setPen(black);	    p->drawLine(x, y + h - 1, x + w - 1, y + h - 1);	    if (down) p->setPen(g.button());	    else p->setPen(g.dark());	    p->drawLine(x + w - 2, y + h - 1, x + (w / 2), y + 1);	    if (down) p->setPen(g.light());	    else p->setPen(black);	    p->drawLine(x + w - 1, y + h - 1, x + (w / 2), y);	    if (down) p->setPen(black);	    else p->setPen(g.button());	    p->drawLine(x + (w / 2), y + 1, x + 1, y + h - 1);	    if (down) p->setPen(g.dark());	    else p->setPen(g.light());	    p->drawLine(x + (w / 2), y, x, y + h - 1);	    break;    	}    case DownArrow:	{	    poly.setPoint(0, x + w - 1, y);	    poly.setPoint(1, x, y);	    poly.setPoint(2, x + (w / 2), y + h - 1);	    p->drawPolygon(poly);	    if (down) p->setPen(black);	    else p->setPen(g.button());	    p->drawLine(x + w - 2, y + 1, x + 1, y + 1);	    if (down) p->setPen(g.dark());	    else p->setPen(g.light());	    p->drawLine(x + w - 1, y, x, y);	    if (down) p->setPen(black);	    else p->setPen(g.button());	    p->drawLine(x + 1, y, x + (w / 2), y + h - 2);	    if (down) p->setPen(g.dark());	    else p->setPen(g.light());	    p->drawLine(x, y, x + (w / 2), y + h - 1);	    if (down) p->setPen(g.button());	    else p->setPen(g.dark());	    p->drawLine(x + (w / 2), y + h - 2, x + w - 2, y);	    if (down) p->setPen(g.light());	    else p->setPen(black);	    p->drawLine(x + (w / 2), y + h - 1, x + w - 1, y);	    break;	}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产高清精品在线| 精品国产网站在线观看| 99久久99久久免费精品蜜臀| 国产精品亚洲视频| 国产黑丝在线一区二区三区| 国产伦精品一区二区三区免费| 精品一区二区综合| 精品一区二区影视| 国产精品自拍网站| 成人一区二区视频| 97精品电影院| 在线精品视频免费播放| 欧美视频中文字幕| 欧美高清视频一二三区| 欧美一级日韩不卡播放免费| 精品欧美一区二区三区精品久久| 亚洲精品一线二线三线无人区| 国产亚洲短视频| 国产精品久久久久aaaa樱花| 亚洲精品乱码久久久久| 亚洲123区在线观看| 久久99精品久久久久久国产越南| 国产一区二区三区四区五区入口| 懂色av一区二区夜夜嗨| 色婷婷国产精品| 911精品国产一区二区在线| 日韩欧美中文一区| 国产欧美综合色| 亚洲女同一区二区| 欧美aaa在线| 风间由美一区二区三区在线观看| 91丨九色丨尤物| 欧美一区二区三区免费在线看| 久久久久亚洲蜜桃| 亚洲色图制服诱惑| 免费在线观看一区二区三区| 国产91精品免费| 欧美三级电影网| 国产婷婷色一区二区三区四区| 亚洲激情图片小说视频| 免播放器亚洲一区| 成人av电影在线| 8x福利精品第一导航| 国产人成亚洲第一网站在线播放| 一区二区三区四区蜜桃| 另类中文字幕网| 不卡av电影在线播放| 日韩一区二区在线免费观看| 中文字幕亚洲精品在线观看| 日本免费在线视频不卡一不卡二| 国产米奇在线777精品观看| 97久久精品人人做人人爽50路| 日韩一区二区三区高清免费看看| 亚洲欧洲日韩女同| 麻豆精品视频在线观看免费| 91免费小视频| 久久在线免费观看| 午夜精品久久久久久不卡8050| 国产精品18久久久久久久久| 欧美日韩国产精选| 久久久精品影视| 日韩va欧美va亚洲va久久| 91丨九色丨蝌蚪丨老版| 久久精品夜色噜噜亚洲a∨| 亚洲国产精品一区二区www在线| 国产jizzjizz一区二区| 欧美日韩精品欧美日韩精品| 中文字幕欧美一| 国产精品亚洲专一区二区三区| 欧美亚洲愉拍一区二区| 国产精品三级电影| 久热成人在线视频| 欧美麻豆精品久久久久久| 亚洲女同ⅹxx女同tv| 国产91精品免费| 久久综合视频网| 免费成人av在线播放| 欧美无砖砖区免费| 中文字幕一区二区三区在线播放| 国产美女在线观看一区| 日韩亚洲欧美中文三级| 午夜视频在线观看一区二区三区| 色婷婷香蕉在线一区二区| 中文字幕亚洲一区二区va在线| 国内精品伊人久久久久av影院| 7777精品伊人久久久大香线蕉完整版| 亚洲三级在线播放| 国产成人精品一区二| 久久众筹精品私拍模特| 黄色资源网久久资源365| 欧美一区二区三区日韩| 日日夜夜精品视频天天综合网| 在线观看日韩av先锋影音电影院| 亚洲人吸女人奶水| av成人免费在线观看| 中文字幕乱码久久午夜不卡| 欧美日本一区二区三区四区| 美女任你摸久久| 欧美综合天天夜夜久久| 亚洲另类春色国产| 日本高清视频一区二区| 亚洲麻豆国产自偷在线| 日本道色综合久久| 一区二区三区日韩欧美精品| 91在线观看免费视频| 最新国产精品久久精品| 91香蕉视频mp4| 亚洲久草在线视频| 91久久国产最好的精华液| 一区二区三区久久| 在线免费精品视频| 五月天欧美精品| 欧美一区二区三区免费在线看| 毛片基地黄久久久久久天堂| 精品国产第一区二区三区观看体验| 久国产精品韩国三级视频| 精品88久久久久88久久久| 国产一区二区调教| 国产精品的网站| 在线观看亚洲a| 日本亚洲三级在线| 久久无码av三级| av电影在线观看不卡| 亚洲五月六月丁香激情| 91精品国产综合久久福利| 精品亚洲国产成人av制服丝袜| 久久精品夜色噜噜亚洲aⅴ| 99国产精品久久久久| 婷婷久久综合九色国产成人| 精品久久久久一区二区国产| 从欧美一区二区三区| 亚洲六月丁香色婷婷综合久久| 欧美久久婷婷综合色| 国模少妇一区二区三区| 专区另类欧美日韩| 91精品欧美一区二区三区综合在 | 欧美午夜精品久久久久久超碰| 石原莉奈在线亚洲二区| 久久欧美一区二区| 99r国产精品| 麻豆精品精品国产自在97香蕉| 国产女人18毛片水真多成人如厕 | 日韩一级免费观看| 国产麻豆精品theporn| 亚洲精品欧美激情| 欧美大度的电影原声| 波多野结衣欧美| 日韩精品一二三四| 国产亚洲精品久| 欧美日韩国产免费一区二区| 国产精品996| 五月综合激情日本mⅴ| 国产欧美一区二区三区网站| 欧美日韩国产区一| 成人av在线一区二区三区| 视频一区二区三区在线| 中文字幕成人av| 欧美一个色资源| 91视频在线观看| 国产乱子轮精品视频| 亚洲国产精品精华液网站| 国产欧美一区二区三区沐欲| 在线播放欧美女士性生活| va亚洲va日韩不卡在线观看| 理论电影国产精品| 亚洲国产另类av| 中文字幕亚洲电影| 久久精品一区二区三区不卡牛牛| 欧美视频三区在线播放| 99久久综合99久久综合网站| 久久aⅴ国产欧美74aaa| 亚洲gay无套男同| 国产精品电影院| 久久精品视频免费| 日韩精品中文字幕一区| 欧美日韩高清一区二区三区| 97久久人人超碰| 国产高清亚洲一区| 欧美aⅴ一区二区三区视频| 亚洲图片有声小说| 中文字幕在线播放不卡一区| 久久久精品天堂| 欧美成人bangbros| 精品视频一区三区九区| 91一区一区三区| 粉嫩av一区二区三区粉嫩| 国产一区二区在线电影| 久久成人羞羞网站| 日韩电影在线一区二区| 丝袜亚洲另类欧美| 亚洲图片欧美综合| 亚洲一区精品在线| 亚洲激情欧美激情| 亚洲精品免费在线观看| 日韩理论片在线| 亚洲免费视频中文字幕| 亚洲精选视频在线| 亚洲精品菠萝久久久久久久| 亚洲欧美一区二区久久| 亚洲免费在线视频一区 二区|