Commit Graph

63 Commits

Author SHA1 Message Date
zeljko
7a3d27f62c Qt: renamed TQtFont Widget: QFontH to FHandle: QFontH, also TQtFontMetrics Widget: QFontMetricsH to FHandle: QFontMetricsH
git-svn-id: trunk@33289 -
2011-11-04 10:31:30 +00:00
zeljko
f84bcb8db6 Qt: fixed bug with doubled initial dir with filename path, when using -dQT_NATIVE_DIALOGS. issue #20534
git-svn-id: trunk@33019 -
2011-10-22 11:59:50 +00:00
juha
0928ead547 LCL: Changed function ColorToRGB's return value to TColorRef. Many related changes around the code.
git-svn-id: trunk@29734 -
2011-03-06 12:45:59 +00:00
zeljko
a2e292da52 Qt: fixed compilation and range check crashes with TColorRef
git-svn-id: trunk@29718 -
2011-03-03 15:23:38 +00:00
sekelsenmat
409c85821c Fixes a small bug in Qt. ItemIndex didn't work for the last item, for example ItemIndex=15 with 15 items.
git-svn-id: trunk@27717 -
2010-10-15 10:25:27 +00:00
zeljko
9943e6437a Qt: moved QtFileDialog.setShortcuts() to UpdateProperties, also added setShortcuts() for SelectDirectory dialogs.
git-svn-id: trunk@27265 -
2010-09-04 12:12:45 +00:00
zeljko
fd82ff4f5f Qt: new class TQtObjectDump for dumping complete object children tree, hooked TQtFileDialog children controls to add standard shortcuts which are missing in non-native qt dialogs.
git-svn-id: trunk@27262 -
2010-09-04 09:52:47 +00:00
zeljko
404ca55078 Qt: disallow QFileDialog constructor to use native dialogs out of static functions. fixes #16532
git-svn-id: trunk@27257 -
2010-09-03 09:39:01 +00:00
mattias
6b13c586b6 qt intf: clean up
git-svn-id: trunk@26514 -
2010-07-07 20:30:22 +00:00
zeljko
47760320eb Qt: add X11 selection lock for open filenames too (in case of QT_NATIVE_DIALOGS).
git-svn-id: trunk@26479 -
2010-07-06 09:35:05 +00:00
zeljko
d3af90a31d Qt: added X11 selection lock,so we don't ask QMimeData when selection changes in case of native dialogs.fixes #16625
git-svn-id: trunk@26478 -
2010-07-06 09:27:17 +00:00
zeljko
8f5c37c13b Qt: qtdialogs - return focus to last active window, fixes #16535
git-svn-id: trunk@25613 -
2010-05-24 16:34:13 +00:00
zeljko
d841943e9f Qt: fixed crash when we open some dialog which uses TQtCommonDialog.GetDialogParent() and Application.MainForm is not visible.
git-svn-id: trunk@24301 -
2010-03-30 14:36:16 +00:00
zeljko
fb089f55fa Qt: clean FileDialog.Files before adding new selection. Fixes #15786
git-svn-id: trunk@23720 -
2010-02-16 14:48:02 +00:00
mattias
703970233e qt intf: clean up
git-svn-id: trunk@23368 -
2010-01-04 18:18:31 +00:00
zeljko
923ead3166 Qt: qtwsdialogs FilterIndex fix. fixes #15184
git-svn-id: trunk@22772 -
2009-11-25 16:12:39 +00:00
zeljko
666fea3cc7 Qt: *ATTENTION* qt45 is default from now on (no more USE_QT_XX defines, qt43 and qt44 are not supported anymore)
default bindings version is 1.72.

git-svn-id: trunk@21913 -
2009-09-29 11:24:31 +00:00
zeljko
c521333873 Qt: bugfix for dialogs filter in QT_NATIVE_DIALOGS mode.fixes #13767
git-svn-id: trunk@20079 -
2009-05-20 13:11:51 +00:00
zeljko
cfb3d7416e Qt: qtwsdialogs bugfix for non-native mode, filename should be setted up.
git-svn-id: trunk@19964 -
2009-05-14 11:58:22 +00:00
zeljko
a1d98946b8 Qt: rewritten part of QtDialogs, now we can use QT_NATIVE_DIALOGS for native dialogs which uses qt static functions , but then we loose signals from QFileDialog.Fixes #13460.
git-svn-id: trunk@19961 -
2009-05-14 09:15:31 +00:00
paul
f02c53c71c merge lcl-smartlink branch:
------------------------------------------------------------------------
r19294 | paul | 2009-04-10 11:17:35 +0800 (Птн, 10 Апр 2009) | 1 line

