paulc
7c8b2d4c38
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://voip.null.ro/svn/yate@5449 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 13:19:14 +00:00
marian
8d200bdd92
Fixed bug: change window's enclosed widget height constraint instead of window's height constraint when moving the menubar.
...
git-svn-id: http://voip.null.ro/svn/yate@5012 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-19 12:45:31 +00:00
oana
fa159ce82f
Fixed bug introduced by changes in revision 5007. When searching for properties, look in the window widget.
...
git-svn-id: http://voip.null.ro/svn/yate@5011 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-18 14:53:42 +00:00
oana
669d920366
When searching for specific child widgets, set the top widget as the starting point for the search.
...
git-svn-id: http://voip.null.ro/svn/yate@5007 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-18 12:12:23 +00:00
oana
9cd3b7cea4
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://voip.null.ro/svn/yate@5003 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-09 12:31:36 +00:00
oana
962647b836
Do load and unload of modules on the main thread. Added the possibility of replacing themain loop of the engine.
...
git-svn-id: http://voip.null.ro/svn/yate@4999 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-06 15:27:35 +00:00
oana
edf4c2fc7a
Client does not inherit Thread anymore. Use separte thread to run the client on.
...
git-svn-id: http://voip.null.ro/svn/yate@4987 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-04 09:42:06 +00:00
marian
4fed6c95d2
Check object type before cast.
...
git-svn-id: http://voip.null.ro/svn/yate@4959 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-08 08:42:46 +00:00
marian
653b3daf56
Removed unused variable.
...
git-svn-id: http://voip.null.ro/svn/yate@4911 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-17 10:33:38 +00:00
marian
215982acbd
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://voip.null.ro/svn/yate@4908 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-16 15:52:52 +00:00
marian
3fdb169852
Added suport to load style and platform depending css files.
...
git-svn-id: http://voip.null.ro/svn/yate@4903 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-14 09:46:56 +00:00
marian
902cbc8aa8
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://voip.null.ro/svn/yate@4902 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-13 15:27:38 +00:00
marian
cba38fdbfc
Added method used to set/reset widget attributes.
...
git-svn-id: http://voip.null.ro/svn/yate@4874 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-10 09:02:28 +00:00
marian
41e4831d33
Made file dialogs window modal.
...
git-svn-id: http://voip.null.ro/svn/yate@4848 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-07 14:42:52 +00:00
marian
171e0cf694
Changed stylesheet file name.
...
git-svn-id: http://voip.null.ro/svn/yate@4843 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-07 11:23:43 +00:00
marian
ac5c809f2e
Optionally load application stylesheet from file.
...
git-svn-id: http://voip.null.ro/svn/yate@4837 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-06 13:40:47 +00:00
marian
ae812cf5c4
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://voip.null.ro/svn/yate@4829 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-03 17:31:33 +00:00
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
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
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
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
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
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
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
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