Improve some song-editor UI
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1036 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -474,7 +474,7 @@ void trackContentObjectView::mouseMoveEvent( QMouseEvent * _me )
|
||||
arg( m_tco->startPosition().getTact() + 1 ).
|
||||
arg( m_tco->startPosition().getTicks() %
|
||||
midiTime::ticksPerTact() ) );
|
||||
s_textFloat->moveGlobal( this, QPoint( width() + 2, 8 ) );
|
||||
s_textFloat->moveGlobal( this, QPoint( width() + 2, height() + 2 ) );
|
||||
}
|
||||
else if( m_action == MoveSelection )
|
||||
{
|
||||
@@ -531,7 +531,8 @@ void trackContentObjectView::mouseMoveEvent( QMouseEvent * _me )
|
||||
arg( m_tco->endPosition().getTact() + 1 ).
|
||||
arg( m_tco->endPosition().getTicks() %
|
||||
midiTime::ticksPerTact() ) );
|
||||
s_textFloat->moveGlobal( this, QPoint( width() + 2, 8 ) );
|
||||
s_textFloat->moveGlobal( this, QPoint( width() + 2,
|
||||
height() + 2) );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -1145,6 +1145,14 @@ void patternView::paintEvent( QPaintEvent * )
|
||||
x_base + static_cast<int>(
|
||||
ppt * tact_num ) - 1,
|
||||
TCO_BORDER_WIDTH,
|
||||
x_base + static_cast<int>(
|
||||
ppt * tact_num ) - 1,
|
||||
5 );
|
||||
p.drawLine(
|
||||
x_base + static_cast<int>(
|
||||
ppt * tact_num ) - 1,
|
||||
height() - ( 5 + 2 *
|
||||
TCO_BORDER_WIDTH ),
|
||||
x_base + static_cast<int>(
|
||||
ppt * tact_num ) - 1,
|
||||
height() - 2 *
|
||||
|
||||
Reference in New Issue
Block a user