Lines Matching refs:pWidget

234         sal_Bool drawStyledWidget( QWidget *pWidget,
422 sal_Bool WidgetPainter::drawStyledWidget( QWidget *pWidget, in drawStyledWidget() argument
427 if ( !pWidget ) in drawStyledWidget()
431 QPoint qWidgetPos( pWidget->pos() ); in drawStyledWidget()
432 pWidget->move( 0, 0 ); in drawStyledWidget()
435 pWidget->setEnabled( nState & CTRL_STATE_ENABLED ); in drawStyledWidget()
438 QPixmap qPixmap( pWidget->width(), pWidget->height() ); in drawStyledWidget()
440 QRect qRect( 0, 0, pWidget->width(), pWidget->height() ); in drawStyledWidget()
443 qPixmap.fill( pWidget, QPoint(0, 0) ); in drawStyledWidget()
449 const char *pClassName = pWidget->className(); in drawStyledWidget()
456 QPushButton *pPushButton = static_cast<QPushButton *>( pWidget->qt_cast( "QPushButton" ) ); in drawStyledWidget()
465 &qPainter, pWidget, qRect, in drawStyledWidget()
466 pWidget->colorGroup(), nStyle ); in drawStyledWidget()
482 &qPainter, pWidget, qRect, in drawStyledWidget()
483 pWidget->colorGroup(), nStyle ); in drawStyledWidget()
488 &qPainter, pWidget, qRect, in drawStyledWidget()
489 pWidget->colorGroup(), nStyle ); in drawStyledWidget()
494 &qPainter, pWidget, qRect, in drawStyledWidget()
495 pWidget->colorGroup(), nStyle ); in drawStyledWidget()
498 QComboBox *pComboBox = static_cast<QComboBox *>( pWidget->qt_cast( "QComboBox" ) ); in drawStyledWidget()
513 pWidget->colorGroup(), nStyle | QStyle::Style_Sunken ); in drawStyledWidget()
533 pWidget->setEnabled( true ); in drawStyledWidget()
537 pWidget->setEnabled( false ); in drawStyledWidget()
546 QSpinWidget *pSpinWidget = static_cast<QSpinWidget *>( pWidget->qt_cast( "QSpinWidget" ) ); in drawStyledWidget()
559 pWidget, QStyle::SC_SpinWidgetFrame ); in drawStyledWidget()
562 &qPainter, pWidget, qFrameRect, in drawStyledWidget()
563 pWidget->colorGroup(), nStyle, in drawStyledWidget()
588 &qPainter, pWidget, qRect, in drawStyledWidget()
589 pWidget->colorGroup(), nStyle, in drawStyledWidget()
596 pWidget->colorGroup(), nStyle ); in drawStyledWidget()
602 pWidget->colorGroup(), nStyle | QStyle::Style_Sunken ); in drawStyledWidget()
650 pWidget->setEnabled( true ); in drawStyledWidget()
654 pWidget->setEnabled( false ); in drawStyledWidget()
658 QScrollBar *pScrollBar = static_cast<QScrollBar *> ( pWidget->qt_cast( "QScrollBar" ) ); in drawStyledWidget()
664 &qPainter, pWidget, qRect, in drawStyledWidget()
665 pWidget->colorGroup(), nStyle | eHoriz, in drawStyledWidget()
670 QToolBar *pToolBar = static_cast< QToolBar * >( pWidget->qt_cast( "QToolBar" ) ); in drawStyledWidget()
679 &qPainter, pWidget, qRect, in drawStyledWidget()
680 pWidget->colorGroup(), nStyle ); in drawStyledWidget()
683 &qPainter, qRect, pWidget->colorGroup(), nStyle ); in drawStyledWidget()
706 pWidget->colorGroup(), nStyle ); in drawStyledWidget()
710 &qPainter, qThumbRect, pWidget->colorGroup(), nStyle ); in drawStyledWidget()
718 &qPainter, pWidget, qRect, in drawStyledWidget()
719 pWidget->colorGroup(), nStyle, in drawStyledWidget()
727 &qPainter, pWidget, qRect, in drawStyledWidget()
728 pWidget->colorGroup(), nStyle ); in drawStyledWidget()
733 QMenuItem *pMenuItem = static_cast<QMenuBar*>( pWidget )->findItem( nMenuItem ); in drawStyledWidget()
739 &qPainter, pWidget, qRect, in drawStyledWidget()
740 pWidget->colorGroup(), nStyle, in drawStyledWidget()
747 QMenuItem *pMenuItem = static_cast<QPopupMenu*>( pWidget )->findItem( nMenuItem ); in drawStyledWidget()
753 &qPainter, pWidget, qRect, in drawStyledWidget()
754 pWidget->colorGroup(), nStyle, in drawStyledWidget()
760 QProgressBar* pProgress = static_cast<QProgressBar*>(pWidget); in drawStyledWidget()
764 &qPainter, pWidget, qRect, in drawStyledWidget()
765 pWidget->colorGroup(), nStyle ); in drawStyledWidget()
767 &qPainter, pWidget, qRect, in drawStyledWidget()
768 pWidget->colorGroup(), nStyle ); in drawStyledWidget()
782 pWidget->move( qWidgetPos ); in drawStyledWidget()
1514 QWidget *pWidget = NULL; in getNativeControlRegion() local
1519 pWidget = pWidgetPainter->pushButton( rControlRegion, ( nState & CTRL_STATE_DEFAULT ) ); in getNativeControlRegion()
1529 QStyle::PM_ButtonDefaultIndicator, pWidget ); in getNativeControlRegion()
1540 pWidget = pWidgetPainter->radioButton( rControlRegion ); in getNativeControlRegion()
1544 … qRect.setWidth( kapp->style().pixelMetric( QStyle::PM_ExclusiveIndicatorWidth, pWidget ) ); in getNativeControlRegion()
1545 … qRect.setHeight( kapp->style().pixelMetric( QStyle::PM_ExclusiveIndicatorHeight, pWidget ) ); in getNativeControlRegion()
1553 pWidget = pWidgetPainter->checkBox( rControlRegion ); in getNativeControlRegion()
1557 qRect.setWidth( kapp->style().pixelMetric( QStyle::PM_IndicatorWidth, pWidget ) ); in getNativeControlRegion()
1558 qRect.setHeight( kapp->style().pixelMetric( QStyle::PM_IndicatorHeight, pWidget ) ); in getNativeControlRegion()
1567 pWidget = pWidgetPainter->comboBox( rControlRegion, ( nType == CTRL_COMBOBOX ) ); in getNativeControlRegion()
1572 QStyle::CC_ComboBox, pWidget, QStyle::SC_ComboBoxArrow ); in getNativeControlRegion()
1574 QStyle::CC_ComboBox, pWidget, in getNativeControlRegion()
1582 QStyle::CC_ComboBox, pWidget, QStyle::SC_ComboBoxEditField ); in getNativeControlRegion()
1591 pWidget = pWidgetPainter->spinWidget( rControlRegion ); in getNativeControlRegion()
1596 QStyle::CC_SpinWidget, pWidget, QStyle::SC_SpinWidgetUp ); in getNativeControlRegion()
1603 QStyle::CC_SpinWidget, pWidget, QStyle::SC_SpinWidgetDown ); in getNativeControlRegion()
1610 QStyle::CC_SpinWidget, pWidget, QStyle::SC_SpinWidgetEditField ); in getNativeControlRegion()
1619 pWidget = pWidgetPainter->scrollBar( rControlRegion, in getNativeControlRegion()
1627 QStyle::CC_ScrollBar, pWidget, QStyle::SC_ScrollBarSubLine ); in getNativeControlRegion()
1634 QStyle::CC_ScrollBar, pWidget, in getNativeControlRegion()
1644 QStyle::CC_ScrollBar, pWidget, in getNativeControlRegion()
1660 QStyle::CC_ScrollBar, pWidget, QStyle::SC_ScrollBarAddLine ); in getNativeControlRegion()
1666 QStyle::CC_ScrollBar, pWidget, in getNativeControlRegion()
1670 QStyle::CC_ScrollBar, pWidget, in getNativeControlRegion()