diff --git a/src/widgets/HexdumpWidget.cpp b/src/widgets/HexdumpWidget.cpp index c7c553aa..9b0193f5 100644 --- a/src/widgets/HexdumpWidget.cpp +++ b/src/widgets/HexdumpWidget.cpp @@ -660,7 +660,6 @@ void HexdumpWidget::colorsUpdatedSlot() ui->hexOffsetText->setStyleSheet(styleSheet); ui->hexHexText->setStyleSheet(styleSheet); ui->hexASCIIText->setStyleSheet(styleSheet); - ui->hexSpacerText->setStyleSheet(styleSheet); } void HexdumpWidget::clearParseWindow() @@ -1010,20 +1009,6 @@ void HexdumpWidget::on_hexSideTab_2_currentChanged(int /*index*/) } -void HexdumpWidget::on_memSideToolButton_clicked() -{ - if (ui->memSideToolButton->isChecked()) - { - ui->hexSideTab_2->hide(); - ui->memSideToolButton->setIcon(QIcon(":/img/icons/left_light.svg")); - } - else - { - ui->hexSideTab_2->show(); - ui->memSideToolButton->setIcon(QIcon(":/img/icons/right_light.svg")); - } -} - void HexdumpWidget::resizeEvent(QResizeEvent *event) { QDockWidget::resizeEvent(event); diff --git a/src/widgets/HexdumpWidget.h b/src/widgets/HexdumpWidget.h index 05259232..fc0f69af 100644 --- a/src/widgets/HexdumpWidget.h +++ b/src/widgets/HexdumpWidget.h @@ -140,7 +140,6 @@ private slots: void colorsUpdatedSlot(); void on_hexSideTab_2_currentChanged(int index); - void on_memSideToolButton_clicked(); void on_copyMD5_clicked(); void on_copySHA1_clicked(); }; diff --git a/src/widgets/HexdumpWidget.ui b/src/widgets/HexdumpWidget.ui index 11d288f6..00d9af02 100644 --- a/src/widgets/HexdumpWidget.ui +++ b/src/widgets/HexdumpWidget.ui @@ -36,126 +36,12 @@ 0 - - - - - 0 - 0 - - - - - 0 - 0 - - - - background-color: #333; - - - QFrame::NoFrame - - - QFrame::Plain - - - 0 - - - - 5 - - - 0 - - - 10 - - - 0 - - - 0 - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - Show/Hide memory sidebar - - - QToolButton { /* all types of tool button */ - border: 5px solid #333; - border-left: 10px solid #333; - border-right: 10px solid #333; - border-radius: 0px; - background-color: #333; - } - -QToolButton:hover { - border: 5px solid #444; - border-left: 10px solid #444; - border-right: 10px solid #444; - border-radius: 0px; - background-color: #444; - } - -QToolButton:pressed { - border: 5px solid #2180a9; - border-left: 10px solid #2180a9; - border-right: 10px solid #2180a9; - border-radius: 0px; - background-color: #2180a9; -} - -QToolButton:checkeds { - border: 5px solid #2180a9; - border-left: 10px solid #2180a9; - border-right: 10px solid #2180a9; - border-radius: 0px; - background-color: #2180a9; -} - -QToolTip { - background-color: #444; - border: 3px solid #444; - color: rgb(232, 232, 232); -} - - - - - - - :/img/icons/right_light.svg:/img/icons/right_light.svg - - - true - - - - - - - + 0 0 @@ -325,19 +211,6 @@ QToolTip { - - - - QFrame::NoFrame - - - QFrame::Plain - - - Qt::NoTextInteraction - - - @@ -825,19 +698,6 @@ QToolTip { - - - - Qt::Vertical - - - - 20 - 40 - - - - @@ -1059,8 +919,6 @@ QToolTip { - - - +