cheatsheet_dialog.cpp
Go to the documentation of this file.
1 #include "cheatsheet_dialog.h"
2 #include "ui_cheatsheet_dialog.h"
3 
5  QDialog(parent),
6  ui(new Ui::CheatsheetDialog)
7 {
8  ui->setupUi(this);
9 
10  QPixmap pixmap;
11 
12  pixmap.load(":/cheatsheet/img/tutorial_drag_drop.png");
13  ui->labelImage_1->setPixmap(pixmap);
14 
15  pixmap.load(":/cheatsheet/img/tutorial_search.png");
16  ui->labelImage_2->setPixmap(pixmap);
17 
18  pixmap.load(":/cheatsheet/img/tutorial_split.png");
19  ui->labelImage_3->setPixmap(pixmap);
20 
21  pixmap.load(":/cheatsheet/img/tutorial_xy_drag.png");
22  ui->labelImage_4->setPixmap(pixmap);
23 
24  pixmap.load(":/cheatsheet/img/tutorial_tracker.png");
25  ui->labelImage_5->setPixmap(pixmap);
26 
27  pixmap.load(":/cheatsheet/img/tutorial_zoom.png");
28  ui->labelImage_6->setPixmap(pixmap);
29 
30  pixmap.load(":/cheatsheet/img/tutorial_font_size.png");
31  ui->labelImage_7->setPixmap(pixmap);
32 
33  pixmap.load(":/cheatsheet/img/tutorial_filter.png");
34  ui->labelImage_8->setPixmap(pixmap);
35 
36  pixmap.load(":/cheatsheet/img/tutorial_filter.png");
37  ui->labelImage_8->setPixmap(pixmap);
38 
39  pixmap.load(":/cheatsheet/img/tutorial_custom.png");
40  ui->labelImage_9->setPixmap(pixmap);
41 
42  pixmap.load(":/cheatsheet/img/tutorial_layout.png");
43  ui->labelImage_10->setPixmap(pixmap);
44 }
45 
47 {
48  delete ui;
49 }
50 
52 {
53  ui->stackedWidget->setCurrentIndex(currentRow);
54 }
void on_listWidget_currentRowChanged(int currentRow)
Ui::CheatsheetDialog * ui
CheatsheetDialog(QWidget *parent=nullptr)


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 03:47:33