Commit graph

130 commits

Author SHA1 Message Date
Martin Klapetek
c5834e218c [dialer] Small fixes to make the call duration counter show up correctly 2015-06-29 18:41:47 +02:00
Martin Klapetek
b7b6691c19 [dialer] Add basic call failures handler 2015-06-29 18:18:27 +02:00
Martin Klapetek
e528b41780 [dialer] Simplify the showing logic of the main ConditionalLoader 2015-06-29 18:17:58 +02:00
Martin Klapetek
b3af84b4a6 [dialer] Add contact info to the call page 2015-06-29 18:17:19 +02:00
Martin Klapetek
3e68d4589f [dialer] Add call timer to the call page 2015-06-29 18:16:10 +02:00
Martin Klapetek
a8db07cf55 [dialer] Initialize KNotification pointers to nullptr 2015-06-25 23:10:57 +02:00
Martin Klapetek
359f513a98 [dialer] Make the max font size a bit smaller
Makes things look less cramped together
2015-06-24 19:38:59 +02:00
Martin Klapetek
26214037ba [dialer] Use proper enum namespace for text alignment 2015-06-24 19:38:18 +02:00
Martin Klapetek
7fd8ef1922 [dialer] Put the sub-label under the number label 2015-06-24 19:37:17 +02:00
Martin Klapetek
86cafaf72e [dialer] Fix the missing number 4 on the dialpad
For some reason the number 4 will not appear unless the max point size
is set to 22, I have spent about an hour investigating and can't figure
out why the heck that 4 wouldn't appear and I still don't know, so I
left it at 22 for now (the size was 23~24 before anyway).
2015-06-24 17:00:10 +02:00
Martin Klapetek
86652a9eba [dialer] Fix the dialer layout
It moves the buttons in the RowLayout below the GridLayout into the
GridLayout itself; that fixes the overall width of the main layout and
everything gets nicely centered.