lcl, win32: start optimizations: imglist (all), controls (all), combtrls (statubar)
------------------------------------------------------------------------
r19305 | martin | 2009-04-10 21:53:27 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL
------------------------------------------------------------------------
r19306 | martin | 2009-04-10 22:14:57 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL (more)
------------------------------------------------------------------------
r19307 | martin | 2009-04-10 22:22:44 +0800 (Птн, 10 Апр 2009) | 1 line

changed case true => True
------------------------------------------------------------------------
r19308 | paul | 2009-04-10 22:28:28 +0800 (Птн, 10 Апр 2009) | 1 line

fix file case
------------------------------------------------------------------------
r19311 | martin | 2009-04-10 23:09:16 +0800 (Птн, 10 Апр 2009) | 1 line

Moved Registration of TCustomCalendar
------------------------------------------------------------------------
r19312 | martin | 2009-04-10 23:28:03 +0800 (Птн, 10 Апр 2009) | 1 line

Moved PropertyToSkip for TCalender
------------------------------------------------------------------------
r19314 | paul | 2009-04-10 23:50:30 +0800 (Птн, 10 Апр 2009) | 1 line

merge r13913 #999e8b059d
------------------------------------------------------------------------
r19315 | paul | 2009-04-10 23:53:07 +0800 (Птн, 10 Апр 2009) | 1 line

cleanup WSCalendar
------------------------------------------------------------------------
r19316 | paul | 2009-04-11 00:37:44 +0800 (Сбт, 11 Апр 2009) | 1 line

finish with ComCtrls
------------------------------------------------------------------------
r19318 | martin | 2009-04-11 01:37:40 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19319 | martin | 2009-04-11 01:47:30 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19320 | martin | 2009-04-11 02:47:52 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved ExtCtrls, ExtDlgs
------------------------------------------------------------------------
r19321 | martin | 2009-04-11 03:23:32 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved PropertyToSkip
------------------------------------------------------------------------
r19322 | martin | 2009-04-11 03:37:39 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved StdCtrls
------------------------------------------------------------------------
r19323 | martin | 2009-04-11 04:05:50 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved Buttons
------------------------------------------------------------------------
r19325 | paul | 2009-04-11 11:02:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove DirSel
------------------------------------------------------------------------
r19326 | paul | 2009-04-11 11:11:37 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterArrow
------------------------------------------------------------------------
r19327 | paul | 2009-04-11 11:32:09 +0800 (Сбт, 11 Апр 2009) | 1 line

register WS classes only for TCustomXXX classes if they are available (like TCustomScrollBar instead of TScrollBar) and only for those descendants which really differ (like TRadioButton, TToggleButton)
------------------------------------------------------------------------
r19328 | paul | 2009-04-11 11:40:00 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomCheckBox
------------------------------------------------------------------------
r19329 | paul | 2009-04-11 11:57:22 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Forms
------------------------------------------------------------------------
r19330 | paul | 2009-04-11 12:13:05 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomGrid + move of RegisterPropertyToSkip
------------------------------------------------------------------------
r19331 | paul | 2009-04-11 12:24:29 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Menus
------------------------------------------------------------------------
r19332 | paul | 2009-04-11 12:35:16 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for PairSplitter
------------------------------------------------------------------------
r19333 | paul | 2009-04-11 12:47:39 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Spin
------------------------------------------------------------------------
r19334 | paul | 2009-04-11 12:58:55 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomRubberBand
------------------------------------------------------------------------
r19335 | paul | 2009-04-11 13:31:43 +0800 (Сбт, 11 Апр 2009) | 1 line

remove 2 initialization sections
------------------------------------------------------------------------
r19336 | paul | 2009-04-11 13:46:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove TPopupNotifier.png from LCL
------------------------------------------------------------------------
r19338 | paul | 2009-04-11 13:54:03 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19341 | paul | 2009-04-11 14:59:27 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19343 | martin | 2009-04-11 19:59:18 +0800 (Сбт, 11 Апр 2009) | 1 line

