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:
57
include/WelcomeScreen.h
Normal file
57
include/WelcomeScreen.h
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user