-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathnavigatebuttons.h
More file actions
42 lines (33 loc) · 874 Bytes
/
navigatebuttons.h
File metadata and controls
42 lines (33 loc) · 874 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
38
39
40
41
42
#ifndef NAVIGATEBUTTONS_H
#define NAVIGATEBUTTONS_H
#include <QWidget>
namespace Ui {
class NavigateButtons;
}
class NavigateButtons : public QWidget
{
Q_OBJECT
public:
explicit NavigateButtons(QWidget *parent = 0);
~NavigateButtons();
void setNextToggle(int toggle);
void setPrevToggle(int toggle);
protected:
void setNextEnabled(bool tf);
void setNextCellEnabled(bool tf);
void setPrevEnabled(bool tf);
void setPrevCellEnabled(bool tf);
signals:
void clickedNextRecord(void);
void clickedNextCell(void);
void clickedPrevRecord(void);
void clickedPrevCell(void);
public slots:
void clickNextRecord(void);
void clickNextCell(void);
void clickPrevRecord(void);
void clickPrevCell(void);
private:
Ui::NavigateButtons *ui;
};
#endif // NAVIGATEBUTTONS_H