[go: up one dir, main page]

Menu

[r303]: / mimages2.h  Maximize  Restore  History

Download this file

67 lines (55 with data), 1.8 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/* Marcion
Copyright (C) 2009 - 2011 Milan Konvicka
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; version 2 of the License.
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 */
#ifndef MIMAGES2_H
#define MIMAGES2_H
#include <QWidget>
#include <QFileInfo>
#include <QDir>
#include <QToolButton>
#include <QMenu>
#include <QTreeWidgetItem>
#include "messages.h"
#include "settings.h"
#include "mimage.h"
namespace Ui {
class CMImages2;
}
class CMImages2 : public QWidget
{
Q_OBJECT
public:
explicit CMImages2(CMessages * const messages,
QString const & filename,QWidget *parent = 0);
~CMImages2();
private:
Ui::CMImages2 *ui;
CMessages * const messages;
//CMImage drawarea;
QString const & filename;
//void checkZoomB(QToolButton * b);
void loadTree(QString const & f);
double computeValue() const;
private slots:
void on_sldZoom_valueChanged(int value);
void on_treeImages_currentItemChanged(QTreeWidgetItem* current, QTreeWidgetItem* previous);
void on_btZD3_clicked();
void on_btZD4_clicked();
void on_btZD5_clicked();
void on_btZD2_clicked();
void on_btZ4_clicked();
void on_btZ3_clicked();
void on_btZ2_clicked();
void on_btZ1_clicked();
//void on_spnZoom_valueChanged(double );
void on_sldZoom_sliderReleased();
};
#endif // MIMAGES2_H