mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
Attempt to move the more frequently used toolbar actions to the top
This is highly dependent on the user, I guess. So I may be totally off here. But the previous order was pretty much random (and even tried to push one button in there twice in a row)... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a308d2b7b4
commit
371c91f5ea
1 changed files with 12 additions and 4 deletions
|
@ -70,10 +70,18 @@ MainWindow::MainWindow() : QMainWindow(),
|
||||||
m_Instance = this;
|
m_Instance = this;
|
||||||
ui.setupUi(this);
|
ui.setupUi(this);
|
||||||
ui.multiFilter->hide();
|
ui.multiFilter->hide();
|
||||||
profileToolbarActions << ui.profCalcAllTissues << ui.profCalcCeiling << ui.profDcCeiling << ui.profEad <<
|
// what is a sane order for those icons? we should have the ones the user is
|
||||||
ui.profHR << ui.profIncrement3m << ui.profMod << ui.profNdl_tts << ui.profNdl_tts <<
|
// most likely to want towards the top so they are always visible
|
||||||
ui.profPhe << ui.profPn2 << ui.profPO2 << ui.profRuler << ui.profSAC << ui.profScaled <<
|
// and the ones that someone likely sets and then never touches again towards the bottom
|
||||||
ui.profTogglePicture << ui.profTankbar << ui.profTissues;
|
profileToolbarActions << ui.profCalcCeiling << ui.profCalcAllTissues << // start with various ceilings
|
||||||
|
ui.profIncrement3m << ui.profDcCeiling <<
|
||||||
|
ui.profPhe << ui.profPn2 << ui.profPO2 << // partial pressure graphs
|
||||||
|
ui.profRuler << ui.profScaled << // measuring and scaling
|
||||||
|
ui.profTogglePicture << ui.profTankbar <<
|
||||||
|
ui.profMod << ui.profNdl_tts << // various values that a user is either interested in or not
|
||||||
|
ui.profEad << ui.profSAC <<
|
||||||
|
ui.profHR << // very few dive computers support this
|
||||||
|
ui.profTissues; // maybe less frequently used
|
||||||
setWindowIcon(QIcon(":subsurface-icon"));
|
setWindowIcon(QIcon(":subsurface-icon"));
|
||||||
if (!QIcon::hasThemeIcon("window-close")) {
|
if (!QIcon::hasThemeIcon("window-close")) {
|
||||||
QIcon::setThemeName("subsurface");
|
QIcon::setThemeName("subsurface");
|
||||||
|
|
Loading…
Add table
Reference in a new issue