Advertisement
erzis

Untitled

Nov 29th, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. #include "mainwindow.h"
  2. #include "ui_mainwindow.h"
  3.  
  4. MainWindow::MainWindow(QWidget *parent) :
  5. QMainWindow(parent),
  6. ui(new Ui::MainWindow)
  7. {
  8. ui->setupUi(this);
  9. ui->Running->setVisible(false);
  10. ui->restart->setVisible(false);
  11. }
  12.  
  13. MainWindow::~MainWindow()
  14. {
  15. delete ui;
  16. }
  17.  
  18. void MainWindow::on_exit_clicked()
  19. {
  20.  
  21. }
  22.  
  23. void MainWindow::on_restart_clicked()
  24. {
  25.  
  26. }
  27.  
  28. void MainWindow::on_start_clicked()
  29. {
  30. ui->start->setVisible(false);
  31. ui->label->setVisible(false);
  32. ui->label_2->setVisible(false);
  33. ui->Running->setVisible(true);
  34. ui->restart->setVisible(true);
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement