Add shortcut and start counting frames from 0
This commit is contained in:
1 parent
276a7d5817
commit
eb0fef09b5
2 files changed
+2
-1
No files matched your search
@@ -58,7 +58,7 @@ WidgetFrameNumber::WidgetFrameNumber( QWidget *parent ) :
|
|||||||
}
|
}
|
||||||
Void WidgetFrameNumber::setCurrFrameNum( Int number )
|
Void WidgetFrameNumber::setCurrFrameNum( Int number )
|
||||||
{
|
{
|
||||||
m_pcCurrFrameNumLabel->setText( QString( tr( "%1" ) ).arg( number + 1 ) );
|
m_pcCurrFrameNumLabel->setText( QString( tr( "%1" ) ).arg( number ) );
|
||||||
}
|
}
|
||||||
Void WidgetFrameNumber::setTotalFrameNum( Int number )
|
Void WidgetFrameNumber::setTotalFrameNum( Int number )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1151,6 +1151,7 @@ Void plaYUVerApp::createActions()
|
|||||||
|
|
||||||
m_arrayActions[RELOAD_ALL_ACT] = new QAction( tr( "Reload All" ), this );
|
m_arrayActions[RELOAD_ALL_ACT] = new QAction( tr( "Reload All" ), this );
|
||||||
//m_arrayActions[RELOAD_ACT]->setIcon( QIcon( ":/images/configuredialog.png" ) );
|
//m_arrayActions[RELOAD_ACT]->setIcon( QIcon( ":/images/configuredialog.png" ) );
|
||||||
|
m_arrayActions[RELOAD_ALL_ACT]->setShortcut( Qt::CTRL + Qt::SHIFT + Qt::Key_R );
|
||||||
m_arrayActions[RELOAD_ALL_ACT]->setStatusTip( tr( "Reload all sequences" ) );
|
m_arrayActions[RELOAD_ALL_ACT]->setStatusTip( tr( "Reload all sequences" ) );
|
||||||
connect( m_arrayActions[RELOAD_ALL_ACT], SIGNAL( triggered() ), this, SLOT( reloadAll() ) );
|
connect( m_arrayActions[RELOAD_ALL_ACT], SIGNAL( triggered() ), this, SLOT( reloadAll() ) );
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user