Commit Graph

19104 Commits

Author SHA1 Message Date
ondrej
4a89ed8ec1 LCL: TControl: explicitely scale fonts with 0-height because they cannot be scaled automatically with TFont.PixelsPerInch
git-svn-id: trunk@54216 -
2017-02-21 10:45:27 +00:00
ondrej
c3ac0c4816 win32: menu item: fix checkbox painting. Issue #31149
git-svn-id: trunk@54213 -
2017-02-20 15:54:57 +00:00
ondrej
48a215ee7e win32: menu item: fix wrong painting of icons bigger than text. Issue #31149
git-svn-id: trunk@54212 -
2017-02-20 15:24:07 +00:00
ondrej
592b495a47 LCL: HighDPI: use relative font scaling, not the absolute PPI (fix for r54210 #eb28e06e83). Issue #31276
git-svn-id: trunk@54211 -
2017-02-20 15:04:02 +00:00
ondrej
eb28e06e83 LCL: HighDPI: fix font scaling. Issue #31276
git-svn-id: trunk@54210 -
2017-02-20 13:59:36 +00:00
ondrej
1b57bc9ee8 LCL: TFont: add TFont.PixelsPerInch setter - the Height/Size ratio wasn't correct after change of PixelsPerInch.
git-svn-id: trunk@54209 -
2017-02-20 13:53:32 +00:00
sekelsenmat
970dc3e689 Fixes compilation with FPC 2.6
git-svn-id: trunk@54207 -
2017-02-20 11:28:08 +00:00
ondrej
aa9e36d48e LCL: editbtn: fix regression after r54191 #0da26ddcc1 (filter wasn't applied).
git-svn-id: trunk@54204 -
2017-02-19 21:04:44 +00:00
ondrej
d6ec634142 lcl: TControl: highDPI: fix DoAutoAdjustLayout for right- and bottom-aligned controls at a sibling
git-svn-id: trunk@54203 -
2017-02-19 20:28:36 +00:00
ondrej
44835a8f24 LCL: HighDPI: missing commit from r54199 #1c7e92643d
git-svn-id: trunk@54200 -
2017-02-19 20:05:46 +00:00
ondrej
1c7e92643d LCL, IDE: HighDPI: add Application.Scaled and Project1.Scaled property for automatic LCL-driven scaling
git-svn-id: trunk@54199 -
2017-02-19 20:02:58 +00:00
ondrej
6eae03e479 gtk2: fix window type hints for modal/nonmodal forms. Issue #13051
git-svn-id: trunk@54197 -
2017-02-19 17:37:44 +00:00
ondrej
d45b1fe5cd win32: group box: highDPI: force reposition of children after font change. Issue #23415
git-svn-id: trunk@54195 -
2017-02-19 16:03:57 +00:00
ondrej
b4b0cf8831 lcl: TControl: highDPI: don't do AutoSize in DoAutoAdjustLayout - it removes correctly calculated size for autosized controls.
git-svn-id: trunk@54194 -
2017-02-19 14:16:08 +00:00
ondrej
6d31586364 lcl: TControl: highDPI: fix DoAutoAdjustLayout for right- and bottom-aligned controls.
git-svn-id: trunk@54193 -
2017-02-19 13:57:57 +00:00
ondrej
b5e203e374 LCL: editbtn: deprecate/remove UseFormActivate
git-svn-id: trunk@54192 -
2017-02-19 13:27:04 +00:00
ondrej
0da26ddcc1 LCL: TCustomAbstractGroupedEdit: unbind the overloaded Color property from inherited property
git-svn-id: trunk@54191 -
2017-02-19 12:39:30 +00:00
juha
07e44579a9 LCL: Implement also msSiblingOnly and msVisibleOnly for TTreeView.MultiSelectStyle. Issue #18043, patch from AlexeyT.
git-svn-id: trunk@54188 -
2017-02-19 10:00:13 +00:00
juha
55b51f1788 LCL: Implement TTreeView.MultiSelectStyle. Issue #18043, patch from AlexeyT.
git-svn-id: trunk@54187 -
2017-02-18 11:26:43 +00:00
ondrej
4a89297c1e dialogs: TTaskDialog: fix default font. Issue #31393, patch by AlexeyT
git-svn-id: trunk@54185 -
2017-02-17 15:39:52 +00:00
wp
ce7b128603 lcl: Fix grid's ButtonStringEditor ignoring cell text alignment (issue #0031402).
git-svn-id: trunk@54172 -
2017-02-16 20:44:10 +00:00
ondrej
dc573dbaa0 dialogs: TTaskDialog: rename OnButtonClicked params. Issue #31404
git-svn-id: trunk@54169 -
2017-02-16 17:22:45 +00:00
wp
c07a887d22 LCL: TPen.Assign copies pattern now.
git-svn-id: trunk@54164 -
2017-02-15 14:13:12 +00:00
mattias
b2fd45b8bf lcl: TJSONPropStorage, do not split at underscore
git-svn-id: trunk@54163 -
2017-02-15 11:42:20 +00:00
ondrej
9d6acea295 dialogs: TTaskDialog: change string properties to TTranslateString. Issue #31390
git-svn-id: trunk@54162 -
2017-02-15 11:12:22 +00:00
mattias
72d38acfbb lcl: added TJSONPropStorage, issue #31388, from Gustavo Carreno
git-svn-id: trunk@54159 -
2017-02-15 09:02:27 +00:00
mattias
0d9788974a lcl: added TJSONPropStorage, issue #31388, from Gustavo Carreno
git-svn-id: trunk@54158 -
2017-02-15 08:58:35 +00:00
ondrej
445c92af0c dialogs: TTaskDialog: change TTaskDialogIcon from integer to enumeration.
Reason: LCLTaskDialog doesn't support icons beyond this range and it's better to have a combobox in the OI.
Issue #31389

git-svn-id: trunk@54157 -
2017-02-15 08:46:29 +00:00
zeljko
14b3622cd7 Qt5: removed QtWa_TransparentForMouseEvents workaround since qt5 fully supports it via windowFlags. issue #30232
git-svn-id: trunk@54149 -
2017-02-13 17:00:59 +00:00
zeljko
0e3107262b Qt: do not send doubled mouseUp events
git-svn-id: trunk@54148 -
2017-02-13 13:21:02 +00:00
zeljko
fb129e0123 Qt5: minor refactoring of transparent mouse handler
git-svn-id: trunk@54146 -
2017-02-13 09:09:38 +00:00
zeljko
80e4403f0b Qt5: let qt5 use lcTransparentWindow.
git-svn-id: trunk@54145 -
2017-02-13 08:48:57 +00:00
zeljko
33e6b24cc6 Qt: fixed right mouse click on transparent form, refactored transparent for mouse part. issue #31381
git-svn-id: trunk@54144 -
2017-02-13 08:23:36 +00:00
zeljko
7af8c77037 Qt,Qt5: removed dropdown button metrics, use themes.
git-svn-id: trunk@54143 -
2017-02-12 13:36:13 +00:00
zeljko
cd35ca39a6 Qt: backport qt4 patch for drawing splitter. issue #27182
git-svn-id: trunk@54142 -
2017-02-12 13:03:41 +00:00
zeljko
02a4198267 Qt5: fixed QtHandle type
git-svn-id: trunk@54141 -
2017-02-12 12:53:28 +00:00
zeljko
923b88a5fe Qt: QtHandle type is not integer, it's longword on x11 and windows, and ptruint on mac.
git-svn-id: trunk@54140 -
2017-02-12 12:53:08 +00:00
zeljko
5d40943854 Qt: use QEventLoopAllEvents instead of QEventLoopExcludeUserInputEvents after TQtMessageBox finished.
git-svn-id: trunk@54139 -
2017-02-12 12:30:15 +00:00
zeljko
93f2a9f8fd Qt5: added hint howto correct build Qt5Pas1.dll under win32.
git-svn-id: trunk@54138 -
2017-02-12 10:07:00 +00:00
zeljko
a05c58ebb1 Qt, Qt5: make interface snappy under x11 after menuitem triggered.
git-svn-id: trunk@54137 -
2017-02-11 10:28:29 +00:00
zeljko
4064104009 Qt, Qt5: process all events. issue #31372
git-svn-id: trunk@54136 -
2017-02-10 17:03:38 +00:00
juha
5185a3b7d1 LCL: Publish TButtonPanel's TPanelBitBtn.PopupMenu. Issue #31334.
git-svn-id: trunk@54132 -
2017-02-09 11:14:37 +00:00
juha
d5791ad833 LCL-GTK2: Refactor, add support for input method blacklist. Issue #30863, patch from AlexeyT.
git-svn-id: trunk@54130 -
2017-02-09 09:48:37 +00:00
juha
4edb91db4d LCL-QT5: Copy an important fix / optimization (r53375) from LCL-QT4. Issue #30929.
git-svn-id: trunk@54129 -
2017-02-09 09:48:32 +00:00
zeljko
38af3156af Qt: fixed centering dots of vertical splitter.
git-svn-id: trunk@54128 -
2017-02-09 08:05:36 +00:00
zeljko
c1bcb4d8b8 Qt: simplified and optimized splitter drawing. part of issue #27182
git-svn-id: trunk@54127 -
2017-02-09 07:57:00 +00:00
zeljko
349fdc7200 Qt: draw splitter grabber for themes which doesn't implement it in Qt library. issue #27182
git-svn-id: trunk@54122 -
2017-02-08 19:56:07 +00:00
hnb
b432dc7e42 Add missing unit LCLProc for previous commit 54120 #b22e329287. Fix mantis #31368
git-svn-id: trunk@54121 -
2017-02-08 19:26:59 +00:00
hnb
b22e329287 Raise error for badly created control for "preferred status bar height" initialization. The local variable R is uninitialized (random value from stack) for badly implemented DLLs with forms. The problem is visible for TControl.ChangeBounds / TControl.DoSetBounds methods (randomly raised BoundsOutOfBounds)
git-svn-id: trunk@54120 -
2017-02-08 12:49:35 +00:00
maxim
491820a1f4 Translations: French translation update by Gilles Vasseur, bug #31362
git-svn-id: trunk@54119 -
2017-02-07 23:00:04 +00:00