Lines Matching refs:twf

2675         if (const QStyleOptionTabWidgetFrame *twf  in subElementRect()  local
2677 r.setSize(twf->tabBarSize); in subElementRect()
2679 switch (twf->shape) { in subElementRect()
2684 r.setWidth(qMin(r.width(), twf->rect.width() in subElementRect()
2685 - twf->leftCornerWidgetSize.width() in subElementRect()
2686 - twf->rightCornerWidgetSize.width())); in subElementRect()
2687 switch (proxy()->styleHint(SH_TabBar_Alignment, twf, widget) & alingMask) { in subElementRect()
2690 r.moveTopLeft(QPoint(twf->leftCornerWidgetSize.width(), 0)); in subElementRect()
2693 r.moveTopLeft(QPoint(twf->rect.center().x() - qRound(r.width() / 2.0f) in subElementRect()
2694 + (twf->leftCornerWidgetSize.width() / 2) in subElementRect()
2695 - (twf->rightCornerWidgetSize.width() / 2), 0)); in subElementRect()
2698 r.moveTopLeft(QPoint(twf->rect.width() - twf->tabBarSize.width() in subElementRect()
2699 - twf->rightCornerWidgetSize.width(), 0)); in subElementRect()
2702 r = visualRect(twf->direction, twf->rect, r); in subElementRect()
2706 r.setWidth(qMin(r.width(), twf->rect.width() in subElementRect()
2707 - twf->leftCornerWidgetSize.width() in subElementRect()
2708 - twf->rightCornerWidgetSize.width())); in subElementRect()
2709 switch (proxy()->styleHint(SH_TabBar_Alignment, twf, widget) & alingMask) { in subElementRect()
2712 r.moveTopLeft(QPoint(twf->leftCornerWidgetSize.width(), in subElementRect()
2713 twf->rect.height() - twf->tabBarSize.height())); in subElementRect()
2716 r.moveTopLeft(QPoint(twf->rect.center().x() - qRound(r.width() / 2.0f) in subElementRect()
2717 + (twf->leftCornerWidgetSize.width() / 2) in subElementRect()
2718 - (twf->rightCornerWidgetSize.width() / 2), in subElementRect()
2719 twf->rect.height() - twf->tabBarSize.height())); in subElementRect()
2722 r.moveTopLeft(QPoint(twf->rect.width() - twf->tabBarSize.width() in subElementRect()
2723 - twf->rightCornerWidgetSize.width(), in subElementRect()
2724 twf->rect.height() - twf->tabBarSize.height())); in subElementRect()
2727 r = visualRect(twf->direction, twf->rect, r); in subElementRect()
2731 r.setHeight(qMin(r.height(), twf->rect.height() in subElementRect()
2732 - twf->leftCornerWidgetSize.height() in subElementRect()
2733 - twf->rightCornerWidgetSize.height())); in subElementRect()
2734 switch (proxy()->styleHint(SH_TabBar_Alignment, twf, widget) & alingMask) { in subElementRect()
2737 r.moveTopLeft(QPoint(twf->rect.width() - twf->tabBarSize.width(), in subElementRect()
2738 twf->leftCornerWidgetSize.height())); in subElementRect()
2741 r.moveTopLeft(QPoint(twf->rect.width() - twf->tabBarSize.width(), in subElementRect()
2742 twf->rect.center().y() - r.height() / 2)); in subElementRect()
2745 r.moveTopLeft(QPoint(twf->rect.width() - twf->tabBarSize.width(), in subElementRect()
2746 twf->rect.height() - twf->tabBarSize.height() in subElementRect()
2747 - twf->rightCornerWidgetSize.height())); in subElementRect()
2753 r.setHeight(qMin(r.height(), twf->rect.height() in subElementRect()
2754 - twf->leftCornerWidgetSize.height() in subElementRect()
2755 - twf->rightCornerWidgetSize.height())); in subElementRect()
2756 switch (proxy()->styleHint(SH_TabBar_Alignment, twf, widget) & alingMask) { in subElementRect()
2759 r.moveTopLeft(QPoint(0, twf->leftCornerWidgetSize.height())); in subElementRect()
2762 r.moveTopLeft(QPoint(0, twf->rect.center().y() - r.height() / 2)); in subElementRect()
2765 r.moveTopLeft(QPoint(0, twf->rect.height() - twf->tabBarSize.height() in subElementRect()
2766 - twf->rightCornerWidgetSize.height())); in subElementRect()
2775 …if (const QStyleOptionTabWidgetFrame *twf = qstyleoption_cast<const QStyleOptionTabWidgetFrame *>(… in subElementRect() local
2777 tabopt.shape = twf->shape; in subElementRect()
2779 if (twf->lineWidth == 0) in subElementRect()
2781 switch (twf->shape) { in subElementRect()
2784 r = QRect(QPoint(0,qMax(twf->tabBarSize.height() - overlap, 0)), in subElementRect()
2785 …QSize(twf->rect.width(), qMin(twf->rect.height() - twf->tabBarSize.height() + overlap, twf->rect.h… in subElementRect()
2789 …r = QRect(QPoint(0,0), QSize(twf->rect.width(), qMin(twf->rect.height() - twf->tabBarSize.height()… in subElementRect()
2793 …r = QRect(QPoint(0, 0), QSize(qMin(twf->rect.width() - twf->tabBarSize.width() + overlap, twf->rec… in subElementRect()
2797 r = QRect(QPoint(qMax(twf->tabBarSize.width() - overlap, 0), 0), in subElementRect()
2798 …QSize(qMin(twf->rect.width() - twf->tabBarSize.width() + overlap, twf->rect.width()), twf->rect.he… in subElementRect()
2801 if (sr == SE_TabWidgetTabContents && twf->lineWidth > 0) in subElementRect()
2806 …if (const QStyleOptionTabWidgetFrame *twf = qstyleoption_cast<const QStyleOptionTabWidgetFrame *>(… in subElementRect() local
2807 QRect paneRect = subElementRect(SE_TabWidgetTabPane, twf, widget); in subElementRect()
2808 switch (twf->shape) { in subElementRect()
2811 r = QRect(QPoint(paneRect.x(), paneRect.y() - twf->leftCornerWidgetSize.height()), in subElementRect()
2812 twf->leftCornerWidgetSize); in subElementRect()
2816 r = QRect(QPoint(paneRect.x(), paneRect.height()), twf->leftCornerWidgetSize); in subElementRect()
2821 r = visualRect(twf->direction, twf->rect, r); in subElementRect()
2825 …if (const QStyleOptionTabWidgetFrame *twf = qstyleoption_cast<const QStyleOptionTabWidgetFrame *>(… in subElementRect() local
2826 QRect paneRect = subElementRect(SE_TabWidgetTabPane, twf, widget); in subElementRect()
2827 switch (twf->shape) { in subElementRect()
2830 r = QRect(QPoint(paneRect.width() - twf->rightCornerWidgetSize.width(), in subElementRect()
2831 paneRect.y() - twf->rightCornerWidgetSize.height()), in subElementRect()
2832 twf->rightCornerWidgetSize); in subElementRect()
2836 r = QRect(QPoint(paneRect.width() - twf->rightCornerWidgetSize.width(), in subElementRect()
2837 paneRect.height()), twf->rightCornerWidgetSize); in subElementRect()
2842 r = visualRect(twf->direction, twf->rect, r); in subElementRect()