Commit Graph

203 Commits

Author SHA1 Message Date
marian 62daa4683e Fixed bug: avoid accessing a NULL pointer.
git-svn-id: http://voip.null.ro/svn/yate@4443 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-07 11:52:30 +00:00
marian c1569b9b5f Optimized const String usage in client engine and qt library.
git-svn-id: http://voip.null.ro/svn/yate@4439 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-06 13:49:18 +00:00
marian 8c42b4b4b4 Added method used to retrieve and load image files from/into global application pixmap cache.
git-svn-id: http://voip.null.ro/svn/yate@4339 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-27 11:26:49 +00:00
marian 3349b2c714 Handle comma separated list of properties to save for a custom widget.
git-svn-id: http://voip.null.ro/svn/yate@4316 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-18 15:14:11 +00:00
marian eefd392cf5 Handle StringList type when setting an object's property.
git-svn-id: http://voip.null.ro/svn/yate@4315 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-18 15:13:23 +00:00
marian 9bb443a177 Changed application icons.
git-svn-id: http://voip.null.ro/svn/yate@4258 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-01 15:22:24 +00:00
marian 0c0cac0827 Hook chat parent window key press events and redirect them to chat input. Set focus on chat input on success.
git-svn-id: http://voip.null.ro/svn/yate@4109 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-14 13:41:39 +00:00
marian ea395e92ac Allow table horizontal header text alignment to be specified from designer.
git-svn-id: http://voip.null.ro/svn/yate@4020 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-13 11:30:58 +00:00
marian 35d62b9e11 Fixed memory leak: remove the old tray icon menu before set a new one.
git-svn-id: http://voip.null.ro/svn/yate@4006 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-22 11:39:03 +00:00
paulc c45aa74513 Added yate as dependency of yate-client-common, fixed icon in menus.
git-svn-id: http://voip.null.ro/svn/yate@3996 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-20 09:45:13 +00:00
paulc 62956d7119 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://voip.null.ro/svn/yate@3987 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-19 15:16:24 +00:00
marian 129e031810 Update active flag and notify "window_active_changed" to the client when the application is deactivated.
git-svn-id: http://voip.null.ro/svn/yate@3976 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-17 15:51:52 +00:00
marian 7cbbab432f Handle QTextBrowser widget class when set/get widget text.
git-svn-id: http://voip.null.ro/svn/yate@3974 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-17 14:08:44 +00:00
marian 50fcc106da 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://voip.null.ro/svn/yate@3973 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-17 12:57:11 +00:00
marian eb42f1f22e Notify window_active_changed toggle to the client when a window's active state changes.
git-svn-id: http://voip.null.ro/svn/yate@3969 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-17 12:04:55 +00:00
marian b5e8d2161c Don't require a list of parameters when deleting a tray icon.
git-svn-id: http://voip.null.ro/svn/yate@3964 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-16 17:04:22 +00:00
marian c51182c7c1 Changed handled hide on close property name.
git-svn-id: http://voip.null.ro/svn/yate@3963 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-16 16:50:07 +00:00
marian b91941ddfb Handle an optional "show" attribute when updating a system tray icon.
git-svn-id: http://voip.null.ro/svn/yate@3962 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-16 15:33:49 +00:00
marian 1de3f2a3e5 Added client archive to make files. Added client archive header file.
git-svn-id: http://voip.null.ro/svn/yate@3955 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-16 13:08:50 +00:00
marian 6fd9820caf Fixed signed unsigned comparison.
git-svn-id: http://voip.null.ro/svn/yate@3952 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-16 11:49:24 +00:00
marian 4d126a9e0c 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://voip.null.ro/svn/yate@3948 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-16 10:14:32 +00:00
paulc 4115810d25 Added new configure --with-qtstatic to accomodate linking to a static Qt.
git-svn-id: http://voip.null.ro/svn/yate@3947 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-15 16:50:56 +00:00
marian 4b608bd020 Save/restore splitter widget sizes.
git-svn-id: http://voip.null.ro/svn/yate@3944 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-15 14:22:43 +00:00
marian 80459126da Fixed bug: don't set the width if the last table column if set to be stretched.
git-svn-id: http://voip.null.ro/svn/yate@3943 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-15 12:53:08 +00:00
paulc 61a6bdccf8 Fixed make install and uninstall targets for the new libyateqt4.so and qt4client.h
git-svn-id: http://voip.null.ro/svn/yate@3940 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-10 09:36:40 +00:00
marian b924220061 Merged client logic, qt library and ui changes from client branch into trunk.
git-svn-id: http://voip.null.ro/svn/yate@3933 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-08 14:37:24 +00:00
marian bd86eb9b79 Avoid overriding window flags. Handle close button window flag added in Qt 4.5.
git-svn-id: http://voip.null.ro/svn/yate@3754 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-26 10:46:31 +00:00
marian d0781c9d21 Initialize variable.
git-svn-id: http://voip.null.ro/svn/yate@3752 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-22 14:50:33 +00:00
marian 8dd22900f3 Removed unused class data member.
git-svn-id: http://voip.null.ro/svn/yate@3751 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-22 14:46:19 +00:00
marian 8825f13da6 Postpone dialog deletion until QT returns to event loop to avoid double deletion.
git-svn-id: http://voip.null.ro/svn/yate@3433 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-15 15:14:55 +00:00
marian 0f09c45fb8 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://voip.null.ro/svn/yate@3403 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-25 09:34:31 +00:00
marian c9ff2d0f69 Use setRowCount(0) to clear a table.
git-svn-id: http://voip.null.ro/svn/yate@3402 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-25 08:53:31 +00:00
marian e6cc8580d1 Increase table row count when appending rows (faster than adding one by one).
git-svn-id: http://voip.null.ro/svn/yate@3401 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-25 08:50:18 +00:00
marian 80a95630f8 Fixed bug: check widget type before casting it.
git-svn-id: http://voip.null.ro/svn/yate@3400 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-25 07:48:41 +00:00
marian a65d90fa3c Raise a window when activate it (activate might not bring it to front).
git-svn-id: http://voip.null.ro/svn/yate@3351 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-28 13:28:38 +00:00
marian e1fa4f7932 Restore a minimized window to its normal state when requested to show it.
git-svn-id: http://voip.null.ro/svn/yate@3350 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-28 13:20:48 +00:00
marian f0d3e41233 Moved key press event filter to QtClient (reuse the code in custom objects).
git-svn-id: http://voip.null.ro/svn/yate@3349 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-28 12:51:45 +00:00
marian 8281af34a4 Reset _yate_destroyonhide property before hiding a window during initialization to avoid destroying it.
git-svn-id: http://voip.null.ro/svn/yate@3348 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-28 11:10:59 +00:00
marian 62eeb68836 Added set and get text methods to UIWidget.
git-svn-id: http://voip.null.ro/svn/yate@3346 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-27 13:55:45 +00:00
marian fd56c04529 Don't put a debug message when a temporary (not saved) window is not found in config.
git-svn-id: http://voip.null.ro/svn/yate@3340 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-25 14:00:41 +00:00
marian 4528ae7d71 Use _yate_context_menu property to display context menus.
git-svn-id: http://voip.null.ro/svn/yate@3339 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-21 14:40:47 +00:00
marian 00bf562482 Added method used to set an element's image.
git-svn-id: http://voip.null.ro/svn/yate@3338 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-21 11:43:26 +00:00
marian e7b7225820 Set menu image when building one.
git-svn-id: http://voip.null.ro/svn/yate@3337 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-21 11:07:48 +00:00
marian ffd01a378c Added methods used to build and remove menus at runtime.
git-svn-id: http://voip.null.ro/svn/yate@3335 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-20 15:14:31 +00:00
marian 438f737531 Make sure UIWidget descendents are completely handled in QtWindow.
git-svn-id: http://voip.null.ro/svn/yate@3330 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-18 15:23:23 +00:00
marian 62b3e868ee Handle all UIWidget descendents when requested to clear a table.
git-svn-id: http://voip.null.ro/svn/yate@3329 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-17 15:03:39 +00:00
marian d14d1418f2 Added method used to add multiple lines to an UIWidget descendant.
git-svn-id: http://voip.null.ro/svn/yate@3328 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-17 12:59:36 +00:00
marian 95a5164943 Handle all UIWidget descendants when setting window parameters.
git-svn-id: http://voip.null.ro/svn/yate@3325 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-14 15:19:48 +00:00
marian e80c438136 Save and restore table sorting (column and order).
git-svn-id: http://voip.null.ro/svn/yate@3321 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-13 14:42:15 +00:00
marian 3d06364b37 It's now possible to save and restore arbitrary window children properties.
git-svn-id: http://voip.null.ro/svn/yate@3319 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-13 14:18:21 +00:00