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), ui(new Ui::CheatsheetDialog)
6 {
7  ui->setupUi(this);
8 
9  QPixmap pixmap;
10 
11  pixmap.load(":/cheatsheet/img/tutorial_drag_drop.png");
12  ui->labelImage_1->setPixmap(pixmap);
13 
14  pixmap.load(":/cheatsheet/img/tutorial_search.png");
15  ui->labelImage_2->setPixmap(pixmap);
16 
17  pixmap.load(":/cheatsheet/img/tutorial_split.png");
18  ui->labelImage_3->setPixmap(pixmap);
19 
20  pixmap.load(":/cheatsheet/img/tutorial_xy_drag.png");
21  ui->labelImage_4->setPixmap(pixmap);
22 
23  pixmap.load(":/cheatsheet/img/tutorial_tracker.png");
24  ui->labelImage_5->setPixmap(pixmap);
25 
26  pixmap.load(":/cheatsheet/img/tutorial_zoom.png");
27  ui->labelImage_6->setPixmap(pixmap);
28 
29  pixmap.load(":/cheatsheet/img/tutorial_font_size.png");
30  ui->labelImage_7->setPixmap(pixmap);
31 
32  pixmap.load(":/cheatsheet/img/tutorial_filter.png");
33  ui->labelImage_8->setPixmap(pixmap);
34 
35  pixmap.load(":/cheatsheet/img/tutorial_filter.png");
36  ui->labelImage_8->setPixmap(pixmap);
37 
38  pixmap.load(":/cheatsheet/img/tutorial_custom.png");
39  ui->labelImage_9->setPixmap(pixmap);
40 
41  pixmap.load(":/cheatsheet/img/tutorial_layout.png");
42  ui->labelImage_10->setPixmap(pixmap);
43 
44  pixmap.load(":/cheatsheet/img/tutorial_colormap.png");
45  ui->labelImage_11->setPixmap(pixmap);
46 }
47 
49 {
50  delete ui;
51 }
52 
54 {
55  ui->stackedWidget->setCurrentIndex(currentRow);
56 }
void on_listWidget_currentRowChanged(int currentRow)
Ui::CheatsheetDialog * ui
CheatsheetDialog(QWidget *parent=nullptr)


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Jun 19 2023 03:01:01