diff --git a/Qt_Performance_Benchmark/Qt_Performance_Benchmark.pro b/Qt_Performance_Benchmark/Qt_Performance_Benchmark.pro
index d01e364..a6315b3 100644
--- a/Qt_Performance_Benchmark/Qt_Performance_Benchmark.pro
+++ b/Qt_Performance_Benchmark/Qt_Performance_Benchmark.pro
@@ -22,3 +22,8 @@ FORMS += \
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
+
+contains(ANDROID_TARGET_ARCH,) {
+ ANDROID_ABIS = \
+ armeabi-v7a
+}
diff --git a/Qt_Performance_Benchmark/mainwindow.cpp b/Qt_Performance_Benchmark/mainwindow.cpp
index 41a26bd..f981b2b 100644
--- a/Qt_Performance_Benchmark/mainwindow.cpp
+++ b/Qt_Performance_Benchmark/mainwindow.cpp
@@ -13,3 +13,13 @@ MainWindow::~MainWindow()
delete ui;
}
+
+void MainWindow::on_horizontalSlider_sliderMoved(int position)
+{
+ui->progressBar->setValue(100-position);
+}
+
+void MainWindow::on_pushButton_clicked()
+{
+ ui->lineEdit->clear();
+}
diff --git a/Qt_Performance_Benchmark/mainwindow.h b/Qt_Performance_Benchmark/mainwindow.h
index 4643e32..53da0d6 100644
--- a/Qt_Performance_Benchmark/mainwindow.h
+++ b/Qt_Performance_Benchmark/mainwindow.h
@@ -15,6 +15,11 @@ public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
+private slots:
+ void on_horizontalSlider_sliderMoved(int position);
+
+ void on_pushButton_clicked();
+
private:
Ui::MainWindow *ui;
};
diff --git a/Qt_Performance_Benchmark/mainwindow.ui b/Qt_Performance_Benchmark/mainwindow.ui
index d3a445b..8fe303f 100644
--- a/Qt_Performance_Benchmark/mainwindow.ui
+++ b/Qt_Performance_Benchmark/mainwindow.ui
@@ -6,8 +6,8 @@
0
0
- 800
- 600
+ 783
+ 694
@@ -17,10 +17,10 @@
- 140
- 70
- 281
- 251
+ 210
+ 50
+ 401
+ 543
@@ -40,10 +40,16 @@
90
- 6
+ 29
-
+
+
+ 0
+ 40
+
+
CheckBox
@@ -51,6 +57,12 @@
-
+
+
+ 0
+ 40
+
+
@@ -58,9 +70,18 @@
-
+
+ true
+
+
+
+ 0
+ 40
+
+
- 9
+ 20
@@ -69,10 +90,23 @@
-
-
+
+
+
+ 0
+ 40
+
+
+
-
+
+
+ 0
+ 20
+
+
Qt::Horizontal
@@ -80,6 +114,12 @@
-
+
+
+ 0
+ 40
+
+
-
First
@@ -94,6 +134,12 @@
-
+
+
+ 0
+ 40
+
+
PushButton
@@ -101,6 +147,24 @@
-
+
+
+ 0
+ 40
+
+
+
+
+ 0
+ 2
+
+
+
+
+ 0
+ 1
+
+
24
@@ -114,7 +178,7 @@
0
0
- 800
+ 783
23