Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bioDisplay.cpp
- #include "biodisplay.h"
- #include "ui_biodisplay.h"
- bioDisplay::bioDisplay(QWidget *parent) :
- QWidget(parent),
- ui(new Ui::bioDisplay)
- {
- ui->setupUi(this);
- }
- bioDisplay::~bioDisplay()
- {
- delete ui;
- }
- QLabel* getNameOjb(){
- Ui_bioDisplay* bd = new Ui_bioDisplay();
- return bd->nameDisplay;
- }
- bioDisplay.h
- #ifndef BIODISPLAY_H
- #define BIODISPLAY_H
- #include <QWidget>
- namespace Ui {
- class bioDisplay;
- }
- class bioDisplay : public QWidget
- {
- Q_OBJECT
- public:
- explicit bioDisplay(QWidget *parent = 0);
- ~bioDisplay();
- QLabel* getNameOjb();
- private:
- Ui::bioDisplay *ui;
- };
- #endif // BIODISPLAY_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement