-
Notifications
You must be signed in to change notification settings - Fork 0
/
butgr.h
48 lines (39 loc) · 918 Bytes
/
butgr.h
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
//
// Button Group Header File
//
#ifndef BUTGR_H
#define BUTGR_H
#include <qmainwindow.h>
#include <qpainter.h>
#include <qpushbt.h>
#include <qbttngrp.h>
#include <qapp.h>
#include "transfo.h"
#include "canvas.h"
class ButGr : public QWidget
{
Q_OBJECT
public:
ButGr( QWidget *parent=0, const char *name=0 );
void linkcanvas(typecanvas *cv2, Canvas *canvas2);
public slots:
void butresplus();
void butresminus();
void buti();
void butj();
void butk();
void butzoomplus();
void butzoomminus();
void butsnplus();
void butsnminus();
private:
Transfo transfo;
typecanvas *cv;
Canvas *canvas;
QPushButton *res_plus,*res_minus;
QPushButton *sn_plus,*sn_minus;
QPushButton *gc_gray,*gc_color;
QPushButton *zoom_plus,*zoom_minus;
QPushButton *ijk_i,*ijk_j,*ijk_k;
};
#endif // BUTGR_H