• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/qt/

Lines Matching refs:option

290 TorrentDelegate :: sizeHint( const QStyleOptionViewItem& option, const Torrent& tor ) const
295 QFont nameFont( option.font );
300 QFont statusFont( option.font );
301 statusFont.setPointSize( int( option.font.pointSize( ) * 0.9 ) );
316 TorrentDelegate :: sizeHint( const QStyleOptionViewItem & option,
320 return sizeHint( option, *tor );
325 const QStyleOptionViewItem & option,
330 painter->setClipRect( option.rect );
331 drawTorrent( painter, option, *tor );
336 TorrentDelegate :: setProgressBarPercentDone( const QStyleOptionViewItem& option, const Torrent& tor ) const
348 myProgressBarStyle->direction = option.direction;
354 TorrentDelegate :: drawTorrent( QPainter * painter, const QStyleOptionViewItem& option, const Torrent& tor ) const
358 QFont nameFont( option.font );
363 QFont statusFont( option.font );
364 statusFont.setPointSize( int( option.font.pointSize( ) * 0.9 ) );
374 if (option.state & QStyle::State_Selected) {
375 QPalette::ColorGroup cg = option.state & QStyle::State_Enabled
377 if (cg == QPalette::Normal && !(option.state & QStyle::State_Active))
380 painter->fillRect(option.rect, option.palette.brush(cg, QPalette::Highlight));
384 if( isPaused || !(option.state & QStyle::State_Enabled ) ) im = QIcon::Disabled;
385 else if( option.state & QStyle::State_Selected ) im = QIcon::Selected;
393 if( isPaused || !(option.state & QStyle::State_Enabled ) ) cg = QPalette::Disabled;
394 if( cg == QPalette::Normal && !(option.state & QStyle::State_Active ) ) cg = QPalette::Inactive;
397 if( option.state & QStyle::State_Selected ) cr = QPalette::HighlightedText;
400 QStyle::State progressBarState( option.state );
406 QRect fillArea( option.rect );
424 painter->setPen( option.palette.color( cg, cr ) );
444 setProgressBarPercentDone( option, tor );