ClipProperty.h 1.68 KB
Newer Older
1
/*****************************************************************************
2
 * ClipProperty.h: Handle the clip properties and meta tags edition
3
 *****************************************************************************
Ludovic Fauvet's avatar
Ludovic Fauvet committed
4
 * Copyright (C) 2008-2010 VideoLAN
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
 *
 * Authors: Hugo Beauzee-Luyssen <hugo@vlmc.org>
 *
 * 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; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
 *****************************************************************************/

23 24
#ifndef CLIPPROPERTY_H
#define CLIPPROPERTY_H
25 26

#include <QDialog>
27 28
#include <QStringListModel>

29
#include <QAbstractButton>
30

31 32
class   Clip;

33
namespace Ui {
34
    class   ClipProperty;
35 36
}

37
class ClipProperty : public QDialog
38 39 40
{
    Q_OBJECT
public:
41 42
    ClipProperty( Clip* clip, QWidget *parent = 0 );
    ~ClipProperty();
43 44 45 46

protected:
    void changeEvent(QEvent *e);

47 48
private slots:
    void        apply();
49 50
    void        addTagsRequired();
    void        removeTagsRequired();
51

52
private:
53
    Ui::ClipProperty*   ui;
54
    Clip*               m_clip;
55
    QStringListModel*   m_model;
56 57
};

58
#endif // CLIPPROPERTY_H