Commit Graph

78 Commits

Author SHA1 Message Date
marian ca5f2d3eb6 Store custom identity in dynamic property (avoid using accessibleName). Requires QT 4.2.
git-svn-id: http://voip.null.ro/svn/yate@3118 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-08 09:35:59 +00:00
paulc 0e9eca77ab Explicitely idle the Qt client thread ourselves, do not rely on QTimer since the glib event scheduler eats much CPU for short timeouts.
Fixes a nearly 100% CPU load that happened for Qt linked with glib, almost all recent Linux distributions.


git-svn-id: http://voip.null.ro/svn/yate@2989 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-17 13:35:18 +00:00
paulc 1f6771971e Added setting to override the Qt style.
git-svn-id: http://voip.null.ro/svn/yate@2946 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-13 13:12:07 +00:00
marian f2a48755fd Connect stacked widget current changed signal. Handle stacked widgets in getSelect().
git-svn-id: http://voip.null.ro/svn/yate@2862 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-02 14:52:38 +00:00
marian 4739381cbf Table item double click signal is no longer connected to window slot (only table cell double click). Added more debug.
git-svn-id: http://voip.null.ro/svn/yate@2830 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-08 13:39:11 +00:00
paulc 85ef8e4d49 Changed thread names to be uniform and easily readable.
git-svn-id: http://voip.null.ro/svn/yate@2733 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 14:48:26 +00:00
paulc eb2a9cd5e0 Fixed warnings and a few minor bugs when compiling on a different architecture.
git-svn-id: http://voip.null.ro/svn/yate@2724 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:19:20 +00:00
marian 16bf3489c6 Don't trigger existing disabled actions/widgets from event filter.
git-svn-id: http://voip.null.ro/svn/yate@2709 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-14 21:11:25 +00:00
marian 194d7df3fb Return the correct result when setting custom widgets parameters.
git-svn-id: http://voip.null.ro/svn/yate@2702 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-10 14:39:07 +00:00
marian 7a33256e23 Added widget dynamic property used to indicate to enqueue an ui.action message when window visibility changes. This property must be used when the window is destroyed when hidden.
git-svn-id: http://voip.null.ro/svn/yate@2696 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-10 11:02:01 +00:00
marian fe43444343 Added optional parameter to buildMenu() used to indicate an about to show slot (handle the menu's aboutToShow() signal).
git-svn-id: http://voip.null.ro/svn/yate@2695 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-10 10:14:54 +00:00
marian 524e8a55c4 Implemented text changed notification for line edit widgets.
git-svn-id: http://voip.null.ro/svn/yate@2670 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 10:33:02 +00:00
marian 13213e93b5 Handle tab widgets in get/set select. Notify the client when a tab page is selected.
git-svn-id: http://voip.null.ro/svn/yate@2655 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-27 15:11:59 +00:00
marian 3a6ca3a44c Don't move/resize a maximized window when showing it.
git-svn-id: http://voip.null.ro/svn/yate@2633 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-20 09:28:19 +00:00
marian e7eb83ff62 Re-implemented chooseFile() method to work asynchronously. The dialog is shown when this method returns. It will generate an action when it will be closed.
git-svn-id: http://voip.null.ro/svn/yate@2625 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-12 14:53:13 +00:00
marian e972af3bc5 Implemented combo boxes handling in addLines().
git-svn-id: http://voip.null.ro/svn/yate@2607 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-30 15:09:45 +00:00
marian 036dbc7675 Added missing parent parameter to custom table constructor. Add window and parent names to parameter list when building a custom object. Copy style sheet from added widget when populating a window.
git-svn-id: http://voip.null.ro/svn/yate@2603 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-28 13:49:16 +00:00
marian e5e418138c Fixed bug: disable table sorting when changing its content.
git-svn-id: http://voip.null.ro/svn/yate@2574 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-13 11:03:31 +00:00
marian e80b9de30e Fixed silly use of all hidden variable. Update it when a window is destroyed while owning tray icons.
git-svn-id: http://voip.null.ro/svn/yate@2567 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-07 15:03:26 +00:00
marian d2e47713dc Fixed bug leading to application exit when the last window is closed. Don't exit if there is a system tray icon used to access it.
git-svn-id: http://voip.null.ro/svn/yate@2566 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-07 14:07:57 +00:00
marian 1f5e3b2a8a Use widget method to activate it instead of QApplication's. The widget's method will bring it in front of other windows.
git-svn-id: http://voip.null.ro/svn/yate@2556 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-01 15:08:33 +00:00
marian 5ca70b57ca The client can now open an URL received in call.execute message.
git-svn-id: http://voip.null.ro/svn/yate@2554 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-30 11:40:06 +00:00
marian b35fc20174 Added custom QObject descendant class. Handle it when building custom widgets and setting window parameters.
git-svn-id: http://voip.null.ro/svn/yate@2546 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-27 12:17:49 +00:00
marian f8e4fd9b1d Try to match window name with old id when setting its flags.
git-svn-id: http://voip.null.ro/svn/yate@2543 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-26 09:56:19 +00:00
marian ed639545ce Allow set select with empty item.
git-svn-id: http://voip.null.ro/svn/yate@2542 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-26 09:54:44 +00:00
marian 9ab3f9eac4 Reset known window flags before setting them from dynamic property. Lock widget update when setting windows parameters.
git-svn-id: http://voip.null.ro/svn/yate@2525 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-18 16:21:33 +00:00
marian c22025c000 Action aliases specified in accessibleName can now contain action parameters.
git-svn-id: http://voip.null.ro/svn/yate@2518 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-06 17:23:45 +00:00
marian 93c1a84caf Added dynamic property used to hide the window when inactive.
git-svn-id: http://voip.null.ro/svn/yate@2499 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-27 16:58:10 +00:00
marian a9383ea1e9 Added handler for QT library messages.
git-svn-id: http://voip.null.ro/svn/yate@2492 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-23 16:33:21 +00:00
marian c2e3b7e36d Enforced move window conditions in mouse move event.
git-svn-id: http://voip.null.ro/svn/yate@2491 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-23 13:57:15 +00:00
marian 081c2ce1bb The params parameter of chooseFile() is no longer const. The chooseFile() method is now returning the last used directory and file filter if the corresponding parameters are present.
git-svn-id: http://voip.null.ro/svn/yate@2490 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-23 13:53:09 +00:00
marian d9bf4a9b08 Actions can now be added to a widget to handle shortcuts.
git-svn-id: http://voip.null.ro/svn/yate@2485 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-19 08:28:12 +00:00
oana 35996200ae Widget move function implemented. Set properties for calendar widget implemented.
git-svn-id: http://voip.null.ro/svn/yate@2483 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-18 12:06:03 +00:00
marian ac68969b19 Fixed QSound method call due to client sound parameter change.
git-svn-id: http://voip.null.ro/svn/yate@2465 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-30 17:13:32 +00:00
paulc c104e5be07 Fixed some warnings and genuine bugs exposed by newer gcc.
git-svn-id: http://voip.null.ro/svn/yate@2447 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-20 12:27:53 +00:00
marian 9e6990e20d clearTable() can now be used to clear drop-down lists.
git-svn-id: http://voip.null.ro/svn/yate@2435 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-14 10:14:27 +00:00
marian 9889781ea5 Handle calendar widget notifications.
git-svn-id: http://voip.null.ro/svn/yate@2424 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-12 09:39:50 +00:00
marian 48307a00fd Fixed set/get property to handle any QObject child of a window.
git-svn-id: http://voip.null.ro/svn/yate@2348 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-18 12:15:14 +00:00
marian 25e3430d77 Added custom QWidget descendant class. Handle it when required to set parameters to a window's custom widget child.
git-svn-id: http://voip.null.ro/svn/yate@2347 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-18 12:12:54 +00:00
marian ca75d36ecc Handle selection set for custom tables.
git-svn-id: http://voip.null.ro/svn/yate@2343 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-14 11:35:14 +00:00
marian 7839b3a5a2 Added capability to set key sequence properties.
git-svn-id: http://voip.null.ro/svn/yate@2341 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-13 15:53:26 +00:00
marian f41f6dc323 Implemented setUrgent().
git-svn-id: http://voip.null.ro/svn/yate@2289 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-24 15:11:34 +00:00
marian c4b04498f1 Added system tray icon support. Added menu build method to client. Replaced connect macro with function.
git-svn-id: http://voip.null.ro/svn/yate@2285 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-24 11:50:15 +00:00
marian f42519e6e4 Use custom table's method when updating rows. Fixed debug.
git-svn-id: http://voip.null.ro/svn/yate@2274 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-21 14:29:21 +00:00
paulc f023be0809 Removed redundant configuration load.
git-svn-id: http://voip.null.ro/svn/yate@2272 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-20 12:36:15 +00:00
paulc 14ed62b32c Fixed compilation with gcc.
git-svn-id: http://voip.null.ro/svn/yate@2271 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-20 12:32:47 +00:00
marian ad5ad37349 Dynamic properties can be created from config file.
git-svn-id: http://voip.null.ro/svn/yate@2270 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-20 11:15:39 +00:00
marian 1a07f21795 Fixed bug: avoid using object's data/methods when a window is hidden in closeEvent() notification.
git-svn-id: http://voip.null.ro/svn/yate@2265 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-17 15:27:58 +00:00
marian 5ed6480474 Added UI cache used to avoid loading the same file each time is needed.
git-svn-id: http://voip.null.ro/svn/yate@2264 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-17 15:12:54 +00:00
marian 55e7206dcc Prevent moving a maximized window.
git-svn-id: http://voip.null.ro/svn/yate@2261 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-15 08:05:10 +00:00