Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
T
timp-pcbcam
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Clownce Deng
timp-pcbcam
Commits
28b3f5af
Commit
28b3f5af
authored
Jun 30, 2022
by
Clownce Deng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: res path
parent
718e433d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
setup.py
setup.py
+1
-1
popviewwindow.cpp
src/cxx/lib/widget/popviewwindow.cpp
+7
-7
No files found.
setup.py
View file @
28b3f5af
...
...
@@ -10,7 +10,7 @@ from setuptools.command.build_ext import build_ext
# ---- PROJECT SETTING ---------- #
PROJECT
=
"timp_pcbcam"
LIBNAME
=
"libpcbcam"
VERSION
=
"1.0.
0
"
VERSION
=
"1.0.
1
"
DESCRIPTION
=
"timp_pcbcam lib"
# 要编译的版本[5|6]
BUILD_QT_VERSION
=
5
...
...
src/cxx/lib/widget/popviewwindow.cpp
View file @
28b3f5af
...
...
@@ -134,37 +134,37 @@ PcbCamPopViewWindow::PcbCamPopViewWindow(const QRectF &iSourceRect, const QRect
vlayout
->
addLayout
(
imagelayout
,
1
);
QColor
iconColor
=
Qt
::
white
;
auto
viewUpBtn
=
new
QPushButton
(
coloredIcon
(
QIcon
(
"
:
/res/icon/view_up.svg"
),
iconColor
),
""
,
this
);
auto
viewUpBtn
=
new
QPushButton
(
coloredIcon
(
QIcon
(
"
.
/res/icon/view_up.svg"
),
iconColor
),
""
,
this
);
viewUpBtn
->
setToolTip
(
tr
(
"Pan Up"
));
viewUpBtn
->
setProperty
(
"SS_TYPE"
,
"DARKTOOL"
);
viewUpBtn
->
setProperty
(
"SS_SIZE"
,
"SMALL"
);
auto
viewDownBtn
=
new
QPushButton
(
coloredIcon
(
QIcon
(
"
:
/res/icon/view_down.svg"
),
iconColor
)
,
""
,
this
);
auto
viewDownBtn
=
new
QPushButton
(
coloredIcon
(
QIcon
(
"
.
/res/icon/view_down.svg"
),
iconColor
)
,
""
,
this
);
viewDownBtn
->
setToolTip
(
tr
(
"Pan Down"
));
viewDownBtn
->
setProperty
(
"SS_TYPE"
,
"DARKTOOL"
);
viewDownBtn
->
setProperty
(
"SS_SIZE"
,
"SMALL"
);
auto
viewLeftBtn
=
new
QPushButton
(
coloredIcon
(
QIcon
(
"
:
/res/icon/view_left.svg"
),
iconColor
),
""
,
this
);
auto
viewLeftBtn
=
new
QPushButton
(
coloredIcon
(
QIcon
(
"
.
/res/icon/view_left.svg"
),
iconColor
),
""
,
this
);
viewLeftBtn
->
setProperty
(
"SS_TYPE"
,
"DARKTOOL"
);
viewLeftBtn
->
setProperty
(
"SS_SIZE"
,
"SMALL"
);
viewLeftBtn
->
setToolTip
(
tr
(
"Pan Left"
));
auto
viewRightBtn
=
new
QPushButton
(
coloredIcon
(
QIcon
(
"
:
/res/icon/view_right.svg"
),
iconColor
)
,
""
,
this
);
auto
viewRightBtn
=
new
QPushButton
(
coloredIcon
(
QIcon
(
"
.
/res/icon/view_right.svg"
),
iconColor
)
,
""
,
this
);
viewRightBtn
->
setToolTip
(
tr
(
"Pan Down"
));
viewRightBtn
->
setProperty
(
"SS_TYPE"
,
"DARKTOOL"
);
viewRightBtn
->
setProperty
(
"SS_SIZE"
,
"SMALL"
);
auto
zoomInBtn
=
new
QPushButton
(
coloredIcon
(
QIcon
(
"
:
/res/icon/zoom_in.svg"
),
iconColor
),
""
,
this
);
auto
zoomInBtn
=
new
QPushButton
(
coloredIcon
(
QIcon
(
"
.
/res/icon/zoom_in.svg"
),
iconColor
),
""
,
this
);
zoomInBtn
->
setToolTip
(
tr
(
"Zoom In"
));
zoomInBtn
->
setProperty
(
"SS_TYPE"
,
"DARKTOOL"
);
zoomInBtn
->
setProperty
(
"SS_SIZE"
,
"SMALL"
);
auto
zoomOutBtn
=
new
QPushButton
(
coloredIcon
(
QIcon
(
"
:
/res/icon/zoom_out.svg"
),
iconColor
),
""
,
this
);
auto
zoomOutBtn
=
new
QPushButton
(
coloredIcon
(
QIcon
(
"
.
/res/icon/zoom_out.svg"
),
iconColor
),
""
,
this
);
zoomOutBtn
->
setToolTip
(
tr
(
"Zoom Out"
));
zoomOutBtn
->
setProperty
(
"SS_TYPE"
,
"DARKTOOL"
);
zoomOutBtn
->
setProperty
(
"SS_SIZE"
,
"SMALL"
);
auto
closeBtn
=
new
QPushButton
(
coloredIcon
(
QIcon
(
"
:
/res/icon/close.svg"
),
iconColor
),
""
,
this
);
auto
closeBtn
=
new
QPushButton
(
coloredIcon
(
QIcon
(
"
.
/res/icon/close.svg"
),
iconColor
),
""
,
this
);
closeBtn
->
setToolTip
(
tr
(
"Close"
));
closeBtn
->
setProperty
(
"SS_TYPE"
,
"DARKTOOL"
);
closeBtn
->
setProperty
(
"SS_SIZE"
,
"SMALL"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment