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
4df84b45
Commit
4df84b45
authored
Mar 23, 2010
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed obsolete code
parent
e4cce774
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
__init__.py
blink/__init__.py
+0
-14
No files found.
blink/__init__.py
View file @
4df84b45
...
...
@@ -30,7 +30,6 @@ class Blink(object):
#self.main_window.setWindowTitle('Blink')
self
.
main_window
.
setWindowIconText
(
'Blink'
)
self
.
_setup_identities
()
#self._setup_user_states()
#self.contacts_widget = uic.loadUi("contacts.ui", self.main_window.widget)
#self.contacts_widget.hide()
...
...
@@ -78,19 +77,6 @@ class Blink(object):
self
.
_set_user_icon
(
Resources
.
get
(
"icons/default_user_icon.png"
))
#self._set_user_icon(":/resources/icons/default_user_icon.png")
def
_setup_user_states
(
self
):
red_dot
=
QIcon
()
red_dot
.
addFile
(
'icons/red-dot.svg'
)
yellow_dot
=
QIcon
()
yellow_dot
.
addFile
(
'icons/yellow-dot.svg'
)
green_dot
=
QIcon
()
green_dot
.
addFile
(
'icons/green-dot.svg'
)
self
.
main_window
.
status
.
setIconSize
(
QSize
(
10
,
10
))
self
.
main_window
.
status
.
addItem
(
green_dot
,
'Available'
)
self
.
main_window
.
status
.
addItem
(
yellow_dot
,
'Away'
)
self
.
main_window
.
status
.
addItem
(
red_dot
,
'Busy'
)
self
.
main_window
.
status
.
addItem
(
red_dot
,
'On the phone'
)
def
set_identity
(
self
,
string
):
print
"identity changed"
,
string
...
...
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