Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
8442d2a4
Commit
8442d2a4
authored
Jun 24, 2010
by
Luci Stanescu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved tab focus in MainWindow
parent
5c56d0ae
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
contacts.py
blink/contacts.py
+8
-0
blink.ui
resources/blink.ui
+17
-0
No files found.
blink/contacts.py
View file @
8442d2a4
...
@@ -1353,6 +1353,14 @@ class ContactSearchListView(QListView):
...
@@ -1353,6 +1353,14 @@ class ContactSearchListView(QListView):
self
.
actions
.
request_remote_desktop
=
QAction
(
"Request Remote Desktop"
,
self
,
triggered
=
self
.
_AH_RequestRemoteDesktop
)
self
.
actions
.
request_remote_desktop
=
QAction
(
"Request Remote Desktop"
,
self
,
triggered
=
self
.
_AH_RequestRemoteDesktop
)
self
.
actions
.
share_my_desktop
=
QAction
(
"Share My Desktop"
,
self
,
triggered
=
self
.
_AH_ShareMyDesktop
)
self
.
actions
.
share_my_desktop
=
QAction
(
"Share My Desktop"
,
self
,
triggered
=
self
.
_AH_ShareMyDesktop
)
def
focusInEvent
(
self
,
event
):
super
(
ContactSearchListView
,
self
)
.
focusInEvent
(
event
)
model
=
self
.
model
()
selection_model
=
self
.
selectionModel
()
if
not
selection_model
.
selectedIndexes
()
and
model
.
rowCount
()
>
0
:
selection_model
.
select
(
model
.
index
(
0
,
0
),
selection_model
.
Select
)
selection_model
.
setCurrentIndex
(
model
.
index
(
0
,
0
),
selection_model
.
Select
)
def
paintEvent
(
self
,
event
):
def
paintEvent
(
self
,
event
):
super
(
ContactSearchListView
,
self
)
.
paintEvent
(
event
)
super
(
ContactSearchListView
,
self
)
.
paintEvent
(
event
)
if
self
.
drop_indicator_index
.
isValid
():
if
self
.
drop_indicator_index
.
isValid
():
...
...
resources/blink.ui
View file @
8442d2a4
...
@@ -887,7 +887,24 @@ buttons below.</string>
...
@@ -887,7 +887,24 @@ buttons below.</string>
</customwidgets>
</customwidgets>
<tabstops>
<tabstops>
<tabstop>
search_box
</tabstop>
<tabstop>
search_box
</tabstop>
<tabstop>
search_list
</tabstop>
<tabstop>
activity_note
</tabstop>
<tabstop>
status
</tabstop>
<tabstop>
display_name
</tabstop>
<tabstop>
switch_view_button
</tabstop>
<tabstop>
contact_list
</tabstop>
<tabstop>
back_to_contacts_button
</tabstop>
<tabstop>
add_search_contact_button
</tabstop>
<tabstop>
identity
</tabstop>
<tabstop>
identity
</tabstop>
<tabstop>
add_contact_button
</tabstop>
<tabstop>
audio_call_button
</tabstop>
<tabstop>
im_session_button
</tabstop>
<tabstop>
ds_session_button
</tabstop>
<tabstop>
silent_button
</tabstop>
<tabstop>
session_list
</tabstop>
<tabstop>
hangup_all_button
</tabstop>
<tabstop>
conference_button
</tabstop>
<tabstop>
mute_button
</tabstop>
</tabstops>
</tabstops>
<resources/>
<resources/>
<connections>
<connections>
...
...
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