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
82451248
Commit
82451248
authored
Apr 01, 2010
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed some icons
parent
acbca1d0
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
8 deletions
+8
-8
contacts.py
blink/contacts.py
+1
-1
mainwindow.py
blink/mainwindow.py
+2
-2
blink.ui
resources/blink.ui
+4
-4
contact.ui
resources/contact.ui
+1
-1
bell-off.png
resources/icons/bell-off.png
+0
-0
bell-on.png
resources/icons/bell-on.png
+0
-0
default-avatar.png
resources/icons/default-avatar.png
+0
-0
No files found.
blink/contacts.py
View file @
82451248
...
@@ -76,7 +76,7 @@ class ContactIconDescriptor(object):
...
@@ -76,7 +76,7 @@ class ContactIconDescriptor(object):
class
Contact
(
object
):
class
Contact
(
object
):
default_user_icon
=
ContactIconDescriptor
(
'icons/default
_user_icon
.png'
)
default_user_icon
=
ContactIconDescriptor
(
'icons/default
-avatar
.png'
)
def
__init__
(
self
,
group
,
name
,
uri
,
image
=
None
):
def
__init__
(
self
,
group
,
name
,
uri
,
image
=
None
):
self
.
group
=
group
self
.
group
=
group
...
...
blink/mainwindow.py
View file @
82451248
...
@@ -80,8 +80,8 @@ class MainWindow(base_class, ui_class):
...
@@ -80,8 +80,8 @@ class MainWindow(base_class, ui_class):
def
_setup_identities
(
self
):
def
_setup_identities
(
self
):
self
.
identity
.
addItem
(
"31208005167@ag-projects.com"
)
self
.
identity
.
addItem
(
"31208005167@ag-projects.com"
)
self
.
identity
.
addItem
(
"Bonjour"
)
self
.
identity
.
addItem
(
"Bonjour"
)
self
.
_set_user_icon
(
Resources
.
get
(
"icons/default
_user_icon
.png"
))
self
.
_set_user_icon
(
Resources
.
get
(
"icons/default
-avatar
.png"
))
#self._set_user_icon(":/resources/icons/default
_user_icon
.png")
#self._set_user_icon(":/resources/icons/default
-avatar
.png")
def
set_identity
(
self
,
string
):
def
set_identity
(
self
,
string
):
print
"identity changed"
,
string
print
"identity changed"
,
string
...
...
resources/blink.ui
View file @
82451248
...
@@ -104,7 +104,7 @@
...
@@ -104,7 +104,7 @@
<string/>
<string/>
</property>
</property>
<property
name=
"pixmap"
>
<property
name=
"pixmap"
>
<pixmap>
icons/default
_user_icon
.png
</pixmap>
<pixmap>
icons/default
-avatar
.png
</pixmap>
</property>
</property>
<property
name=
"alignment"
>
<property
name=
"alignment"
>
<set>
Qt::AlignCenter
</set>
<set>
Qt::AlignCenter
</set>
...
@@ -265,7 +265,7 @@
...
@@ -265,7 +265,7 @@
<item>
<item>
<widget
class=
"QStackedWidget"
name=
"main_view"
>
<widget
class=
"QStackedWidget"
name=
"main_view"
>
<property
name=
"currentIndex"
>
<property
name=
"currentIndex"
>
<number>
1
</number>
<number>
0
</number>
</property>
</property>
<widget
class=
"QWidget"
name=
"contacts_panel"
>
<widget
class=
"QWidget"
name=
"contacts_panel"
>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout_8"
>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout_8"
>
...
@@ -626,8 +626,8 @@ buttons below.</string>
...
@@ -626,8 +626,8 @@ buttons below.</string>
</property>
</property>
<property
name=
"icon"
>
<property
name=
"icon"
>
<iconset>
<iconset>
<normaloff>
icons/bellon.png
</normaloff>
<normaloff>
icons/bell
-
on.png
</normaloff>
<normalon>
icons/bell
off.png
</normalon>
icons/bell
on.png
</iconset>
<normalon>
icons/bell
-off.png
</normalon>
icons/bell-
on.png
</iconset>
</property>
</property>
<property
name=
"iconSize"
>
<property
name=
"iconSize"
>
<size>
<size>
...
...
resources/contact.ui
View file @
82451248
...
@@ -111,7 +111,7 @@
...
@@ -111,7 +111,7 @@
<string/>
<string/>
</property>
</property>
<property
name=
"pixmap"
>
<property
name=
"pixmap"
>
<pixmap>
icons/default
_user_icon
.png
</pixmap>
<pixmap>
icons/default
-avatar
.png
</pixmap>
</property>
</property>
</widget>
</widget>
</item>
</item>
...
...
resources/icons/belloff.png
→
resources/icons/bell
-
off.png
View file @
82451248
File moved
resources/icons/bellon.png
→
resources/icons/bell
-
on.png
View file @
82451248
File moved
resources/icons/default
_user_icon
.png
→
resources/icons/default
-avatar
.png
View file @
82451248
File moved
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