~ubuntu-branches/ubuntu/quantal/kscd/quantal-proposed

« back to all changes in this revision

Viewing changes to gui/titlePopUp.h

  • Committer: Package Import Robot
  • Author(s): Felix Geyer
  • Date: 2012-06-14 17:35:46 UTC
  • Revision ID: package-import@ubuntu.com-20120614173546-0t4dq1zkvl62ebpd
Tags: upstream-4.8.90+repack
Import upstream version 4.8.90+repack

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Kscd - A simple cd player for the KDE Project
 
3
 *
 
4
 * Copyright (c) 1997 Bernd Johannes wuebben@math.cornell.edu
 
5
 * Copyright (c) 2002-2003 Aaron J. Seigo <aseigo@kde.org>
 
6
 * Copyright (c) 2004 Alexander Kern <alex.kern@gmx.de>
 
7
 * Copyright (c) 2003-2006 Richard Lärkäng <nouseforaname@home.se>
 
8
 *
 
9
 * --------------
 
10
 * ISI KsCD Team :
 
11
 * --------------
 
12
 * Stanislas KRZYWDA <stanislas.krzywda@gmail.com>
 
13
 * Sovanramy Var <mastasushi@gmail.com>
 
14
 * Bouchikhi Mohamed-Amine <bouchikhi.amine@gmail.com>
 
15
 * Gastellu Sylvain<sylvain.gastellu@gmail.com>
 
16
 * Dembele Karim <>
 
17
 * -----------------------------------------------------------------------------
 
18
 *
 
19
 * This program is free software; you can redistribute it and/or modify
 
20
 * it under the terms of the GNU General Public License as published by
 
21
 * the Free Software Foundation; either version 2, or (at your option)
 
22
 * any later version.
 
23
 *
 
24
 * This program is distributed in the hope that it will be useful,
 
25
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
26
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
27
 * GNU General Public License for more details.
 
28
 *
 
29
 * You should have received a copy of the GNU General Public License
 
30
 * along with this program; if not, write to the Free Software
 
31
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
32
 *
 
33
 */
 
34
 
 
35
#ifndef TITLEPOPUP_H
 
36
#define TITLEPOPUP_H
 
37
 
 
38
#include <QGridLayout>
 
39
#include <QLabel>
 
40
#include <QWidget>
 
41
#include "kscdwidget.h"
 
42
#include <kdebug.h>
 
43
 
 
44
 
 
45
class TitlePopUp : public KscdWidget
 
46
{
 
47
private:
 
48
        QGridLayout* m_layout;
 
49
        QLabel* m_lengthLbl;
 
50
        QLabel* m_titleLbl;
 
51
 
 
52
public:
 
53
        TitlePopUp(QWidget *parent=0, const QString& sName=QLatin1String( "popup" ));
 
54
        ~TitlePopUp();
 
55
 
 
56
        void enterEvent (QEvent * event){event->ignore();}
 
57
        void leaveEvent (QEvent * event){event->ignore();}
 
58
        void mousePressEvent(QMouseEvent * event){event->ignore();}
 
59
        void mouseReleaseEvent(QMouseEvent * event){event->ignore();}
 
60
 
 
61
public slots:
 
62
        void showTitlePopUp(const QString& , const QString&);
 
63
        void hideTitlePopUp();
 
64
};
 
65
 
 
66
#endif // TITLEPOPUP_H