Added piece show earlier and later back to toolbar.

This commit is contained in:
leo 2014-04-18 18:15:31 +00:00
parent e0cfece285
commit 3138a5e0ee
6 changed files with 6 additions and 7 deletions

View file

@ -50,8 +50,6 @@
<file>resources/time_first.png</file> <file>resources/time_first.png</file>
<file>resources/time_last.png</file> <file>resources/time_last.png</file>
<file>resources/time_next.png</file> <file>resources/time_next.png</file>
<file>resources/time_pause.png</file>
<file>resources/time_play.png</file>
<file>resources/time_previous.png</file> <file>resources/time_previous.png</file>
<file>resources/time_stop.png</file> <file>resources/time_stop.png</file>
<file>resources/icon64.png</file> <file>resources/icon64.png</file>
@ -65,5 +63,7 @@
<file>resources/edit_transform_absolute_translation.png</file> <file>resources/edit_transform_absolute_translation.png</file>
<file>resources/edit_transform_relative_rotation.png</file> <file>resources/edit_transform_relative_rotation.png</file>
<file>resources/edit_transform_relative_translation.png</file> <file>resources/edit_transform_relative_translation.png</file>
<file>resources/piece_show_earlier.png</file>
<file>resources/piece_show_later.png</file>
</qresource> </qresource>
</RCC> </RCC>

View file

@ -132,6 +132,8 @@ void lcQMainWindow::createActions()
actions[LC_EDIT_ACTION_ROTATE_VIEW]->setIcon(QIcon(":/resources/action_rotate_view.png")); actions[LC_EDIT_ACTION_ROTATE_VIEW]->setIcon(QIcon(":/resources/action_rotate_view.png"));
actions[LC_EDIT_ACTION_ROLL]->setIcon(QIcon(":/resources/action_roll.png")); actions[LC_EDIT_ACTION_ROLL]->setIcon(QIcon(":/resources/action_roll.png"));
actions[LC_EDIT_ACTION_ZOOM_REGION]->setIcon(QIcon(":/resources/action_zoom_region.png")); actions[LC_EDIT_ACTION_ZOOM_REGION]->setIcon(QIcon(":/resources/action_zoom_region.png"));
actions[LC_PIECE_SHOW_EARLIER]->setIcon(QIcon(":/resources/piece_show_earlier.png"));
actions[LC_PIECE_SHOW_LATER]->setIcon(QIcon(":/resources/piece_show_later.png"));
actions[LC_VIEW_SPLIT_HORIZONTAL]->setIcon(QIcon(":/resources/view_split_horizontal.png")); actions[LC_VIEW_SPLIT_HORIZONTAL]->setIcon(QIcon(":/resources/view_split_horizontal.png"));
actions[LC_VIEW_SPLIT_VERTICAL]->setIcon(QIcon(":/resources/view_split_vertical.png")); actions[LC_VIEW_SPLIT_VERTICAL]->setIcon(QIcon(":/resources/view_split_vertical.png"));
actions[LC_VIEW_ZOOM_IN]->setIcon(QIcon(":/resources/view_zoomin.png")); actions[LC_VIEW_ZOOM_IN]->setIcon(QIcon(":/resources/view_zoomin.png"));
@ -323,8 +325,6 @@ void lcQMainWindow::createMenus()
menuStep->addAction(actions[LC_VIEW_TIME_PREVIOUS]); menuStep->addAction(actions[LC_VIEW_TIME_PREVIOUS]);
menuStep->addAction(actions[LC_VIEW_TIME_NEXT]); menuStep->addAction(actions[LC_VIEW_TIME_NEXT]);
menuStep->addAction(actions[LC_VIEW_TIME_LAST]); menuStep->addAction(actions[LC_VIEW_TIME_LAST]);
//LC_VIEW_TIME_STOP
//LC_VIEW_TIME_PLAY
menuStep->addSeparator(); menuStep->addSeparator();
menuStep->addAction(actions[LC_VIEW_TIME_INSERT]); menuStep->addAction(actions[LC_VIEW_TIME_INSERT]);
menuStep->addAction(actions[LC_VIEW_TIME_DELETE]); menuStep->addAction(actions[LC_VIEW_TIME_DELETE]);
@ -435,9 +435,8 @@ void lcQMainWindow::createToolBars()
timeToolBar->addAction(actions[LC_VIEW_TIME_PREVIOUS]); timeToolBar->addAction(actions[LC_VIEW_TIME_PREVIOUS]);
timeToolBar->addAction(actions[LC_VIEW_TIME_NEXT]); timeToolBar->addAction(actions[LC_VIEW_TIME_NEXT]);
timeToolBar->addAction(actions[LC_VIEW_TIME_LAST]); timeToolBar->addAction(actions[LC_VIEW_TIME_LAST]);
//LC_VIEW_TIME_STOP timeToolBar->addAction(actions[LC_PIECE_SHOW_EARLIER]);
//LC_VIEW_TIME_PLAY timeToolBar->addAction(actions[LC_PIECE_SHOW_LATER]);
//LC_VIEW_TIME_ANIMATION
//LC_VIEW_TIME_ADD_KEYS //LC_VIEW_TIME_ADD_KEYS
// TODO: add missing menu items // TODO: add missing menu items

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 425 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 814 B