view.h
672 Bytes
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
#ifndef VIEW_H
#define VIEW_H
#include <QAction>
#include <QActionGroup>
#include <QLabel>
#include <QString>
#include <QToolBar>
#include <QToolButton>
#include <QWidget>
#include <openbr_export.h>
namespace br
{
class BR_EXPORT_GUI View : public QToolBar
{
Q_OBJECT
QToolButton tbPhoto, tbRegistered, tbEnhanced, tbFeatures;
QToolButton tb1, tb4, tb9, tb16;
QActionGroup agFormat, agCount;
public:
explicit View(QWidget *parent = 0);
private slots:
void formatChanged(QAction *action);
void countChanged(QAction *action);
signals:
void newFormat(QString image);
void newCount(int count);
};
} // namespace br
#endif // VIEW_H