Commit Graph

164 Commits

Author SHA1 Message Date
paulc 37a72e4bc1 Added copyright notices to sources and scripts missing them.
Updated copyright notices for 2014.
Fixed end of lines in many files.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
paulc cf5d0fd71a Changed license terms in each source file to reference an external file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
marian 6474806a63 Added property used to show another window when a window is activated.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5570 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 13:36:53 +00:00
marian 8cec1717df Added more window flags to set from ui. Don't move notification windows.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5555 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-25 15:01:05 +00:00
marian fcc6a1b09d Added utility methods and classes to support drag@drop and showing busy indicator on widget.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5479 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-23 10:03:18 +00:00
paulc 3b49b78ecb Added a shared static list of Atom strings and an YATOM macro.
This speeds up signifficantly the Yate RTTI on compilers that HAVE_BLOCK_RETURN.
Made the String comparison operator inline to shave off a few cycles.
Fast handle the comparison in identity case.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5449 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 13:19:14 +00:00
marian 91672df565 Fixed bug: change window's enclosed widget height constraint instead of window's height constraint when moving the menubar.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5012 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-19 12:45:31 +00:00
oana ee8320c4e9 Fixed bug introduced by changes in revision 5007. When searching for properties, look in the window widget.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5011 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-18 14:53:42 +00:00
oana ed4dc55377 When searching for specific child widgets, set the top widget as the starting point for the search.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5007 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-18 12:12:23 +00:00
oana c27b5a2ebe Create a parentless menu bar by copying it from the main window menu bar to be used as the default application menu on Mac OS X.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5003 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-09 12:31:36 +00:00
oana d4c6476cd0 Do load and unload of modules on the main thread. Added the possibility of replacing themain loop of the engine.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4999 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-06 15:27:35 +00:00
oana 2193605a99 Client does not inherit Thread anymore. Use separte thread to run the client on.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4987 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-04 09:42:06 +00:00
marian e41fb68b1d Check object type before cast.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4959 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-08 08:42:46 +00:00
marian 94d2d3c667 Removed unused variable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4911 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-17 10:33:38 +00:00
marian 5af83c235e Added support to set height for widgets inside custom objects. Added support to set layout margins when building a custom widget in a frame.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4908 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-16 15:52:52 +00:00
marian b1eb7d447a Added suport to load style and platform depending css files.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4903 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-14 09:46:56 +00:00
marian 28389bf9b2 Added extra client method used to set an element's image with fit request. Added extra fit parameter (defaults to false) to window's set image method.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4902 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-13 15:27:38 +00:00
marian a96b237942 Added method used to set/reset widget attributes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4874 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-10 09:02:28 +00:00
marian f2d77fa451 Made file dialogs window modal.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4848 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-07 14:42:52 +00:00
marian 1a722c7ff1 Changed stylesheet file name.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4843 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-07 11:23:43 +00:00
marian c3fcd3b116 Optionally load application stylesheet from file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4837 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-06 13:40:47 +00:00
marian bf7cb7d6bc Moved channel control buttons to channel item in channels list. Conference and transfer are now done from master channel and shown in its item in channels list. Changed user interface colors and shapes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4829 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-03 17:31:33 +00:00
marian da4cead867 Fixed bug: avoid accessing a NULL pointer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4443 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-07 11:52:30 +00:00
marian 697a51a4ce Optimized const String usage in client engine and qt library.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4439 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-06 13:49:18 +00:00
marian 0aac201c77 Added method used to retrieve and load image files from/into global application pixmap cache.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4339 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-27 11:26:49 +00:00
marian 8977bec86e Handle StringList type when setting an object's property.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4315 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-18 15:13:23 +00:00
marian 10fd351390 Hook chat parent window key press events and redirect them to chat input. Set focus on chat input on success.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4109 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-14 13:41:39 +00:00
marian 648fd3cf16 Allow table horizontal header text alignment to be specified from designer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4020 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-13 11:30:58 +00:00
marian 7897aeb21f Fixed memory leak: remove the old tray icon menu before set a new one.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4006 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-22 11:39:03 +00:00
paulc 414c012b17 Changed the tray icon updating logic so existing icons can be reused.
This prevents the tray icon from being repeatedly deleted and inserted.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3987 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-19 15:16:24 +00:00
marian 38015a7ec5 Update active flag and notify "window_active_changed" to the client when the application is deactivated.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3976 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-17 15:51:52 +00:00
marian 12612be180 Handle QTextBrowser widget class when set/get widget text.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3974 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-17 14:08:44 +00:00
marian 296b165655 Added active flag the Window class. Update it when window active state changes. Added client method used to retrieve the active state of a window.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3973 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-17 12:57:11 +00:00
marian ac296192a6 Notify window_active_changed toggle to the client when a window's active state changes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3969 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-17 12:04:55 +00:00
marian 328f88acfa Don't require a list of parameters when deleting a tray icon.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3964 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-16 17:04:22 +00:00
marian ac992b9505 Changed handled hide on close property name.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3963 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-16 16:50:07 +00:00
marian c6d90daab8 Handle an optional "show" attribute when updating a system tray icon.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3962 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-16 15:33:49 +00:00
marian 6dd02e290c Fixed signed unsigned comparison.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3952 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-16 11:49:24 +00:00
marian c3154dff79 Allow window flags to be specified for dialogs. Added optional dialog closable flag to prevent a dialog to be closed by the user.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3948 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-16 10:14:32 +00:00
marian 7bde130f2e Save/restore splitter widget sizes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3944 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-15 14:22:43 +00:00
marian 91ec0823de Fixed bug: don't set the width if the last table column if set to be stretched.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3943 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-15 12:53:08 +00:00
marian 3a5dfa8779 Merged client logic, qt library and ui changes from client branch into trunk.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3933 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-08 14:37:24 +00:00
marian 1feb2b72bb Avoid overriding window flags. Handle close button window flag added in Qt 4.5.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3754 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-26 10:46:31 +00:00
marian 4ab0296763 Initialize variable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3752 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-22 14:50:33 +00:00
marian 1502cdf88c Postpone dialog deletion until QT returns to event loop to avoid double deletion.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3433 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-15 15:14:55 +00:00
marian d46602a13a Added methods used to set an object's image from raw data and QPixmap. Added extra parameter used to scale the image to target size when applicable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3403 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-25 09:34:31 +00:00
marian a2165f6b48 Use setRowCount(0) to clear a table.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3402 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-25 08:53:31 +00:00
marian 93a11d208c Increase table row count when appending rows (faster than adding one by one).
git-svn-id: http://yate.null.ro/svn/yate/trunk@3401 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-25 08:50:18 +00:00
marian 5f8e3b1ebb Fixed bug: check widget type before casting it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3400 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-25 07:48:41 +00:00
marian 10226f636e Raise a window when activate it (activate might not bring it to front).
git-svn-id: http://yate.null.ro/svn/yate/trunk@3351 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-28 13:28:38 +00:00