network.cpp 378 B

12345678910111213141516171819202122232425
  1. #include "network.h"
  2. #include "ui_network.h"
  3. #include <QClipboard>
  4. Network::Network(QWidget *parent) :
  5. QWidget(parent),
  6. ui(new Ui::Network)
  7. {
  8. ui->setupUi(this);
  9. }
  10. Network::~Network()
  11. {
  12. delete ui;
  13. }
  14. void Network::on_leaveNetworkButton_clicked()
  15. {
  16. }
  17. void Network::on_networkIdPushButton_clicked()
  18. {
  19. QApplication::clipboard()->setText(ui->networkIdPushButton->text());
  20. }