Reduced Unit-Circles, by moving Register* into WS* units
------------------------------------------------------------------------
r19344 | martin | 2009-04-11 20:22:49 +0800 (Сбт, 11 Апр 2009) | 1 line

Dummy file for gtk
------------------------------------------------------------------------
r19345 | martin | 2009-04-11 21:06:55 +0800 (Сбт, 11 Апр 2009) | 1 line

Initial move of gtk1 register
------------------------------------------------------------------------
r19346 | martin | 2009-04-11 21:19:48 +0800 (Сбт, 11 Апр 2009) | 1 line

Missing dependencies in gtk1 wsfactory
------------------------------------------------------------------------
r19347 | martin | 2009-04-11 22:36:42 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19348 | martin | 2009-04-11 23:34:16 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy 
------------------------------------------------------------------------
r19349 | martin | 2009-04-11 23:39:20 +0800 (Сбт, 11 Апр 2009) | 1 line

moved uses for factory
------------------------------------------------------------------------
r19350 | martin | 2009-04-11 23:41:57 +0800 (Сбт, 11 Апр 2009) | 1 line

corrected a few accidental "Result := False"
------------------------------------------------------------------------
r19351 | paul | 2009-04-12 00:04:15 +0800 (Вск, 12 Апр 2009) | 1 line

removed unused units
------------------------------------------------------------------------
r19352 | paul | 2009-04-12 00:05:26 +0800 (Вск, 12 Апр 2009) | 1 line

qt: move RegisterWS calls to qtwsfactory
------------------------------------------------------------------------
r19354 | paul | 2009-04-12 01:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

wince: move RegisterWS calls to WinCEWSFactory
------------------------------------------------------------------------
r19356 | martin | 2009-04-12 01:39:56 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2
------------------------------------------------------------------------
r19357 | martin | 2009-04-12 01:45:31 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2 / missing units
------------------------------------------------------------------------
r19358 | martin | 2009-04-12 01:57:43 +0800 (Вск, 12 Апр 2009) | 1 line

Fixed one return value from register
------------------------------------------------------------------------
r19360 | martin | 2009-04-12 02:47:42 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2 registrations for WinControl
------------------------------------------------------------------------
r19361 | martin | 2009-04-12 02:57:58 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2nd registrations
------------------------------------------------------------------------
r19368 | paul | 2009-04-12 13:09:59 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19373 | paul | 2009-04-12 13:45:17 +0800 (Вск, 12 Апр 2009) | 1 line

wince: forgotten file
------------------------------------------------------------------------
r19374 | paul | 2009-04-12 14:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

carbon: move RegisterWSComponent to CarbonWSFactory
------------------------------------------------------------------------
r19375 | paul | 2009-04-12 14:27:47 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------

