Browse Source

Change Queue buttons order in the Toolbar (GUI & Web UI)

adaptive-webui-19844
ngosang 10 years ago
parent
commit
03f86a71de
  1. 2
      src/gui/mainwindow.cpp
  2. 6
      src/gui/mainwindow.ui
  3. 8
      src/webui/www/private/index.html

2
src/gui/mainwindow.cpp

@ -218,7 +218,7 @@ MainWindow::MainWindow(QWidget *parent) @@ -218,7 +218,7 @@ MainWindow::MainWindow(QWidget *parent)
vboxLayout->addWidget(tabs);
prioSeparator = toolBar->insertSeparator(actionBottomPriority);
prioSeparator = toolBar->insertSeparator(actionTopPriority);
prioSeparatorMenu = menu_Edit->insertSeparator(actionTopPriority);
// Transfer list slots

6
src/gui/mainwindow.ui

@ -131,10 +131,10 @@ @@ -131,10 +131,10 @@
<addaction name="separator"/>
<addaction name="actionStart"/>
<addaction name="actionPause"/>
<addaction name="actionBottomPriority"/>
<addaction name="actionDecreasePriority"/>
<addaction name="actionIncreasePriority"/>
<addaction name="actionTopPriority"/>
<addaction name="actionIncreasePriority"/>
<addaction name="actionDecreasePriority"/>
<addaction name="actionBottomPriority"/>
<addaction name="separator"/>
<addaction name="actionOptions"/>
<addaction name="actionLock_qBittorrent"/>

8
src/webui/www/private/index.html

@ -89,10 +89,10 @@ @@ -89,10 +89,10 @@
<a id="resumeButton" class="divider"><img class="mochaToolButton" title="QBT_TR(Resume)QBT_TR" src="theme/media-playback-start" alt="QBT_TR(Resume)QBT_TR" width="24" height="24" onload="fixPNG(this)"/></a>
<a id="pauseButton"><img class="mochaToolButton" title="QBT_TR(Pause)QBT_TR" src="theme/media-playback-pause" alt="QBT_TR(Pause)QBT_TR" width="24" height="24" onload="fixPNG(this)"/></a>
<span id="queueingButtons">
<a id="bottomPrioButton" class="divider"><img class="mochaToolButton" title="QBT_TR(Move to bottom)QBT_TR" src="theme/go-bottom" alt="QBT_TR(Move to bottom)QBT_TR" width="24" height="24" onload="fixPNG(this)"/></a>
<a id="decreasePrioButton"><img class="mochaToolButton" title="QBT_TR(Decrease priority)QBT_TR" src="theme/go-down" alt="QBT_TR(Decrease priority)QBT_TR" width="24" height="24" onload="fixPNG(this)"/></a>
<a id="increasePrioButton"><img class="mochaToolButton" title="QBT_TR(Increase priority)QBT_TR" src="theme/go-up" alt="QBT_TR(Increase priority)QBT_TR" width="24" height="24" onload="fixPNG(this)"/></a>
<a id="topPrioButton"><img class="mochaToolButton" title="QBT_TR(Move to top)QBT_TR" src="theme/go-top" alt="QBT_TR(Move to top)QBT_TR" width="24" height="24" onload="fixPNG(this)"/></a>
<a id="topPrioButton" class="divider"><img class="mochaToolButton" title="QBT_TR(Top Priority)QBT_TR" src="theme/go-top" alt="QBT_TR(Top Priority)QBT_TR" width="24" height="24" onload="fixPNG(this)"/></a>
<a id="increasePrioButton"><img class="mochaToolButton" title="QBT_TR(Increase Priority)QBT_TR" src="theme/go-up" alt="QBT_TR(Increase Priority)QBT_TR" width="24" height="24" onload="fixPNG(this)"/></a>
<a id="decreasePrioButton"><img class="mochaToolButton" title="QBT_TR(Decrease Priority)QBT_TR" src="theme/go-down" alt="QBT_TR(Decrease Priority)QBT_TR" width="24" height="24" onload="fixPNG(this)"/></a>
<a id="bottomPrioButton"><img class="mochaToolButton" title="QBT_TR(Minimum Priority)QBT_TR" src="theme/go-bottom" alt="QBT_TR(Minimum Priority)QBT_TR" width="24" height="24" onload="fixPNG(this)"/></a>
</span>
<a id="preferencesButton" class="divider"><img class="mochaToolButton" title="QBT_TR(Options)QBT_TR" src="theme/preferences-system" alt="QBT_TR(Options)QBT_TR" width="24" height="24" onload="fixPNG(this)"/></a>
</div>

Loading…
Cancel
Save