diff --git a/leocad.qrc b/leocad.qrc index 62eb6143..7047dd07 100644 --- a/leocad.qrc +++ b/leocad.qrc @@ -50,8 +50,6 @@ resources/time_first.png resources/time_last.png resources/time_next.png - resources/time_pause.png - resources/time_play.png resources/time_previous.png resources/time_stop.png resources/icon64.png @@ -65,5 +63,7 @@ resources/edit_transform_absolute_translation.png resources/edit_transform_relative_rotation.png resources/edit_transform_relative_translation.png + resources/piece_show_earlier.png + resources/piece_show_later.png diff --git a/qt/lc_qmainwindow.cpp b/qt/lc_qmainwindow.cpp index 7b6483da..318eb831 100644 --- a/qt/lc_qmainwindow.cpp +++ b/qt/lc_qmainwindow.cpp @@ -132,6 +132,8 @@ void lcQMainWindow::createActions() 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_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_VERTICAL]->setIcon(QIcon(":/resources/view_split_vertical.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_NEXT]); menuStep->addAction(actions[LC_VIEW_TIME_LAST]); - //LC_VIEW_TIME_STOP - //LC_VIEW_TIME_PLAY menuStep->addSeparator(); menuStep->addAction(actions[LC_VIEW_TIME_INSERT]); 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_NEXT]); timeToolBar->addAction(actions[LC_VIEW_TIME_LAST]); - //LC_VIEW_TIME_STOP - //LC_VIEW_TIME_PLAY - //LC_VIEW_TIME_ANIMATION + timeToolBar->addAction(actions[LC_PIECE_SHOW_EARLIER]); + timeToolBar->addAction(actions[LC_PIECE_SHOW_LATER]); //LC_VIEW_TIME_ADD_KEYS // TODO: add missing menu items diff --git a/resources/piece_show_earlier.png b/resources/piece_show_earlier.png new file mode 100644 index 00000000..b0aded37 Binary files /dev/null and b/resources/piece_show_earlier.png differ diff --git a/resources/piece_show_later.png b/resources/piece_show_later.png new file mode 100644 index 00000000..0cb2c818 Binary files /dev/null and b/resources/piece_show_later.png differ diff --git a/resources/time_pause.png b/resources/time_pause.png deleted file mode 100644 index 01a66020..00000000 Binary files a/resources/time_pause.png and /dev/null differ diff --git a/resources/time_play.png b/resources/time_play.png deleted file mode 100644 index d7dbd450..00000000 Binary files a/resources/time_play.png and /dev/null differ