Ajout d'un panneau de configuration avec une premiere page pour parametrer les nouveaux schemas

Amelioration de la gestion de la date du cartouche
Mise a jour du --help
Mise a jour des traductions


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@215 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavierqet
2007-11-18 00:22:19 +00:00
parent f0edf251d6
commit 15185bbc4a
14 changed files with 814 additions and 316 deletions

View File

@@ -556,6 +556,9 @@ bool QETApp::event(QEvent *e) {
}
}
/**
Affiche l'aide et l'usage sur la sortie standard
*/
void QETApp::printHelp() {
QString help(
tr("Usage : ") + QFileInfo(applicationFilePath()).fileName() + tr(" [options] [fichier]...\n\n") +
@@ -566,15 +569,24 @@ void QETApp::printHelp() {
" --license Afficher la licence\n")
#ifdef QET_ALLOW_OVERRIDE_CED_OPTION
+ tr(" --common-elements-dir=DIR Definir le dossier de la collection d'elements\n")
#endif
#ifdef QET_ALLOW_OVERRIDE_CD_OPTION
+ tr(" --config-dir=DIR Definir le dossier de configuration\n")
#endif
);
std::cout << qPrintable(help) << std::endl;
}
/**
Affiche la version sur la sortie standard
*/
void QETApp::printVersion() {
std::cout << qPrintable(QET::version) << std::endl;
}
/**
Affiche la licence sur la sortie standard
*/
void QETApp::printLicense() {
std::cout << qPrintable(QET::license()) << std::endl;
}