Plus some minor layout changes.
2015-06-24 17:00:07 +02:00
Martin Klapetek
5dd2df26de [dialer] Use KDE-Im-Phone-Ring sound for ringing 2015-06-19 17:56:58 +02:00
Martin Klapetek
1cb3b1b949 [dialer] Remove dubious \n 2015-06-19 17:55:47 +02:00
Martin Klapetek
173d138134 [dialer] Install custom qDebug messages handler
Now it logs into ~/dialer.log, this way it can be retrieved even if
autostarted by Mission Control.
2015-06-19 17:55:21 +02:00
Martin Klapetek
75124ecc74 [dialer] Also move the MissedCall notification into CallManager 2015-06-19 17:52:46 +02:00
Martin Klapetek
862172fccb [dialer] Move the ringing notification into CallManager 2015-06-19 17:52:10 +02:00
Martin Klapetek
4da57aa812 [dialer] Set the call state to "idle" on creation 2015-06-19 01:27:41 +02:00
Martin Klapetek
07ed76484a [dialer] Add missing include 2015-06-19 01:27:20 +02:00
Martin Klapetek
1bff2a4c48 [dialer] Remove the tpCaller qml plugin
Everything is now moved to DialerUtils
2015-06-19 01:26:39 +02:00
Martin Klapetek
bba2650087 [dialer] Implement hanging up in CallManager 2015-06-19 01:25:44 +02:00
Martin Klapetek
cf00cb85f3 [dialer] Move the stuff from the tpCaller qml plugin into DialerUtils
Less hassle needed with env vars
2015-06-19 01:24:46 +02:00
Martin Klapetek
def5d16a22 [dialer] Fix the dbus service exec line 2015-06-19 01:22:18 +02:00
Martin Klapetek
958983df42 [dialer] Add basic Telepathy Channel Handler 2015-06-18 21:27:24 +00:00
Martin Klapetek
2092cbc59a [dialer] Simplify checking for call in progress
The connection will always be existing, unless the network is down
at which point the channel is already invalid. No point for checking
for it then.
2015-06-18 15:34:35 +00:00
Martin Klapetek
9795b7a9cb [dialer] Emit the TpCaller::callInProgressChanged on any important Tp::Channel signals 2015-06-18 15:33:32 +00:00
Martin Klapetek
fe7b3f36b0 [dialer] Cleanup the debug output and make it more useful 2015-06-18 15:33:03 +00:00
Martin Klapetek
e1f27cebb0 [dialer] Promote the Tp::Channel class var to Tp::CallChannel 2015-06-18 15:32:06 +00:00
Martin Klapetek
eb176a4099 [dialer] Cast the Channel to CallChannel and call hangup on it
That seems to actually hang up the call
2015-06-18 14:41:03 +00:00
Martin Klapetek
cd453ba653 Add basic Telepathy call handling 2015-06-17 22:53:09 +00:00
Marco Martin
90c6887491 solve qml unique id conflicts
fixes the daemon mode
2015-06-10 12:30:43 -07:00
Marco Martin
adc4603274 return to voicecall 2015-05-20 11:12:25 +02:00
Marco Martin
0ec05d6687 e telepathyHelper for calling 2015-05-19 19:13:30 +02:00
Marco Martin
b4823d8c7b default to OfonoWrapperUbuntu 2015-05-19 19:10:04 +02:00
Marco Martin
b01da75aa1 simple ofonowrapper done on top of ubuntu thing 2015-05-19 17:56:06 +02:00
Boudewijn Rempt
dd568f8896 Make build with older versions of knotifications
The current version with LoopSound isn't available yet.
2015-05-13 11:34:44 +00:00
Marco Martin
e640d7f33f wrap voiceCall calls to a single qml file
this will make easier to port to $whatever if needed
2015-05-13 12:51:56 +02:00
Marco Martin
248095bdf3 don't use qtofono bindings
not necessary here
2015-05-13 10:21:21 +02:00
Marco Martin
4dbdce0fc4 use parameter to support the call:// uris 2015-05-05 19:45:13 +02:00
Marco Martin
5ad851df7c correct namespace 2015-05-05 19:41:10 +02:00
Marco Martin
356c504183 manage arguments in activateRequested 2015-05-05 19:38:31 +02:00
Marco Martin
c267e6e689 support call://number as paramenter 2015-05-05 19:29:48 +02:00
Marco Martin
af40bd64b1 take contacts from kpeople 2015-05-05 19:15:38 +02:00
Marco Martin
1456a2e718 call number commandline argument 2015-04-29 10:39:40 +02:00
Marco Martin
2c31673fc5 wider bottom tabbar 2015-04-28 12:45:26 +02:00
Marco Martin
bdee5e84ab better layout for the letters in dialpad 2015-04-28 12:34:00 +02:00
Marco Martin
c9ee41f3ba fix calling 2015-04-28 12:29:14 +02:00
Marco Martin
cff41cc6c0 remove date db column 2015-04-28 12:23:36 +02:00
Marco Martin
75c672dc5f make sure to stop ringing 2015-04-28 11:31:39 +02:00
Marco Martin
8b8647ab43 ring with a loop notification 2015-04-28 11:18:56 +02:00
Marco Martin
111223b727 clear calls button
tabbar to filter only missed calls
2015-04-27 13:50:37 +02:00
Marco Martin
fc430058bf pressed effect 2015-04-27 13:33:48 +02:00
Marco Martin
5efb820769 remove the correct call 2015-04-27 13:25:47 +02:00
Marco Martin
7050b65686 prettier notifications 2015-04-27 12:06:01 +02:00
Marco Martin
839208addc sort calls by time 2015-04-27 11:14:53 +02:00
Marco Martin
fb4765d50a capability to remove items
better history delegate
2015-04-27 11:01:18 +02:00
Marco Martin
c58e932db2 correctly insert values in the history 2015-04-26 21:36:17 +02:00
Marco Martin
16cbc31fd1 simple sqlite-based call history
still doesn't get updated real-time
2015-04-26 19:50:19 +02:00
Marco Martin
c3f65ad5e8 add a knotification for missed calls 2015-04-26 16:42:14 +02:00
Marco Martin
3fab7b980c add a c++ qobject will be used to do notifications 2015-04-26 15:50:59 +02:00
Marco Martin
2081b4d628 how the window when the phone is ringing 2015-04-21 12:28:14 +02:00
Marco Martin
fc047fd462 c++ app with daemon option
the app never closes, reinvoking it makes it show
2015-04-21 12:12:10 +02:00
Marco Martin
c162599b95 move dialer in a subdir, prepare for the c++ part 2015-04-21 11:28:29 +02:00
Marco Martin
590db2f678 dummy pages for history and contacts 2015-04-21 11:23:31 +02:00
Marco Martin
6024e054b7 fix copyright 2015-04-21 10:57:37 +02:00
Marco Martin
ad195790e8 change callback a bit
make the keypad on call ui send dtmf on the call
2015-04-21 10:54:30 +02:00
Marco Martin
63300072c4 optional dialer in the call page 2015-04-21 10:08:37 +02:00
Marco Martin
0e78af4239 separe the avatar component 2015-04-21 09:56:28 +02:00
Marco Martin
78156bd626 separe dialer and dialpad 2015-04-21 09:53:35 +02:00
Marco Martin
f776a0f1d3 more icon in the answer swipe 2015-04-20 22:56:24 +02:00
Marco Martin
130b201b2b fade anim 2015-04-20 22:48:51 +02:00
Marco Martin
25dc5015e6 better layout in the dialpad 2015-04-20 22:46:15 +02:00
Marco Martin
8842d19dd0 dtmf tones 2015-04-20 21:09:41 +02:00
Marco Martin
b669fa97a0 better answer/hangup ui 2015-04-20 21:05:28 +02:00
Marco Martin
67c41ecd4d split the active call and dialer pages 2015-04-20 19:44:22 +02:00
Marco Martin
0d8ce02d1a show directly call ui if server was already calling 2015-04-20 19:08:31 +02:00
Marco Martin
dd1301b522 manager->voiceCallManager 2015-04-20 18:08:56 +02:00
Marco Martin
974b2fcfda fix layout 2015-04-20 16:50:51 +02:00
Marco Martin
9b06ffd68e fix phone signal indicator 2015-04-20 16:31:02 +02:00
Marco Martin
173e295eba reset scroll position when window deactivated 2015-03-27 18:54:09 +01:00
Marco Martin
013d99a493 port the existing dialer in a standalone app
is qml-only at the moment, but may need to be a c++ half-daemon
in order to be always running and show the "ringning" ui at the right moment
2015-03-27 17:59:32 +01:00