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
0c5655c8
Commit
0c5655c8
authored
Jul 16, 2010
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better attribute name
parent
7d098302
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mainwindow.py
blink/mainwindow.py
+3
-3
No files found.
blink/mainwindow.py
View file @
0c5655c8
...
@@ -62,7 +62,7 @@ class MainWindow(base_class, ui_class):
...
@@ -62,7 +62,7 @@ class MainWindow(base_class, ui_class):
self
.
contact_model
.
load
()
self
.
contact_model
.
load
()
self
.
about_panel
=
AboutPanel
(
self
)
self
.
about_panel
=
AboutPanel
(
self
)
self
.
contact_editor
=
ContactEditorDialog
(
self
.
contact_model
,
self
)
self
.
contact_editor
_dialog
=
ContactEditorDialog
(
self
.
contact_model
,
self
)
self
.
session_model
=
SessionModel
(
self
)
self
.
session_model
=
SessionModel
(
self
)
self
.
session_list
.
setModel
(
self
.
session_model
)
self
.
session_list
.
setModel
(
self
.
session_model
)
...
@@ -168,7 +168,7 @@ class MainWindow(base_class, ui_class):
...
@@ -168,7 +168,7 @@ class MainWindow(base_class, ui_class):
def
closeEvent
(
self
,
event
):
def
closeEvent
(
self
,
event
):
super
(
MainWindow
,
self
)
.
closeEvent
(
event
)
super
(
MainWindow
,
self
)
.
closeEvent
(
event
)
self
.
about_panel
.
close
()
self
.
about_panel
.
close
()
self
.
contact_editor
.
close
()
self
.
contact_editor
_dialog
.
close
()
def
set_user_icon
(
self
,
image_file_name
):
def
set_user_icon
(
self
,
image_file_name
):
pixmap
=
QPixmap
(
32
,
32
)
pixmap
=
QPixmap
(
32
,
32
)
...
@@ -259,7 +259,7 @@ class MainWindow(base_class, ui_class):
...
@@ -259,7 +259,7 @@ class MainWindow(base_class, ui_class):
preferred_group
=
(
group
for
group
in
model
.
contact_groups
if
type
(
group
)
is
ContactGroup
)
.
next
()
preferred_group
=
(
group
for
group
in
model
.
contact_groups
if
type
(
group
)
is
ContactGroup
)
.
next
()
except
StopIteration
:
except
StopIteration
:
preferred_group
=
None
preferred_group
=
None
self
.
contact_editor
.
open_for_add
(
self
.
search_box
.
text
(),
preferred_group
)
self
.
contact_editor
_dialog
.
open_for_add
(
self
.
search_box
.
text
(),
preferred_group
)
def
_SH_AudioCallButtonClicked
(
self
):
def
_SH_AudioCallButtonClicked
(
self
):
list
=
self
.
contact_list
if
self
.
contacts_view
.
currentWidget
()
is
self
.
contact_list_panel
else
self
.
search_list
list
=
self
.
contact_list
if
self
.
contacts_view
.
currentWidget
()
is
self
.
contact_list_panel
else
self
.
search_list
...
...
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