Advertisement
Guest User

try to "promote" a new_project QDialog file

a guest
Jan 18th, 2015
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. / edit_project.h file
  2.  
  3. #ifndef EDIT_PROJECT_H
  4. #define EDIT_PROJECT_H
  5.  
  6. #include <QWidget>
  7. #include "new_project.h"
  8.  
  9.  
  10. namespace Ui {
  11. class edit_project;
  12. }
  13.  
  14. class edit_project : public new_project
  15. {
  16. Q_OBJECT
  17.  
  18. public:
  19. explicit edit_project(QWidget *parent = 0);
  20. ~edit_project();
  21.  
  22. signals:
  23.  
  24. public slots:
  25.  
  26. private:
  27. Ui::new_project *ui_edit_project;
  28. };
  29.  
  30.  
  31.  
  32. #endif // EDIT_PROJECT_H
  33.  
  34.  
  35. //.cpp file
  36.  
  37. #include "ui_new_project.h"
  38. #include "edit_project.h"
  39.  
  40.  
  41.  
  42. edit_project::edit_project(QWidget *parent) : new_project(parent),
  43. ui_edit_project(new Ui::new_project) {
  44. ui_edit_project->setupUi(this);
  45. }
  46.  
  47. edit_project::~edit_project()
  48. {
  49.  
  50. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement