ClipProperty.h 1.69 KB
Newer Older
1
/*****************************************************************************
2
 * ClipProperty.h: Handle the clip properties and meta tags edition
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
 *****************************************************************************
 * Copyright (C) 2008-2009 the VLMC team
 *
 * 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 "Clip.h"
30
#include <QAbstractButton>
31 32

namespace Ui {
33
    class   ClipProperty;
34 35
}

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

protected:
    void changeEvent(QEvent *e);

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

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

57
#endif // CLIPPROPERTY_H