summaryrefslogtreecommitdiff
path: root/view/sharedcache
diff options
context:
space:
mode:
authorAlexander Taylor <alex@vector35.com>2025-04-02 18:50:39 -0400
committerAlexander Taylor <alex@vector35.com>2025-04-02 18:50:39 -0400
commit58568cd94ea54723b95eaae83ccc387415ff8547 (patch)
tree83ca95153b8b2f98584bab71d101c13affbed3d5 /view/sharedcache
parentfa210cf133480db3e5e4e396b55d4fb41ee1ac8b (diff)
Use standard buttons in shared cache view.
Diffstat (limited to 'view/sharedcache')
-rw-r--r--view/sharedcache/ui/dsctriage.cpp18
1 files changed, 3 insertions, 15 deletions
diff --git a/view/sharedcache/ui/dsctriage.cpp b/view/sharedcache/ui/dsctriage.cpp
index 048cf660..8ed9728c 100644
--- a/view/sharedcache/ui/dsctriage.cpp
+++ b/view/sharedcache/ui/dsctriage.cpp
@@ -104,7 +104,7 @@ DSCTriageView::DSCTriageView(QWidget* parent, BinaryViewRef data) : QWidget(pare
// Show the icon in the loaded column.
loadImageTable->setItemDelegateForColumn(1, new LoadedDelegate());
- auto loadImageButton = new CustomStyleFlatPushButton();
+ auto loadImageButton = new QPushButton();
{
connect(loadImageButton, &QPushButton::clicked,
[loadImageTable, loadImagesWithAddr](bool) {
@@ -120,21 +120,13 @@ DSCTriageView::DSCTriageView(QWidget* parent, BinaryViewRef data) : QWidget(pare
loadImagesWithAddr(addresses);
});
loadImageButton->setText("Load Selected");
-
- loadImageButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
- loadImageButton->setMinimumWidth(100);
- loadImageButton->setMinimumHeight(30);
} // loadImageButton
- auto refreshDataButton = new CustomStyleFlatPushButton();
+ auto refreshDataButton = new QPushButton();
{
// TODO: Might want to introduce a cooldown for this button (if we even keep it)
connect(refreshDataButton, &QPushButton::clicked, [this](bool) { RefreshData(); });
refreshDataButton->setText("Refresh");
-
- refreshDataButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
- refreshDataButton->setMinimumWidth(100);
- refreshDataButton->setMinimumHeight(30);
} // refreshDataButton
auto loadImageFilterEdit = new FilterEdit(loadImageTable);
@@ -192,7 +184,7 @@ DSCTriageView::DSCTriageView(QWidget* parent, BinaryViewRef data) : QWidget(pare
});
}
- auto loadSymbolImageButton = new CustomStyleFlatPushButton();
+ auto loadSymbolImageButton = new QPushButton();
{
connect(loadSymbolImageButton, &QPushButton::clicked,
[this, loadImagesWithAddr](bool) {
@@ -203,10 +195,6 @@ DSCTriageView::DSCTriageView(QWidget* parent, BinaryViewRef data) : QWidget(pare
loadImagesWithAddr(addresses);
});
loadSymbolImageButton->setText("Load Image");
-
- loadSymbolImageButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
- loadSymbolImageButton->setMinimumWidth(100);
- loadSymbolImageButton->setMinimumHeight(30);
} // loadImageButton
// Shows the current selected rows image name.