comparison mainwindow.cpp @ 341:1fc2e0269ae0 help

Add Help button to multi-choice dialog
author Chris Cannam
date Tue, 15 Mar 2011 12:36:26 +0000
parents bb189827f6d1
children
comparison
equal deleted inserted replaced
340:bb189827f6d1 341:1fc2e0269ae0
1051 while (!done) { 1051 while (!done) {
1052 1052
1053 MultiChoiceDialog *d = new MultiChoiceDialog 1053 MultiChoiceDialog *d = new MultiChoiceDialog
1054 (tr("Open Repository"), 1054 (tr("Open Repository"),
1055 tr("<qt><big>What would you like to open?</big></qt>"), 1055 tr("<qt><big>What would you like to open?</big></qt>"),
1056 tr("https://code.soundsoftware.ac.uk/projects/easyhg/wiki/HelpOpenDialog"),
1056 this); 1057 this);
1057 1058
1058 d->addChoice("local", 1059 d->addChoice("local",
1059 tr("<qt><center><img src=\":images/hglogo-64.png\"><br>Local repository</center></qt>"), 1060 tr("<qt><center><img src=\":images/hglogo-64.png\"><br>Local repository</center></qt>"),
1060 tr("Open an existing local Mercurial repository."), 1061 tr("Open an existing local Mercurial repository."),
1132 } 1133 }
1133 1134
1134 MultiChoiceDialog *d = new MultiChoiceDialog 1135 MultiChoiceDialog *d = new MultiChoiceDialog
1135 (tr("Change Remote Location"), 1136 (tr("Change Remote Location"),
1136 tr("<qt><big>Change the remote location</big></qt>"), 1137 tr("<qt><big>Change the remote location</big></qt>"),
1138 "",
1137 this); 1139 this);
1138 1140
1139 d->addChoice("remote", 1141 d->addChoice("remote",
1140 tr("<qt><center><img src=\":images/browser-64.png\"><br>Remote repository</center></qt>"), 1142 tr("<qt><center><img src=\":images/browser-64.png\"><br>Remote repository</center></qt>"),
1141 tr("Provide a new URL to use for push and pull actions from the current local repository."), 1143 tr("Provide a new URL to use for push and pull actions from the current local repository."),