Commit Graph

142 Commits

Author SHA1 Message Date
mattias
cf55952b42 removed OldAutoSize
git-svn-id: trunk@25190 -
2010-05-04 19:16:18 +00:00
zeljko
8b981c9c48 Gtk: better fix for #16127.
git-svn-id: trunk@24248 -
2010-03-27 14:33:49 +00:00
zeljko
0c98e064f9 Gtk: statictext widget must set usize in case of new autosize. fixes #16127
git-svn-id: trunk@24247 -
2010-03-27 13:48:46 +00:00
paul
eb5ca6d8d6 gtk: fix word wrapping of TStaticText (issue #0015078)
git-svn-id: trunk@22687 -
2009-11-20 07:45:23 +00:00
paul
7a349faa5d gtk1: fix compilation
git-svn-id: trunk@22303 -
2009-10-27 09:08:46 +00:00
paul
b89b28de7c lcl: remove lclintf ComboBoxDropDown, create 2 methods instead in TWSCustomCombobox: one to get DroppedDown status, another to set it. + implementation for all widgetsets except carbon
git-svn-id: trunk@22285 -
2009-10-26 10:21:56 +00:00
mattias
3009135479 gtk intf: comments
git-svn-id: trunk@21837 -
2009-09-23 12:07:50 +00:00
mattias
bd38195d35 gtk intf: TGtkWSCustomEdit.SetText: lock during set and fire CM_TEXTCHANGED, bug #14615
git-svn-id: trunk@21836 -
2009-09-23 12:06:24 +00:00
mattias
5507b410fc LCL: added debugging -dVerboseTWinControlRealText
git-svn-id: trunk@21809 -
2009-09-21 20:51:50 +00:00
paul
cbea652f5f gtk: fix resetting color property of some controls (issue #0007555, using Zeljan patch but with many modifications)
git-svn-id: trunk@20441 -
2009-06-05 15:39:52 +00:00
paul
50ad4d8937 gtk: split gtk1 and gtk2 groupbox code
git-svn-id: trunk@20288 -
2009-05-29 02:27:30 +00:00
paul
c43a1a19c5 gtk: don't change selected state of TEdit or text become invisible on selection (by Daniel Simões de Almeida, bug #0013794)
git-svn-id: trunk@20127 -
2009-05-22 15:29:53 +00:00
paul
fac984e78f gtk: formatting
git-svn-id: trunk@20126 -
2009-05-22 15:27:06 +00:00
paul
d9c7fdad82 gtk: fix setting readonly for TCustomEdit (bug #0013773)
git-svn-id: trunk@20106 -
2009-05-21 13:01:22 +00:00
paul
a8ae3b4f66 lcl: TPageControl: set dock site rectangle in DockOver and not in PositionDockRect since PositionDockRect used in other unrelated to dock over cases
git-svn-id: trunk@20092 -
2009-05-21 07:58:18 +00:00
paul
cc1aa6345c gtk: fix compilation
git-svn-id: trunk@19713 -
2009-04-30 16:19:32 +00:00
paul
020618fa6c gtk, gtk2: more fixes for default font assignment
git-svn-id: trunk@19712 -
2009-04-30 16:17:16 +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
paul
ac0184724f gtk, gtk2, win32: don't call OnChange twice when we change TEdit text (bug #0013102)
gtk2: don't call OnChange more than one time when we change TMemo text

git-svn-id: trunk@19151 -
2009-03-29 09:06:48 +00:00
paul
fc2bfdcd38 dont call combobox onChange event when popup window is visible (bug #0012831)
git-svn-id: trunk@18297 -
2009-01-15 10:31:55 +00:00
paul
3569305392 gtk: fix SetSelStart for TEdit from Valdas Jankunas (bug #0011800)
git-svn-id: trunk@17987 -
2008-12-30 08:22:37 +00:00
paul
1394f53c75 gtk, gtk2: fix visibility warnings and some other
git-svn-id: trunk@17620 -
2008-11-28 04:08:16 +00:00
paul
25e9426c10 lcl: MaxLength redo:
- MaxLength = 0 => no limit, MaxLength > 0 => limit. Default = 0 for memo, combo and edit
  - fix gtk, gtk2 code where MaxLength = -1 was used for unlimited length in Memo (why? combo and edit used 0)
  - fix qt combobox SetLength (was occasional forgotten?)
  - cleanup

git-svn-id: trunk@17365 -
2008-11-13 06:42:37 +00:00
paul
c9899ebca4 lcl, widgetsets: hope fix misuse of TScrollBar.PageSize (#0011788 based on ideas of Sergey Bulba)
git-svn-id: trunk@16835 -
2008-10-02 01:47:29 +00:00
paul
898d951e30 lcl: introduce TListBox.GetItemAtXY, TListBox.GetItemAtY exists for compatibility with existing projects
interfaces: replace TWSCustomListBox.GetIndexAtY by TWSCustomListBox.GetIndexAtXY
win32, wince, qt, carbon: use X coord too
(based on patch of Yuriy Yeroshkin, #0011923)

git-svn-id: trunk@16801 -
2008-09-30 02:15:17 +00:00
mattias
f7943628fa gtk intf: Avoid the creation of WidgetInfo to combox childs, Update the ItemIndex cache when inserting items, from Luiz
git-svn-id: trunk@15894 -
2008-07-27 21:13:41 +00:00
mattias
e5805aab68 gtk/gtk2 intf: combobox: toggle selection mode to support ItemIndex=-1, fixed ReadOnly, updating intf ItemIndex cache on Delete/Insert/Change, refactoring for WS classes, from Luiz
git-svn-id: trunk@15842 -
2008-07-23 08:17:39 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
mattias
b26fda5243 gtk+gtk2+win32 intf: TComboBox: fixed LM_CHANGED, LM_SELCHANGED events, now LM_CHANGED are sent, whenever the text changes, from Luiz
git-svn-id: trunk@15831 -
2008-07-21 21:29:07 +00:00
mattias
e3520a6d50 gtk intf: reduced warnings/notes - use -dVerboseLCLTodos and -dVerboseGtkTodos to see them
git-svn-id: trunk@15422 -
2008-06-14 12:04:46 +00:00
sekelsenmat
341d9e3850 Patch from Grzegorz Zakrzewski. Fixes #10108
git-svn-id: trunk@14853 -
2008-04-17 01:28:56 +00:00
paul
67ebf94a2e lcl: remove LM_INSERTTEXT, LM_DELETETEXT (not used in LCL anymore and fixes #0010930)
git-svn-id: trunk@14461 -
2008-03-07 17:09:25 +00:00
paul
7bebb27eab messages:
- change messages name from LM_CUTTOCLIP to LM_CUT, LM_COPYTOCLIP to LM_COPY, LM_PASTEFROMCLIP to LM_PASTE, LM_CLEARSEL to LM_CLEAR since they are come from WM_CUT, WM_COPY, WM_CLEAR, WM_PASTE
- assign windows message number to that messages (fixes issue #0010747)

git-svn-id: trunk@14415 -
2008-03-05 03:52:01 +00:00
sekelsenmat
2c82246914 Separates CheckBox on gtk2 and further removes clistbox.
git-svn-id: trunk@14179 -
2008-02-18 08:02:43 +00:00
sekelsenmat
fc312ff2bb Removes the obsolete CListBox under gtk and qt.
git-svn-id: trunk@14176 -
2008-02-18 07:02:01 +00:00
mattias
c2d668eb0c gtk2 intf: fixed clicked event for Button
git-svn-id: trunk@14073 -
2008-02-10 22:16:19 +00:00
sekelsenmat
9d0941dad2 Fixes the z-order of TButton on gtk2 by splitting it's implementation from gtk1 and adding a EventBox under the button for gtk2.
git-svn-id: trunk@14071 -
2008-02-10 14:53:51 +00:00
marc
a174b6e889 * fixed crash in checklistbox
* fixed overwrite of privateclass on inherited update
* fixed overwrite of privateclass with a "lower" class

git-svn-id: trunk@13663 -
2008-01-07 23:58:16 +00:00
paul
dc2f654a2b add set_rc_name to every CreateHandle
git-svn-id: trunk@13545 -
2007-12-31 08:12:12 +00:00
paul
c8d52d15d6 gtk:
- remove FinishComponentCreate: code moved to appropriate ws classes
- remove HookSignals (same reason)

git-svn-id: trunk@13537 -
2007-12-30 18:15:53 +00:00
paul
9d15123d91 - gtk: move dialogs related stuff to gtkwsdialogs and gtk2wsdialogs
- gtk complete moving CreateComponent code to appropriate classes
- lcl remove CreateComponent method since there is no more need in it

git-svn-id: trunk@13478 -
2007-12-27 09:51:27 +00:00
paul
3298b06f86 gtk: move CreateComponent code for TProgressBar to CreateHandle and FinishComponentCreate to SetCallbacks
git-svn-id: trunk@13470 -
2007-12-26 09:47:15 +00:00
paul
2f0de90ec1 gtk: move CreateComponent code for TPairSplitter, TScrollBox, TScrollBar to CreateHandle and FinishComponentCreate to SetCallbacks
git-svn-id: trunk@13467 -
2007-12-26 08:52:02 +00:00
paul
07cb989050 gtk: move CreateComponent code for ToggleBox, RadioButton, Checkbox, PopupMenu, MainMenu to CreateHandle and FinishComponentCreate to SetCallbacks
git-svn-id: trunk@13457 -
2007-12-26 03:06:56 +00:00
paul
f7f99f038e implement border style for gtk TListBox and added generic way for setting border style for all scrollables
git-svn-id: trunk@13363 -
2007-12-18 02:57:49 +00:00
paul
fcca92b95d fix gtk1 compilation
git-svn-id: trunk@13029 -
2007-11-26 08:54:03 +00:00
paul
de9e54e0ad gtk:
- fix groupbox with fixed w/o windows (events were broken)
- remove FinishComponentCreate from groupbox
- improve setting label to groupbox (if groupbox text = '' then better to pass nil to prevent drawing of empty string with ugly visual effect)
- fix memory leaks in StaticText

git-svn-id: trunk@13028 -
2007-11-26 07:47:13 +00:00
paul
7e9d843fe8 gtk2: invert define GtkNoWindowFixed to GtkFixedWithWindow (and enable code for fixed w/o window by default). As result TCustomPage and TGroupBox will look nicer under gtk2
git-svn-id: trunk@12979 -
2007-11-23 10:04:16 +00:00
mattias
8f7f9fbebb gtk2 intf: GtkNoWindowFixed: removed gdkwindows for groupboxes and notebooks
git-svn-id: trunk@12976 -
2007-11-23 00:37:28 +00:00
paul
4e7a9679ed gtk1/2 change CoreWidget of StaticText to EventBox
git-svn-id: trunk@12759 -
2007-11-06 10:13:43 +00:00