Commit Graph

48 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 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 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
oana 3ec924db91 Added the possibility of creating windows that have a parent window.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3311 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-11 15:13:51 +00:00
paulc 75bcd3205f Constified source parameter of copyParams so automatic conversions work.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3214 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-20 07:10:27 +00:00
marian a0c1139c3a Use more properties to build a custom widget into a frame. Handle QStringList type when an object property is requested.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3213 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-19 15:41:21 +00:00
marian 7056dd5c80 Added support to create/destroy a modal dialog from an UI widget.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3192 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-14 13:12:25 +00:00
marian 136802896a Added more properties used to setup tables from UI. Changed window flags property name.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3189 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-13 14:59:02 +00:00
marian bd58381dbb Handle _yate_setaction property: associate a QToolButton with an existing QAction. Handle _yate_noautoconnect property: don't connect buttons to window slots.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3173 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-08 09:29:36 +00:00
paulc 992bfe0e97 Added include guards to the Qt4 client.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3167 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-02 17:36:20 +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
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
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 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 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 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 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 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
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 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
marian c84d397da4 Added system tray icon support. Added menu build method to client. Replaced connect macro with function.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2285 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-24 11:50:15 +00:00
marian ebaa74e0c0 Added UI cache used to avoid loading the same file each time is needed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2264 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-17 15:12:54 +00:00
paulc 2df3a30388 Implementation of setMultipleRows for custom tables.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2243 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-29 09:20:59 +00:00
marian b2dae7cb22 Added methods used to insert a table row.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2241 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-27 16:39:42 +00:00
marian 425f1e1434 Split QtClient::property() into separate set/get property methods.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2219 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-19 08:03:49 +00:00
marian 0d883bd7a8 Added methods to get/set UTF8 representation from/to QString objects. Replaced macros with method calls.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2209 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-18 12:49:05 +00:00
marian 47f4f104c7 Added methods to update (set/add/delete) one or more table row(s) in one operation. Use them where appropriate.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2208 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-18 10:08:02 +00:00
marian 6050c0e169 Added parameter used to build UTC time instead of local one when formatting date/time.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2198 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-15 14:05:15 +00:00
marian c91cbd37fb Now a QT window remembers its old id when created with an alias in order to be able to retrieve its section in config.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2171 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-28 15:48:03 +00:00
marian d59d6d7385 Added option to get a control's rich text. Adjusted method call to match the new list of parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2158 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-14 15:04:55 +00:00
marian baca563b21 Added methods to format a date/time string.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2149 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-07 15:23:18 +00:00
marian dce1bb9555 Added missing virtual method parameter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2144 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-06 13:56:26 +00:00
paulc 380b59f1f6 Merged branches/marian/client up to rev. 2134.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2135 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-04 02:06:00 +00:00
paulc cb074008ed Qt, Yate2 and VS 2005 related fixes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1594 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-07 18:36:17 +00:00
paulc a409bda622 Fixed end of line property.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1583 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-07 08:17:17 +00:00
paulc eed2b1f5df Added Qt4 client, Windows project changes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1582 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-07 08:11:29 +00:00