Commit Graph

134 Commits

Author SHA1 Message Date
oana 2b92a31841 Audio support for Mac OS X added.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3154 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-30 12:12:32 +00:00
paulc 2c886a779d Make Qt4 autoconf detected variables available to custom targets by copying them to make variables.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3145 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-24 16:54:24 +00:00
paulc 15904daef1 Reorder libraries so that Yate libraries and modules can be linked using --as-needed avoiding underlinking or overlinking.
Reported by Mandriva (bug report #206).


git-svn-id: http://yate.null.ro/svn/yate/trunk@3143 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-24 13:46:12 +00:00
paulc f29be2672b Properly provide a format string to the printf-style Debug.
Report and fix provided by Mandriva.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3139 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-23 14:33:30 +00:00
marian b7d58ccd0b Fixed property name.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3119 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-08 09:42:23 +00:00
marian a0cbae483c Store custom identity in dynamic property (avoid using accessibleName). Requires QT 4.2.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3118 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-08 09:35:59 +00:00
paulc 4ece9682c1 Changed the menu name of the client to "Yate VoIP Client".
git-svn-id: http://yate.null.ro/svn/yate/trunk@3071 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-04 13:41:58 +00:00
paulc 82af58200c 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://yate.null.ro/svn/yate/trunk@2989 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-17 13:35:18 +00:00
paulc 371c05f82e Added setting to override the Qt style.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2946 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-13 13:12:07 +00:00
marian e78e1293ae Connect stacked widget current changed signal. Handle stacked widgets in getSelect().
git-svn-id: http://yate.null.ro/svn/yate/trunk@2862 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-02 14:52:38 +00:00
marian 3666da4a2d Table item double click signal is no longer connected to window slot (only table cell double click). Added more debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2830 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-08 13:39:11 +00:00
paulc 5499650213 Changed thread names to be uniform and easily readable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2733 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 14:48:26 +00:00
paulc 65fa4adbd4 Fixed warnings and a few minor bugs when compiling on a different architecture.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2724 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:19:20 +00:00
marian 207cfef1f2 Don't trigger existing disabled actions/widgets from event filter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2709 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-14 21:11:25 +00:00
marian 5d2100af59 Return the correct result when setting custom widgets parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2702 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-10 14:39:07 +00:00
marian dd1ee45b73 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://yate.null.ro/svn/yate/trunk@2696 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-10 11:02:01 +00:00
marian a16485b562 Added optional parameter to buildMenu() used to indicate an about to show slot (handle the menu's aboutToShow() signal).
git-svn-id: http://yate.null.ro/svn/yate/trunk@2695 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-10 10:14:54 +00:00
paulc 6ad1605ad6 Reserve $LIBS and @LIBS@ for the system libraries that can be passed to
the configure script.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2678 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 19:17:54 +00:00
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