Skip to content

Commit

Permalink
Update mainwindow.cpp
Browse files Browse the repository at this point in the history
Change some icons.
  • Loading branch information
rodlie committed Jul 28, 2024
1 parent 1ad03e9 commit ed1c820
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/app/GUI/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,7 @@ void MainWindow::setupExtraMenus()

// add rotate
{
const auto act = menu->addAction(QIcon::fromTheme("loop"/* TODO: find new (blender) icon! */),
const auto act = menu->addAction(QIcon::fromTheme("image-x-generic"/* TODO: find new (blender) icon! */),
tr("Rotate selected ..."));
act->setData("cmd:rotate");
act->setToolTip(QString("<p><b>%1</b> %2 <i>%3</i></p>").arg(tr("Rotate"),
Expand All @@ -1357,7 +1357,7 @@ void MainWindow::setupExtraMenus()
}
// add move
{
const auto act = menu->addAction(QIcon::fromTheme("dialog-information"/* TODO: find new (blender) icon! */),
const auto act = menu->addAction(QIcon::fromTheme("image-x-generic"/* TODO: find new (blender) icon! */),
tr("Move selected ..."));
act->setData("cmd:move");
act->setToolTip(QString("<p><b>%1</b> %2 <i>%3</i></p>").arg(tr("Move"),
Expand All @@ -1367,7 +1367,7 @@ void MainWindow::setupExtraMenus()
}
// add marker
{
const auto act = menu->addAction(QIcon::fromTheme("dialog-information"/* TODO: find new (blender) icon! */),
const auto act = menu->addAction(QIcon::fromTheme("sequence"/* TODO: find new (blender) icon! */),
tr("Marker at ..."));
act->setData("cmd:marker");
act->setToolTip(QString("<p><b>%1</b> %2 <i>%3</i></p>").arg(tr("Marker"),
Expand All @@ -1378,7 +1378,7 @@ void MainWindow::setupExtraMenus()
}
// clear markers
{
const auto act = menu->addAction(QIcon::fromTheme("dialog-information"/* TODO: find new (blender) icon! */),
const auto act = menu->addAction(QIcon::fromTheme("trash"/* TODO: find new (blender) icon! */),
tr("Clear Markers"));
connect(act, &QAction::triggered,
this, [this](){
Expand All @@ -1389,7 +1389,7 @@ void MainWindow::setupExtraMenus()
}
// add in
{
const auto act = menu->addAction(QIcon::fromTheme("dialog-information"/* TODO: find new (blender) icon! */),
const auto act = menu->addAction(QIcon::fromTheme("pivot-align-left"),
tr("In at ..."));
act->setData("cmd:in");
act->setToolTip(QString("<p><b>%1</b> %2 <i>%3</i></p>").arg(tr("Frame In"),
Expand All @@ -1399,7 +1399,7 @@ void MainWindow::setupExtraMenus()
}
// add out
{
const auto act = menu->addAction(QIcon::fromTheme("dialog-information"/* TODO: find new (blender) icon! */),
const auto act = menu->addAction(QIcon::fromTheme("pivot-align-right"),
tr("Out at ..."));
act->setData("cmd:out");
act->setToolTip(QString("<p><b>%1</b> %2 <i>%3</i></p>").arg(tr("Frame Out"),
Expand All @@ -1409,7 +1409,7 @@ void MainWindow::setupExtraMenus()
}
// clear in/out
{
const auto act = menu->addAction(QIcon::fromTheme("dialog-information"/* TODO: find new (blender) icon! */),
const auto act = menu->addAction(QIcon::fromTheme("trash"/* TODO: find new (blender) icon! */),
tr("Clear In"));
connect(act, &QAction::triggered,
this, [this](){
Expand All @@ -1420,7 +1420,7 @@ void MainWindow::setupExtraMenus()
cmdAddAction(act);
}
{
const auto act = menu->addAction(QIcon::fromTheme("dialog-information"/* TODO: find new (blender) icon! */),
const auto act = menu->addAction(QIcon::fromTheme("trash"/* TODO: find new (blender) icon! */),
tr("Clear Out"));
connect(act, &QAction::triggered,
this, [this](){
Expand All @@ -1431,7 +1431,7 @@ void MainWindow::setupExtraMenus()
cmdAddAction(act);
}
{
const auto act = menu->addAction(QIcon::fromTheme("dialog-information"/* TODO: find new (blender) icon! */),
const auto act = menu->addAction(QIcon::fromTheme("trash"/* TODO: find new (blender) icon! */),
tr("Clear In/Out"));
connect(act, &QAction::triggered,
this, [this](){
Expand All @@ -1444,7 +1444,7 @@ void MainWindow::setupExtraMenus()
}
// center pivot
{
const auto act = menu->addAction(QIcon::fromTheme("dialog-information"/* TODO: find new (blender) icon! */),
const auto act = menu->addAction(QIcon::fromTheme("pivot-align-center"),
tr("Center Pivot"));
connect(act, &QAction::triggered, this, [this]() {
const auto scene = *mDocument.fActiveScene;
Expand All @@ -1455,7 +1455,7 @@ void MainWindow::setupExtraMenus()
}
// create link
{
const auto act = menu->addAction(QIcon::fromTheme("dialog-information"/* TODO: find new (blender) icon! */),
const auto act = menu->addAction(QIcon::fromTheme("linked"),
tr("Create Link"));
connect(act, &QAction::triggered, this, [this]() {
const auto scene = *mDocument.fActiveScene;
Expand Down

0 comments on commit ed1c820

Please sign in to comment.