Skip to content

Commit

Permalink
修改ui显示
Browse files Browse the repository at this point in the history
  • Loading branch information
MingYueRuYa committed Sep 28, 2024
1 parent fa94d08 commit 78dab98
Show file tree
Hide file tree
Showing 13 changed files with 1,008 additions and 480 deletions.
8 changes: 8 additions & 0 deletions WindbgIFEO/WindbgIFEO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <QtCore/QSettings>
#include <algorithm>
#include <tuple>
#include <QGraphicsDropShadowEffect>

#include "NcFrameLessHelper.h"
#include "application.h"
Expand Down Expand Up @@ -445,6 +446,7 @@ void WindbgIFEO::_location_reg_path(const QString& reg_path) {
}

void WindbgIFEO::_init_ui() {
this->setAttribute(Qt::WA_TranslucentBackground, true);
this->setWindowFlags(Qt::FramelessWindowHint |
Qt::X11BypassWindowManagerHint);
_frame_less_helper = new NcFramelessHelper();
Expand All @@ -466,6 +468,12 @@ void WindbgIFEO::_init_ui() {
com->setCaseSensitivity(Qt::CaseInsensitive);
item->setCompleter(com);
}

QGraphicsDropShadowEffect* effect = new QGraphicsDropShadowEffect();
effect->setOffset(0, 0);
effect->setColor(Qt::lightGray);
effect->setBlurRadius(10);
this->setGraphicsEffect(effect);
}

void WindbgIFEO::_init_signal() {
Expand Down
2 changes: 0 additions & 2 deletions WindbgIFEO/WindbgIFEO.rc
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ END
// PNG
//

IDB_PNG1 PNG "E:\\my_document\\worktools\\WindbgIFEO\\resource\\images\\icon.png"


/////////////////////////////////////////////////////////////////////////////
//
Expand Down
2 changes: 1 addition & 1 deletion WindbgIFEO/WindbgIFEO.sln
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {A057B60E-1E9F-4D2B-85BB-335DDF81F1AB}
Qt5Version = 5.15.11.mt_static
SolutionGuid = {A057B60E-1E9F-4D2B-85BB-335DDF81F1AB}
EndGlobalSection
EndGlobal
Loading

0 comments on commit 78dab98

Please sign in to comment.