Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
mainwindow.cpp
1#include "mainwindow.h"
2#include "./ui_mainwindow.h"
3#include "Desktop.h"
4
5MainWindow::MainWindow(QWidget *parent)
6 : QMainWindow(parent)
7 , ui(new Ui::MainWindow)
8{
9 ui->setupUi(this);
10}
11
12MainWindow::~MainWindow()
13{
14 delete ui;
15}
16
17void MainWindow::on_pbCapture_clicked()
18{
19 QImage img = CDesktop::Instance()->GetDesktop();
20 ui->lbImage->setPixmap(QPixmap::fromImage(img));
21}
The MainWindow class.
Definition mainwindow.h:32