2019-09-30 05:00:59 +00:00
|
|
|
|
#ifndef FRMNAVBUTTON_H
|
|
|
|
|
#define FRMNAVBUTTON_H
|
|
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
|
|
class NavButton;
|
|
|
|
|
|
2021-05-30 07:59:42 +00:00
|
|
|
|
namespace Ui {
|
2019-09-30 05:00:59 +00:00
|
|
|
|
class frmNavButton;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class frmNavButton : public QWidget
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
explicit frmNavButton(QWidget *parent = 0);
|
|
|
|
|
~frmNavButton();
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
Ui::frmNavButton *ui;
|
2021-09-20 04:45:58 +00:00
|
|
|
|
QList<int> icons;
|
2019-09-30 05:00:59 +00:00
|
|
|
|
QList<NavButton *> btns1;
|
|
|
|
|
QList<NavButton *> btns2;
|
|
|
|
|
QList<NavButton *> btns3;
|
|
|
|
|
QList<NavButton *> btns4;
|
|
|
|
|
QList<NavButton *> btns5;
|
|
|
|
|
QList<NavButton *> btns6;
|
|
|
|
|
QList<NavButton *> btns7;
|
|
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
void initForm();
|
2021-09-20 04:45:58 +00:00
|
|
|
|
void initBtn1();
|
|
|
|
|
void initBtn2();
|
|
|
|
|
void initBtn3();
|
|
|
|
|
void initBtn4();
|
|
|
|
|
void initBtn5();
|
|
|
|
|
void initBtn6();
|
|
|
|
|
void initBtn7();
|
|
|
|
|
|
2019-09-30 05:00:59 +00:00
|
|
|
|
void buttonClick1();
|
|
|
|
|
void buttonClick2();
|
|
|
|
|
void buttonClick3();
|
|
|
|
|
void buttonClick4();
|
|
|
|
|
void buttonClick5();
|
|
|
|
|
void buttonClick6();
|
|
|
|
|
void buttonClick7();
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // FRMNAVBUTTON_H
|