Commit Graph

203 Commits

Author SHA1 Message Date
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 32dc369bb6 Handle comma separated list of properties to save for a custom widget.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4316 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-18 15:14:11 +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 7ee1d0c74f Changed application icons.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4258 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-01 15:22:24 +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 7336f239ae Added yate as dependency of yate-client-common, fixed icon in menus.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3996 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-20 09:45:13 +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 a41e029787 Added client archive to make files. Added client archive header file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3955 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-16 13:08:50 +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
paulc 70ed9ca5cd Added new configure --with-qtstatic to accomodate linking to a static Qt.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3947 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-15 16:50:56 +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
paulc c770145ed4 Fixed make install and uninstall targets for the new libyateqt4.so and qt4client.h
git-svn-id: http://yate.null.ro/svn/yate/trunk@3940 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-10 09:36:40 +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 6172776c33 Removed unused class data member.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3751 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-22 14:46:19 +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
marian c5009fa395 Restore a minimized window to its normal state when requested to show it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3350 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-28 13:20:48 +00:00
marian 2992f1ade2 Moved key press event filter to QtClient (reuse the code in custom objects).
git-svn-id: http://yate.null.ro/svn/yate/trunk@3349 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-28 12:51:45 +00:00
marian fa0a02e146 Reset _yate_destroyonhide property before hiding a window during initialization to avoid destroying it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3348 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-28 11:10:59 +00:00
marian a05d2aed6b Added set and get text methods to UIWidget.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3346 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-27 13:55:45 +00:00
marian a828ee88df Don't put a debug message when a temporary (not saved) window is not found in config.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3340 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-25 14:00:41 +00:00
marian 511ff7250e Use _yate_context_menu property to display context menus.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3339 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-21 14:40:47 +00:00
marian 6b4ae1e4d5 Added method used to set an element's image.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3338 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-21 11:43:26 +00:00
marian 4129f20aef Set menu image when building one.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3337 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-21 11:07:48 +00:00
marian 8b954ffe33 Added methods used to build and remove menus at runtime.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3335 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-20 15:14:31 +00:00
marian c1b0d1dff8 Make sure UIWidget descendents are completely handled in QtWindow.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3330 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-18 15:23:23 +00:00
marian 3dbfb54a4a Handle all UIWidget descendents when requested to clear a table.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3329 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-17 15:03:39 +00:00
marian 1b5fbe7f56 Added method used to add multiple lines to an UIWidget descendant.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3328 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-17 12:59:36 +00:00
marian 15479ba7f4 Handle all UIWidget descendants when setting window parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3325 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-14 15:19:48 +00:00
marian 8e661f3b21 Save and restore table sorting (column and order).
git-svn-id: http://yate.null.ro/svn/yate/trunk@3321 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-13 14:42:15 +00:00
marian 9c8d392f04 It's now possible to save and restore arbitrary window children properties.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3319 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-13 14:18:21 +00:00