[go: up one dir, main page]

Menu

[r301]: / mimagewidget.h  Maximize  Restore  History

Download this file

56 lines (42 with data), 1.5 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
/* 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 MIMAGEWIDGET_H
#define MIMAGEWIDGET_H
#include <QWidget>
#include "mimage.h"
namespace Ui {
class MImageWidget;
}
class MImageWidget : public QWidget
{
Q_OBJECT
public:
explicit MImageWidget(QWidget *parent = 0);
~MImageWidget();
CMImage * drawarea();
private:
Ui::MImageWidget *ui;
QButtonGroup bgr;
private slots:
void on_gwArea_positionChanged(QPointF);
void on_btImageAction_clicked();
void on_btMove_clicked(bool checked);
void on_btSelect_clicked(bool checked);
void on_gwArea_mouseModeChanged(int);
void on_gwArea_settingsActivated(bool);
void on_btSett_clicked(bool checked);
void on_spnBorder_valueChanged(int );
void on_spnOpacity_valueChanged(int );
void on_ccPen_bgColorSelected(QColor);
void on_ccFill_bgColorSelected(QColor);
};
#endif // MIMAGEWIDGET_H