#ifndef MENUWINDOWS_H
#define MENUWINDOWS_H
//Botões e layouts
#include <QRadioButton>
#include <QCheckBox>
#include <QPushButton>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QComboBox>
#include <QMainWindow>
#include <QTextEdit>
#include <QString>
#include <QLabel>
{
public:
//Functions
MenuWindows();
void createSettings();
void createSettingsBut();
void showSettings();
//Variables
//Botões
QRadioButton *v_radiobut1,
*v_radiobut2,
*v_radiobut3,
*v_radiobut4;
QPushButton *v_but1,
*v_but2,
*v_but3,
*v_but4,
*v_butOK,
*v_butCAN;
QCheckBox *v_checkbut1,
*v_checkbut2,
*v_checkbut3,
*v_checkbut4,
*v_checkbut5,
*v_checkbut6;
//Outros
bool v_ok;
public slots:
void update();
private:
};
#endif // MENUWINDOWS_H
#ifndef MENUWINDOWS_H
#define MENUWINDOWS_H
//Botões e layouts
#include <QRadioButton>
#include <QCheckBox>
#include <QPushButton>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QComboBox>
#include <QMainWindow>
#include <QTextEdit>
#include <QString>
#include <QLabel>
class MenuWindows : public QObject
{
public:
//Functions
MenuWindows();
void createSettings();
void createSettingsBut();
void showSettings();
void createAbout(QWidget *a);
//Variables
//Botões
QRadioButton *v_radiobut1, *v_radiobut2, *v_radiobut3, *v_radiobut4;
QPushButton *v_but1, *v_but2, *v_but3, *v_but4, *v_butOK, *v_butCAN;
QComboBox *v_combobut1, *v_combobut2;
QCheckBox *v_checkbut1, *v_checkbut2, *v_checkbut3, *v_checkbut4, *v_checkbut5, *v_checkbut6;
//Outros
QWidget *v_setboxwidget;
QGridLayout *v_gridlayout;
QHBoxLayout *v_hlayout;
QVBoxLayout *v_vlayout;
bool v_ok;
public slots:
void update();
private:
QString textAbout;
};
#endif // MENUWINDOWS_H
To copy to clipboard, switch view to plain text mode
Bookmarks