Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
KDevelop Python Support
Manage
Activity
Members
Labels
Plan
Issues
5
Issue boards
Milestones
Wiki
Bugzilla
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KDevelop
KDevelop Python Support
Commits
cdce7813
Commit
cdce7813
authored
8 years ago
by
Sven Brauch
Browse files
Options
Downloads
Patches
Plain Diff
Support expanding widgets in the completion list.
BUG:368263
parent
53a2b081
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
codecompletion/items/declaration.h
+10
-0
10 additions, 0 deletions
codecompletion/items/declaration.h
with
10 additions
and
0 deletions
codecompletion/items/declaration.h
+
10
−
0
View file @
cdce7813
...
...
@@ -37,6 +37,16 @@ public:
void
setTypeHint
(
PythonCodeCompletionContext
::
ItemTypeHint
type
);
void
addMatchQuality
(
int
add
);
bool
createsExpandingWidget
()
const
override
{
return
true
;
}
QWidget
*
createExpandingWidget
(
const
CodeCompletionModel
*
/*model*/
)
const
override
{
return
new
Python
::
NavigationWidget
(
m_declaration
,
{},
{},
{},
KDevelop
::
AbstractNavigationWidget
::
EmbeddableWidget
);
}
protected
:
PythonCodeCompletionContext
::
ItemTypeHint
m_typeHint
;
int
m_addMatchQuality
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment