HGGitLab
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
app
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
luoliangyi
app
Commits
8256a0f4
Commit
8256a0f4
authored
Mar 22, 2022
by
luoliangyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理拖入文件自动滚动功能
parent
68251015
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
195 additions
and
134 deletions
+195
-134
ui/HGImgThumb.cpp
ui/HGImgThumb.cpp
+194
-134
ui/HGImgThumb.hpp
ui/HGImgThumb.hpp
+1
-0
No files found.
ui/HGImgThumb.cpp
View file @
8256a0f4
This diff is collapsed.
Click to expand it.
ui/HGImgThumb.hpp
View file @
8256a0f4
...
@@ -161,6 +161,7 @@ private:
...
@@ -161,6 +161,7 @@ private:
int
getItemCol
(
int
index
);
int
getItemCol
(
int
index
);
int
getTotalRows
();
int
getTotalRows
();
int
getTotalCols
();
int
getTotalCols
();
int
getRowCount
(
int
row
);
// 获取每行的个数
int
getItem
(
const
QPoint
&
pt
,
MouseStatus
&
mouseStatus
);
int
getItem
(
const
QPoint
&
pt
,
MouseStatus
&
mouseStatus
);
int
getInsertPos
(
const
QPoint
&
pt
);
int
getInsertPos
(
const
QPoint
&
pt
);
int
findIndex
(
const
QString
&
fileName
);
int
findIndex
(
const
QString
&
fileName
);
...
...
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