Commit 72e9f57e authored by Ludovic Fauvet's avatar Ludovic Fauvet
Browse files

GUI: the help menu redirects the user to the VLMC website

... until we have a real documentation.
parent 52ef0b4c
...@@ -28,6 +28,8 @@ ...@@ -28,6 +28,8 @@
#include <QSlider> #include <QSlider>
#include <QUndoView> #include <QUndoView>
#include <QMessageBox> #include <QMessageBox>
#include <QDesktopServices>
#include <QUrl>
#include "MainWindow.h" #include "MainWindow.h"
#include "MediaListWidget.h" #include "MediaListWidget.h"
...@@ -353,6 +355,11 @@ void MainWindow::on_actionNew_Project_triggered() ...@@ -353,6 +355,11 @@ void MainWindow::on_actionNew_Project_triggered()
m_projectPreferences->show(); m_projectPreferences->show();
} }
void MainWindow::on_actionHelp_triggered()
{
QDesktopServices::openUrl( QUrl( "http://vlmc.org" ) );
}
void MainWindow::zoomIn() void MainWindow::zoomIn()
{ {
m_zoomSlider->setValue( m_zoomSlider->value() - 1 ); m_zoomSlider->setValue( m_zoomSlider->value() - 1 );
......
...@@ -85,6 +85,7 @@ private slots: ...@@ -85,6 +85,7 @@ private slots:
void on_actionNew_Project_triggered(); void on_actionNew_Project_triggered();
void on_actionLoad_Project_triggered(); void on_actionLoad_Project_triggered();
void on_actionSave_triggered(); void on_actionSave_triggered();
void on_actionHelp_triggered();
void mediaListItemDoubleClicked( QListWidgetItem* ); void mediaListItemDoubleClicked( QListWidgetItem* );
void toolButtonClicked( int id ); void toolButtonClicked( int id );
......
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