2
* This file is a part of Qtpfsgui package.
3
* ----------------------------------------------------------------------
4
* Copyright (C) 2006,2007 Giuseppe Rota
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
* ----------------------------------------------------------------------
21
* @author Giuseppe Rota <grota@users.sourceforge.net>
24
#ifndef TRANSPLANT_IMPL_H
25
#define TRANSPLANT_IMPL_H
29
#include <QSortFilterProxyModel>
30
#include <QStringListModel>
31
#include "../generated_uic/ui_transplantexifdialog.h"
33
class TransplantExifDialog : public QDialog, private Ui::TransplantExifDialog {
36
TransplantExifDialog(QWidget *);
37
~TransplantExifDialog();
39
int start_left,stop_left,start_right,stop_right;
42
void updateinterval(bool);
44
QString RecentDirEXIFfrom;
45
QString RecentDirEXIFto;
46
//fuction that adds a log message to the model
47
void add_log_message(const QString &);
48
//the class that performs regexp filtering
49
QSortFilterProxyModel *log_filter;
50
//the model that holds the data
51
QStringListModel *full_Log_Model;
53
void transplant_requested();
54
void help_requested();
58
void movedown_right();
63
void filterChanged(const QString&);
64
void filterComboBoxActivated(int);