Commit Graph

116 Commits

Author SHA1 Message Date
paulc 2275cf0f76 Disabled system CFLAGS on Qt client as optimization -O2 or higher caused confusing template and pointer related warnings.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2677 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 17:27:51 +00:00
paulc 2c03a9624d Use the system detected CFLAGS instead of hardcoding -O2
git-svn-id: http://yate.null.ro/svn/yate/trunk@2673 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 16:06:14 +00:00
paulc ac2afc3a99 Detect the proper threading library where pthread_mutexattr_settype is
located.
Look for regcomp only when not using internal regexp.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2672 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 15:42:34 +00:00
marian 171e253f15 Implemented text changed notification for line edit widgets.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2670 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 10:33:02 +00:00
marian 3dc240a079 Handle tab widgets in get/set select. Notify the client when a tab page is selected.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2655 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-27 15:11:59 +00:00
marian a59623581f Don't move/resize a maximized window when showing it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2633 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-20 09:28:19 +00:00
marian 515ace3741 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://yate.null.ro/svn/yate/trunk@2625 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-12 14:53:13 +00:00
marian 5ee84b978a Implemented combo boxes handling in addLines().
git-svn-id: http://yate.null.ro/svn/yate/trunk@2607 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-30 15:09:45 +00:00
marian 7e9dcba940 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://yate.null.ro/svn/yate/trunk@2603 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-28 13:49:16 +00:00
marian 6bef8100b3 Fixed bug: disable table sorting when changing its content.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2574 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-13 11:03:31 +00:00
marian 6e3a28cafc Fixed silly use of all hidden variable. Update it when a window is destroyed while owning tray icons.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2567 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-07 15:03:26 +00:00
marian ac35c3226c 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://yate.null.ro/svn/yate/trunk@2566 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-07 14:07:57 +00:00
marian 3ee02f2b25 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://yate.null.ro/svn/yate/trunk@2556 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-01 15:08:33 +00:00
marian 98d3c05380 The client can now open an URL received in call.execute message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2554 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-30 11:40:06 +00:00
marian 9e98221ceb Added custom QObject descendant class. Handle it when building custom widgets and setting window parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2546 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-27 12:17:49 +00:00
marian 8eaec1e72a Try to match window name with old id when setting its flags.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2543 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-26 09:56:19 +00:00
marian f6cc597f1c Allow set select with empty item.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2542 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-26 09:54:44 +00:00
marian 69e71e13d7 Reset known window flags before setting them from dynamic property. Lock widget update when setting windows parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2525 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-18 16:21:33 +00:00
marian a635517f62 Action aliases specified in accessibleName can now contain action parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2518 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-06 17:23:45 +00:00
marian 60d1d0686a Added dynamic property used to hide the window when inactive.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2499 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-27 16:58:10 +00:00
marian 37c1c9126f Added handler for QT library messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2492 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-23 16:33:21 +00:00
marian c308400a1c Enforced move window conditions in mouse move event.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2491 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-23 13:57:15 +00:00
marian 545c29eae2 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://yate.null.ro/svn/yate/trunk@2490 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-23 13:53:09 +00:00
marian bb4701528b Actions can now be added to a widget to handle shortcuts.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2485 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-19 08:28:12 +00:00
oana 570511346a Widget move function implemented. Set properties for calendar widget implemented.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2483 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-18 12:06:03 +00:00
marian 122ed2c1a2 Fixed QSound method call due to client sound parameter change.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2465 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-30 17:13:32 +00:00
paulc 9b292f5868 Fixed some warnings and genuine bugs exposed by newer gcc.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2447 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-20 12:27:53 +00:00
marian 49aa89c844 clearTable() can now be used to clear drop-down lists.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2435 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-14 10:14:27 +00:00
marian 9e19254a61 Handle calendar widget notifications.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2424 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-12 09:39:50 +00:00
paulc a6b9af5430 Try harder to quit even if the QApplication is not yet created.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2379 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-30 16:35:53 +00:00
marian 2ff7e45ccb Fixed set/get property to handle any QObject child of a window.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2348 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-18 12:15:14 +00:00
marian 936f602932 Added custom QWidget descendant class. Handle it when required to set parameters to a window's custom widget child.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2347 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-18 12:12:54 +00:00
marian e4a5d5c18f Handle selection set for custom tables.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2343 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-14 11:35:14 +00:00
marian 76d99233b4 Added capability to set key sequence properties.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2341 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-13 15:53:26 +00:00
marian fe7c5f2a27 Implemented setUrgent().
git-svn-id: http://yate.null.ro/svn/yate/trunk@2289 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-24 15:11:34 +00:00
marian c84d397da4 Added system tray icon support. Added menu build method to client. Replaced connect macro with function.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2285 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-24 11:50:15 +00:00
marian a897d4f58f Use custom table's method when updating rows. Fixed debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2274 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-21 14:29:21 +00:00
paulc 76707b5e30 Removed redundant configuration load.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2272 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-20 12:36:15 +00:00
paulc 9a7c10b13d Fixed compilation with gcc.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2271 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-20 12:32:47 +00:00
marian a0c69ba944 Dynamic properties can be created from config file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2270 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-20 11:15:39 +00:00
marian 9d0e63dfb9 Fixed bug: avoid using object's data/methods when a window is hidden in closeEvent() notification.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2265 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-17 15:27:58 +00:00
marian ebaa74e0c0 Added UI cache used to avoid loading the same file each time is needed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2264 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-17 15:12:54 +00:00
marian 3e36829aec Prevent moving a maximized window.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2261 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-15 08:05:10 +00:00
marian 2c3c0108e3 Check accessible name when raising QAction actions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2257 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-13 15:40:25 +00:00
marian eae9fffeaa Handle spin boxes in set/get text.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2254 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-07 15:39:47 +00:00
paulc 2df3a30388 Implementation of setMultipleRows for custom tables.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2243 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-29 09:20:59 +00:00
marian b2dae7cb22 Added methods used to insert a table row.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2241 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-27 16:39:42 +00:00
marian 10220b395d Lock screen update while clearing tables and lists.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2237 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-23 11:36:42 +00:00
marian 12dcc32fd8 Added dynamic property used to inhibit table selection change notification.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2232 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-21 15:44:50 +00:00
marian 425f1e1434 Split QtClient::property() into separate set/get property methods.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2219 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-19 08:03:49 +00:00