SilentEye 0.4.1

propertydialog.h

Go to the documentation of this file.
00001 //  This file is part of SilentEye.
00002 //
00003 //  SilentEye is free software: you can redistribute it and/or modify
00004 //  it under the terms of the GNU General Public License as published by
00005 //  the Free Software Foundation, either version 3 of the License, or
00006 //  (at your option) any later version.
00007 //
00008 //  SilentEye is distributed in the hope that it will be useful,
00009 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011 //  GNU General Public License for more details.
00012 //
00013 //  You should have received a copy of the GNU General Public License
00014 //  along with SilentEye. If not, see <http://www.gnu.org/licenses/>.
00015 
00016 #ifndef PROPERTYDIALOG_H_
00017 #define PROPERTYDIALOG_H_
00018 
00019 #include <QtGui>
00020 #include <image.h>
00021 #include <logger.h>
00022 #include "ui_propertydialog.h"
00023 
00024 using namespace SilentEyeFramework;
00025 
00026 namespace SilentEye {
00027 
00029     class PropertyDialog : public QDialog, public Ui::PropertyDialog
00030     {
00031         Q_OBJECT;
00032 
00033     private:
00034         QPointer<Logger> m_logger;
00035         QMap<QString, long> m_capacityMap;
00036 
00037         Media* m_md;
00038 
00039     public:
00040         PropertyDialog(QWidget* parent=0);
00041         ~PropertyDialog();
00042 
00043         void setMedia(Media*);
00044 
00045     private slots:
00046         void formatChanged(const QString&);
00047     };
00048 }
00049 
00050 #endif