Commit 66352375 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum

[CHANGE] updated about dialogs and added nemtics.

parent 98d92a7b
......@@ -9,14 +9,14 @@ to be easily extended and used in a large variety of application
and using a number of portable libraries (e.g. OpenSceneGraph and Qt)
it runs on all Windows platforms, OSX and GNU/Linux operating systems. <br />
<br />
Copyright 2009-2013 OpenWalnut community, BSV@Uni-Leipzig, and
Copyright 2009-2014 OpenWalnut community, Nemtics, BSV@Uni-Leipzig, and
CNCF@MPI-CBS. For more information see
<a href="http://www.openwalnut.org/copying">http://www.openwalnut.org/copying</a>.<br><br>
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under the terms of the GNU Lesser General Public License.
You should have received a copy of the GNU Lesser General Public License
along with OpenWalnut. If not, see
along with OpenWalnut. If not, see
&lt;<a href="http://www.gnu.org/licenses">http://www.gnu.org/licenses</a>&gt;.
<h4>Contact</h4>
......
<h1>Nemtics</h1>
<p>Visualization is our business! Visualization makes data perceptible and imaginable to the mind.
It is the interface between the user and imaging systems, measurement hardware, processing software,
simulation systems, and so much more. Accordingly, visualization's importance can't be
ranked high enough!
<br/>
We provide software, frameworks, training and consulting on visualization. As a major developer
and maintainer of OpenWalnut, we
provide professional user- and developer-support to it. This allows our customers and users of OpenWalnut
to rely on professional support and a vivid development of the project.
<br/>
You need help, require features to be implemented or simply need training? Get in touch with us!</p>
<h4>Contact</h4>
Website: <a href="http://www.nemtics.com">http://www.nemtics.com</a><br>
Email: <a href="mailto:contact@nemtics.com">contact@nemtics.com</a>
<br><br>
<i>Thank you for using OpenWalnut!</i>
<h1>Need Support?</h1>
<p>
Do you need professional support? We can provide training, development courses, and contract-based feature implementations.
<br/><br/>
Get in touch with us!
</p>
<h4>Contact</h4>
Website: <a href="http://www.nemtics.com">http://www.nemtics.com</a><br>
Email: <a href="mailto:contact@nemtics.com">contact@nemtics.com</a>
<br><br>
<i>Thank you for using OpenWalnut!</i>
......@@ -359,11 +359,13 @@ void WMainWindow::setupGUI()
m_helpAction->setIcon( m_iconManager.getIcon( "help" ) );
connect( m_helpAction, SIGNAL( triggered() ), this, SLOT( openOpenWalnutHelpDialog() ) );
m_helpMenu = m_menuBar->addMenu( "Help" );
m_helpMenu->addAction( m_iconManager.getIcon( "logo" ), "Welcome to OpenWalnut", this, SLOT( showWelcomeDialog() ) );
m_helpMenu->addAction( m_iconManager.getIcon( "help" ), "OpenWalnut Help", this, SLOT( openOpenWalnutHelpDialog() ),
QKeySequence( QKeySequence::HelpContents ) );
m_helpMenu->addAction( m_iconManager.getIcon( "logo" ), "Welcome to OpenWalnut", this, SLOT( showWelcomeDialog() ) );
m_helpMenu->addAction( m_iconManager.getIcon( "nemtics" ), "Professional Support", this, SLOT( openSupportDialog() ) );
m_helpMenu->addSeparator();
m_helpMenu->addAction( m_iconManager.getIcon( "logo" ), "About OpenWalnut", this, SLOT( openAboutDialog() ) );
m_helpMenu->addAction( m_iconManager.getIcon( "nemtics" ), "About Nemtics", this, SLOT( openAboutNemticsDialog() ) );
m_helpMenu->addAction( m_iconManager.getIcon( "qt" ), "About Qt", this, SLOT( openAboutQtDialog() ) );
m_helpAction->setMenu( m_helpMenu );
connect( m_helpAction, SIGNAL( triggered( bool ) ), this, SLOT( openOpenWalnutHelpDialog() ) );
......@@ -766,6 +768,36 @@ void WMainWindow::openAboutDialog()
QMessageBox::about( this, windowHeading.c_str(), content.c_str() );
}
void WMainWindow::openAboutNemticsDialog()
{
std::string filename( WPathHelper::getDocPath().string() + "/openwalnut-qt4/OpenWalnutAboutNemtics.html" );
std::string content = readFileIntoString( filename );
std::string windowHeading = std::string( "About Nemtics " ) + std::string( W_VERSION );
QMessageBox* b = new QMessageBox( QMessageBox::Information,
QString::fromStdString( windowHeading ),
QString::fromStdString( content ),
QMessageBox::Ok,
this );
b->setIconPixmap( m_iconManager.getIcon( "nemtics" ).pixmap( QSize( 48, 48 ) ) );
b->show();
}
void WMainWindow::openSupportDialog()
{
std::string filename( WPathHelper::getDocPath().string() + "/openwalnut-qt4/OpenWalnutSupport.html" );
std::string content = readFileIntoString( filename );
std::string windowHeading = std::string( "Professional Support " ) + std::string( W_VERSION );
QMessageBox* b = new QMessageBox( QMessageBox::Information,
QString::fromStdString( windowHeading ),
QString::fromStdString( content ),
QMessageBox::Ok,
this );
b->setIconPixmap( m_iconManager.getIcon( "nemtics" ).pixmap( QSize( 48, 48 ) ) );
b->show();
}
void WMainWindow::openOpenWalnutHelpDialog()
{
std::string filename( WPathHelper::getDocPath().string() + "/openwalnut-qt4/OpenWalnutHelp.html" );
......
......@@ -345,6 +345,16 @@ public slots:
*/
void openAboutDialog();
/**
* gets called when menu entry "About Nemtics" is activated
*/
void openAboutNemticsDialog();
/**
* gets called when menu entry "Support" is activated
*/
void openSupportDialog();
/**
* Gets called when menu entry "About Qt" is activated
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment