From 512371a6d40f59f35043e2a1d18cda4498b16a15 Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Mon, 18 Apr 2022 11:38:30 +0800 Subject: [PATCH] - fix: index of the longest line not correctly updated ( which will cause selection errors) --- .../settingsdialog/projectcompileparamaterswidget.h | 6 ++++++ .../projectcompileparamaterswidget.ui | 13 +++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/RedPandaIDE/settingsdialog/projectcompileparamaterswidget.h b/RedPandaIDE/settingsdialog/projectcompileparamaterswidget.h index cb1116ff..a69d673f 100644 --- a/RedPandaIDE/settingsdialog/projectcompileparamaterswidget.h +++ b/RedPandaIDE/settingsdialog/projectcompileparamaterswidget.h @@ -39,6 +39,12 @@ private: protected: void doLoad() override; void doSave() override; +private slots: + void on_btnChooseLib_clicked(); + + // SettingsWidget interface +protected: + void updateIcons(const QSize &size) Q_DECL_OVERRIDE; }; #endif // PROJECTCOMPILEPARAMATERSWIDGET_H diff --git a/RedPandaIDE/settingsdialog/projectcompileparamaterswidget.ui b/RedPandaIDE/settingsdialog/projectcompileparamaterswidget.ui index b1fe6cad..282e0dc8 100644 --- a/RedPandaIDE/settingsdialog/projectcompileparamaterswidget.ui +++ b/RedPandaIDE/settingsdialog/projectcompileparamaterswidget.ui @@ -115,7 +115,14 @@ - ... + Add Library Files + + + + :/icons/images/newlook24/035-expolr.png:/icons/images/newlook24/035-expolr.png + + + Qt::ToolButtonTextBesideIcon @@ -128,6 +135,8 @@ - + + +