Added new WelcomeScreen widget

The new WelcomeScreen widget is intended to be shown after startup
by default. It allows the user to choose how to start the session,
i.e. shows a list of recently edited projects, a list of new stuff
at the Sharing Platform as well as some help related information and
links.
This commit is contained in:
Tobias Doerffel
2009-08-21 18:36:18 +02:00
parent a5bf034575
commit 34a20ba610
5 changed files with 682 additions and 1 deletions

57
include/WelcomeScreen.h Normal file
View File

@@ -0,0 +1,57 @@
/*
* WelcomeScreen.h - header file for WelcomeScreen
*
* Copyright (c) 2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program (see COPYING); if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA.
*
*/
#ifndef _WELCOME_SCREEN_H
#define _WELCOME_SCREEN_H
#include <QtGui/QWidget>
namespace Ui { class WelcomeScreen; }
class QListWidgetItem;
class WelcomeScreen : public QWidget
{
Q_OBJECT
public:
WelcomeScreen( QWidget * _parent );
~WelcomeScreen();
private slots:
void createNewProject();
void importProject();
void openTutorial();
void instantMidiAction();
void openOnlineResource( QListWidgetItem * _item );
private:
Ui::WelcomeScreen * ui;
} ;
#endif