git-svn-id: trunk@19376 -
2009-04-12 08:46:31 +00:00
zeljko
00fdfaabb3 Qt: bugfix for #13382
git-svn-id: trunk@19065 -
2009-03-22 20:09:41 +00:00
paul
705b320a3a qt: replace UTF8Encode by UTF16ToUTF8 and UTF8Decode by UTF8ToUTF16
git-svn-id: trunk@18731 -
2009-02-17 13:52:40 +00:00
zeljko
142380bdfa Qt: fix for qtwsdialog FilterIndex patch, last filterIndex wasn't taken into account
git-svn-id: trunk@18639 -
2009-02-11 12:36:57 +00:00
zeljko
08495eeaae Qt: qtwsdialogs, respect FilterIndex property from TFileDialog.
git-svn-id: trunk@18638 -
2009-02-11 11:53:39 +00:00
zeljko
17982b9c1a Qt: fix WS classes, move methods from public to published sections.
git-svn-id: trunk@17597 -
2008-11-26 07:44:16 +00:00
zeljko
3960cd04e7 Qt: implemented history for TQtFileDialog
git-svn-id: trunk@17585 -
2008-11-25 15:59:48 +00:00
paul
04ac30b1eb license: fix asterisk position in the license block
git-svn-id: trunk@17372 -
2008-11-13 15:06:20 +00:00
paul
a58c67f820 qt: fill custom colors for QColorDialog
git-svn-id: trunk@17339 -
2008-11-11 13:07:28 +00:00
zeljko
0294f3618f Qt: enable toolbar buttons for TQtFileDialog
git-svn-id: trunk@16876 -
2008-10-05 07:31:50 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
zeljko
bed53eaae0 Qt: Fixed TFontDialog returned Size & Height
git-svn-id: trunk@14747 -
2008-04-04 06:15:23 +00:00
paul
fe81e69498 qt: change {$mode delphi} to {$mode objfpc}
git-svn-id: trunk@14236 -
2008-02-24 04:44:28 +00:00
sekelsenmat
fa14be1de9 Removed the USE_QT_4_3 define. Now only Qt 4.3 or superior is supported.
git-svn-id: trunk@14057 -
2008-02-09 20:32:37 +00:00
zeljko
6b860e440b Qt: implemented TSelectDirectoryDialog.
git-svn-id: trunk@14044 -
2008-02-09 13:58:22 +00:00
paul
015034e457 qt: dont use .Handle <> 0 comparison use HandleAllocated instead
git-svn-id: trunk@13778 -
2008-01-16 12:15:49 +00:00
zeljko
1e077039d5 Qt: Fix AV on TCommonDialog release.
git-svn-id: trunk@13777 -
2008-01-16 12:10:34 +00:00
paul
90ea78c541 reduce amount of qt hint and warnings
git-svn-id: trunk@13586 -
2008-01-02 17:37:26 +00:00
paul
4dfe601068 qt:
- add qtdefines.inc (place for global qt defines)
- force qt 4.3 under windows

git-svn-id: trunk@12630 -
2007-10-29 15:11:49 +00:00
zeljko
2bc78d0dfd Qt: fixed bugs with QFileDialog (TSaveDialog), now it works properly.
git-svn-id: trunk@12531 -
2007-10-20 10:36:25 +00:00
paul
7ea11032f9 typo in previous commit
git-svn-id: trunk@12092 -
2007-09-20 14:17:39 +00:00
paul
10b357dce6 Qt:
- fix multiselect option in FileDialog
- fix multiply extension for one filter option

git-svn-id: trunk@12091 -
2007-09-20 14:13:49 +00:00
paul
feb1dfe899 Qt:
- rework FileDialogs - now they understand more options and handle events (disadvantage - FileDialogs are no more native)
- fix ColorDialog (was wrong selected color)
- introduce TQtStringList which encapsulates QStringListH
- fix compilation of qt 4.2

git-svn-id: trunk@12083 -
2007-09-20 06:56:09 +00:00
paul
293d27c168 Qt: Use GetUtf8String instead of utf8Decode. GetUtf8String tries to decode string at first and it is failed it uses raw string as result (so non unicode coded strings are also handled by this function).
git-svn-id: trunk@12047 -
2007-09-16 15:51:19 +00:00
zeljko
7439c8df1e + Implemented multiselection in TFileDialogs
* Fixed some compiler warnings, removed some unused variables.

git-svn-id: trunk@11536 -
2007-07-17 07:11:27 +00:00
paul
05b9d41eaf QT:
- cleanup (remove unused variables)
 - implemented AppMinimize, AppRestore, AppBringToFront

git-svn-id: trunk@11454 -
2007-07-10 06:01:58 +00:00
paul
8f7627dae7 fix compilation of qt
git-svn-id: trunk@11424 -
2007-07-05 04:36:46 +00:00
sekelsenmat
77b45f8368 Patch from zeljko to the Qt widgetset. Fixed AV with TFontDialog, added SetFont, implemented TColorDialog, other small fixes, implemented ReadOnly on TSpinBox.
git-svn-id: trunk@11397 -
2007-06-28 13:46:16 +00:00
sekelsenmat
0fb48e3d21 patch from zeljko. TCalendar implemented. Reimplemented TCustomCheckGroup and TCustomRadioGroup. Workaround for "Hidden radio button" problem. Added to this many small changes and switched the default qt version to 4.2
git-svn-id: trunk@11355 -
2007-06-23 07:13:18 +00:00
sekelsenmat
236bcd8d46 Added support for Qt 4.2.x
git-svn-id: trunk@11352 -
2007-06-21 13:43:20 +00:00