コード例 #1
0
void CScreenSetup::showBorder(t_channel_id cid)
{
	if (loadBorder(cid)) {
		frameBuffer->setBorderColor(0xFF000000);
		frameBuffer->setBorder(startX, startY, endX, endY);
	} else
		hideBorder();
}
コード例 #2
0
// -----------------------------------------------------------------------------
//
// -----------------------------------------------------------------------------
void FilterParameterWidget::showBorder()
{
  if (NULL != m_Timer)
  {
    delete m_Timer;
    m_Timer = NULL;
  }
  m_Timer = new QTimer(this);
  connect(m_Timer, SIGNAL(timeout()), this, SLOT(hideBorder()));
  m_Timer->start(2000);
}
コード例 #3
0
ファイル: PhotoView.cpp プロジェクト: shundhammer/qphotoview
SensitiveBorder * PhotoView::createBorder( const QString & objName )
{
    SensitiveBorder * border = new SensitiveBorder( this );
    border->setObjectName( objName );

#if 0
    connect( border, SIGNAL( borderEntered() ),
	     this,   SLOT  ( showBorder()    ) );

    connect( border, SIGNAL( borderLeft()    ),
	     this,   SLOT  ( hideBorder()    ) );
#endif

    return border;
}