aboutbox, latex update
git-svn-id: http://svn.lsim.tuxzone.org/trunk@40 4bec179b-ab65-46ed-a5f8-55b8b5c735d0
This commit is contained in:
11
src/ReadMe
11
src/ReadMe
@@ -1,11 +0,0 @@
|
||||
READ THIS IN ORDER TO COMPILE THE Qt4 TEMPLATE
|
||||
----------------------------------------------
|
||||
|
||||
Before compiling, check the Qt Options, go to
|
||||
Project->Project Options->C++ Support and open the Qt Options tab.
|
||||
|
||||
Check that the Qt installation directory is correct for the Qt version you've chosen.
|
||||
|
||||
------------------
|
||||
Andreas Pakulat
|
||||
July 2006
|
||||
16
src/lsim.cpp
16
src/lsim.cpp
@@ -159,8 +159,12 @@ void lsim::closeEvent (QCloseEvent *event) {
|
||||
|
||||
void lsim::about() {
|
||||
QString aboutString;
|
||||
aboutString += "Simulation von Bewegten Ladungen in elektrischen und magnetischen Feldern... \n";
|
||||
aboutString += "gebaut am "+QString(__DATE__) + " um " + QString(__TIME__) + " Uhr";
|
||||
aboutString += "lsim - Simulation von Bewegten Ladungen in elektrischen und magnetischen Feldern. \n";
|
||||
aboutString += "geschrieben 2008/2009 von Peter Dahlberg im Rahmen der Facharbeit\n";
|
||||
aboutString += "\n";
|
||||
aboutString += "Dieses Programm ist freie Software unter der GPL Version 2 (http://www.gnu.org/licenses/gpl2.txt)\n";
|
||||
aboutString += "\n";
|
||||
aboutString += "Dieses Binary wurde kompiliert am "+QString(__DATE__) + " um " + QString(__TIME__) + " Uhr";
|
||||
QMessageBox::about (this, tr ("\334ber lsim"),
|
||||
aboutString);
|
||||
}
|
||||
@@ -181,8 +185,8 @@ void lsim::createActions() {
|
||||
connect (acts.fullScreenAct, SIGNAL (toggled(bool)), this, SLOT (goToFullscreen(bool)));
|
||||
connect (this, SIGNAL (fullScreenModeChanged(bool)), acts.fullScreenAct, SLOT (setChecked(bool)));
|
||||
|
||||
acts.aboutAct = new QAction (tr ("&About"), this);
|
||||
acts.aboutAct->setStatusTip (tr ("Show the application's About box"));
|
||||
acts.aboutAct = new QAction (tr ("&\334ber lsim"), this);
|
||||
acts.aboutAct->setStatusTip (tr (""));
|
||||
connect (acts.aboutAct, SIGNAL (triggered()), this, SLOT (about()));
|
||||
|
||||
acts.fileSaveAsAct = new QAction (tr ("&Speichern..."), this);
|
||||
@@ -359,7 +363,7 @@ void lsim::createMenus() {
|
||||
fileMenu->addSeparator();
|
||||
fileMenu->addAction(acts.exitAct);
|
||||
|
||||
editMenu = menuBar()->addMenu(tr("&Bearbeiten"));
|
||||
//editMenu = menuBar()->addMenu(tr("&Bearbeiten"));
|
||||
|
||||
|
||||
viewMenu = menuBar()->addMenu(tr("&Ansicht"));
|
||||
@@ -370,7 +374,7 @@ void lsim::createMenus() {
|
||||
viewMenu->addSeparator();
|
||||
viewMenu->addAction(acts.fullScreenAct);
|
||||
|
||||
helpMenu = menuBar()->addMenu (tr ("&Help"));
|
||||
helpMenu = menuBar()->addMenu (tr ("&Hilfe"));
|
||||
helpMenu->addAction (acts.aboutAct);
|
||||
helpMenu->addAction (acts.aboutQtAct);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user