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
dc4f9c38
Commit
dc4f9c38
authored
Feb 14, 2011
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restructured main menu
parent
0b277697
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
20 deletions
+25
-20
mainwindow.py
blink/mainwindow.py
+4
-2
blink.ui
resources/blink.ui
+21
-18
No files found.
blink/mainwindow.py
View file @
dc4f9c38
...
...
@@ -145,15 +145,17 @@ class MainWindow(base_class, ui_class):
self
.
release_notes_action
.
triggered
.
connect
(
partial
(
QDesktopServices
.
openUrl
,
QUrl
(
u'http://icanblink.com/changelog-qt.phtml'
)))
self
.
quit_action
.
triggered
.
connect
(
self
.
close
)
# Audio menu actions
# Call menu actions
self
.
redial_action
.
triggered
.
connect
(
self
.
_AH_RedialActionTriggered
)
self
.
mute_action
.
triggered
.
connect
(
self
.
_SH_MuteButtonClicked
)
self
.
silent_action
.
triggered
.
connect
(
self
.
_SH_SilentButtonClicked
)
# Devices menu actions
self
.
output_devices_group
.
triggered
.
connect
(
self
.
_AH_AudioOutputDeviceChanged
)
self
.
input_devices_group
.
triggered
.
connect
(
self
.
_AH_AudioInputDeviceChanged
)
self
.
alert_devices_group
.
triggered
.
connect
(
self
.
_AH_AudioAlertDeviceChanged
)
# History menu actions
self
.
redial_action
.
triggered
.
connect
(
self
.
_AH_RedialActionTriggered
)
# Tools menu actions
self
.
answering_machine_action
.
triggered
.
connect
(
self
.
_AH_EnableAnsweringMachineTriggered
)
...
...
resources/blink.ui
View file @
dc4f9c38
...
...
@@ -936,14 +936,6 @@ padding: 2px;</string>
<property
name=
"title"
>
<string>
&
History
</string>
</property>
<widget
class=
"QMenu"
name=
"voicemail_menu"
>
<property
name=
"enabled"
>
<bool>
true
</bool>
</property>
<property
name=
"title"
>
<string>
&
Voicemail
</string>
</property>
</widget>
<widget
class=
"QMenu"
name=
"missed_calls_menu"
>
<property
name=
"enabled"
>
<bool>
false
</bool>
...
...
@@ -980,17 +972,15 @@ padding: 2px;</string>
<normaloff>
icons/received-calls.png
</normaloff>
icons/received-calls.png
</iconset>
</property>
</widget>
<addaction
name=
"redial_action"
/>
<addaction
name=
"history_action"
/>
<addaction
name=
"separator"
/>
<addaction
name=
"voicemail_menu"
/>
<addaction
name=
"missed_calls_menu"
/>
<addaction
name=
"placed_calls_menu"
/>
<addaction
name=
"received_calls_menu"
/>
</widget>
<widget
class=
"QMenu"
name=
"
audio
_menu"
>
<widget
class=
"QMenu"
name=
"
devices
_menu"
>
<property
name=
"title"
>
<string>
&
Audio
</string>
<string>
&
Devices
</string>
</property>
<widget
class=
"QMenu"
name=
"output_device_menu"
>
<property
name=
"title"
>
...
...
@@ -1019,9 +1009,6 @@ padding: 2px;</string>
<normaloff>
icons/bell.png
</normaloff>
icons/bell.png
</iconset>
</property>
</widget>
<addaction
name=
"mute_action"
/>
<addaction
name=
"silent_action"
/>
<addaction
name=
"separator"
/>
<addaction
name=
"output_device_menu"
/>
<addaction
name=
"input_device_menu"
/>
<addaction
name=
"alert_device_menu"
/>
...
...
@@ -1041,8 +1028,24 @@ padding: 2px;</string>
<addaction
name=
"file_transfers_action"
/>
<addaction
name=
"logs_action"
/>
</widget>
<widget
class=
"QMenu"
name=
"call_menu"
>
<property
name=
"title"
>
<string>
&
Call
</string>
</property>
<widget
class=
"QMenu"
name=
"voicemail_menu"
>
<property
name=
"title"
>
<string>
&
Voicemail
</string>
</property>
</widget>
<addaction
name=
"redial_action"
/>
<addaction
name=
"voicemail_menu"
/>
<addaction
name=
"separator"
/>
<addaction
name=
"mute_action"
/>
<addaction
name=
"silent_action"
/>
</widget>
<addaction
name=
"blink_menu"
/>
<addaction
name=
"audio_menu"
/>
<addaction
name=
"call_menu"
/>
<addaction
name=
"devices_menu"
/>
<addaction
name=
"history_menu"
/>
<addaction
name=
"tools_menu"
/>
</widget>
...
...
@@ -1145,7 +1148,7 @@ padding: 2px;</string>
</action>
<action
name=
"redial_action"
>
<property
name=
"text"
>
<string>
Re
&
dial
</string>
<string>
&
Re
dial
</string>
</property>
<property
name=
"shortcut"
>
<string>
Ctrl+R
</string>
...
...
@@ -1173,7 +1176,7 @@ padding: 2px;</string>
<bool>
true
</bool>
</property>
<property
name=
"text"
>
<string>
&
Silen
t
</string>
<string>
&
Silen
ce alerts
</string>
</property>
<property
name=
"shortcut"
>
<string>
Ctrl+S
</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