Commit Graph

68 Commits

Author SHA1 Message Date
paul
f67a4dec0f TStaticText:
- gtk1/gtk2: reimplemented through GtkFrame->GtkEventBox->GtkLabel
- win32: BorderStyle and ShowAccelChar now have effect
- qt: BorderStyle and ShowAccelChar now have effect 

git-svn-id: trunk@12754 -
2007-11-06 09:17:41 +00:00
paul
24ed6d4373 qt:
- make preferredSize virtual member of TQtWidget
- reimplement preferredSize for TQtPushButton to make autosized buttons look better (ide dialogs are nicer now)

git-svn-id: trunk@12654 -
2007-10-31 03:05:54 +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
38b3450528 Qt: Fixed #9783 , window wasn't maximized if form design time state was setted up as wsMaximized.
git-svn-id: trunk@12447 -
2007-10-13 20:55:51 +00:00
zeljko
74948a0ce6 Qt: Revert last patch, TTreeView have problems with such case - others work fine.
git-svn-id: trunk@12320 -
2007-10-04 19:32:42 +00:00
zeljko
5db853472f Qt: Create viewport on demand, not while initalizing TQtAbstractScrollArea.
git-svn-id: trunk@12319 -
2007-10-04 19:19:21 +00:00
zeljko
87d3f98b51 Qt: cleanups.
git-svn-id: trunk@12316 -
2007-10-04 17:45:10 +00:00
zeljko
f6fe5420e0 Qt: Fixed crash on initialization of viewport.
git-svn-id: trunk@12314 -
2007-10-04 16:31:14 +00:00
paul
88dd7363cd Qt:
- improve keyhandling a bit
- remove some workarounds

git-svn-id: trunk@12205 -
2007-09-28 03:30:19 +00:00
zeljko
944d2d10c3 (Qt): AutoComplete useability via keyboard fixed.
git-svn-id: trunk@12204 -
2007-09-27 20:29:13 +00:00
paul
764b474b83 Qt:
- fix TQtWinControl.CanFocus
- fix FocusPolicy for widgets - they now have only Click policy. Tab policy is not needed since LCL handle tabbing itself
- remove setTabOrders and related code since LCL handle tabbing itself
(issue #0009726)

git-svn-id: trunk@12102 -
2007-09-21 05:08:35 +00:00
zeljko
07e0979d6e (Qt): Minor fix in GetText(), SetText()
git-svn-id: trunk@12072 -
2007-09-19 06:15:17 +00:00
paul
7da6e8a36f Qt:
- protect most qtwscontrols.pp class methods by WSCheckHandleAllocated
- cleanup

git-svn-id: trunk@12027 -
2007-09-14 05:05:19 +00:00
paul
c0a25e0eff Qt:
- introduce IQtEdit interface and implement it in Edit, Memo, Combo and Spin widgets
- switch TQtWsCustomEdit to use of IQtEdit is Widget supports it
- remove unneeded more code

git-svn-id: trunk@12022 -
2007-09-13 15:37:16 +00:00
paul
bede463f83 Qt:
- reimplement getText and setText for TQtWsWinControl
- cleanup

git-svn-id: trunk@12016 -
2007-09-13 05:37:38 +00:00
paul
fb5cf75ef9 Qt: port TQtWSWinControl.SetChildZPosition from gtk to qt widgetset
git-svn-id: trunk@12005 -
2007-09-12 09:11:19 +00:00
paul
9b01dc0727 Qt:
- complete TQtWsCustomStaticText
- some code moving for TQtWsCustomMemo

git-svn-id: trunk@11996 -
2007-09-11 09:23:38 +00:00
paul
3d77f2e0a2 Qt:
- postoned Destroying of widgets in case of destroy during event processing (introduced Release method)
- safer DeliverMessage
- cleanup

git-svn-id: trunk@11933 -
2007-09-04 02:28:26 +00:00
paul
fa4fffcebe LCL: add posibility to crDefault to have zero handle
Qt: fix controls default cursor (it was Arrow and now it is default control cursor) issue #0009200 

git-svn-id: trunk@11900 -
2007-09-01 13:09:20 +00:00
paul
1fe1b51b4a (Qt): prevent sending to LCL non system move events (side effect: splitters have right position in IDE now)
git-svn-id: trunk@11707 -
2007-08-01 16:11:49 +00:00
paul
6872289be3 (Qt): misc
git-svn-id: trunk@11706 -
2007-08-01 13:32:49 +00:00
paul
19c4c706cc (Qt): little bug in previous commit
git-svn-id: trunk@11705 -
2007-08-01 11:56:56 +00:00
paul
70ee268b83 (Qt):
- new class TQtIcon
- implemented TQtWSWinControl.ConstraintsChange

git-svn-id: trunk@11704 -
2007-08-01 11:51:37 +00:00
zeljko
e6d4a42970 *(Qt) fixed wrong cast in TQtWSWinControl.GetPreferredSize()
git-svn-id: trunk@11650 -
2007-07-27 23:56:29 +00:00
zeljko
465f37f903 *(Qt)At least fixed all geometry problems with various TWinControl descendants, now IDE config dialogs look nice.
*(Qt)Various cleanups.

git-svn-id: trunk@11649 -
2007-07-27 21:29:08 +00:00
zeljko
316cb557d7 *Fixed MDIChild positioning during design time under qt-lazarus ide.
git-svn-id: trunk@11620 -
2007-07-25 09:47:18 +00:00
paul
a73411c689 (Qt):
- right positioning of most controls include TGraphicControl descendants
- fixing typo in SlotKey (SynEdit now handle keys)

git-svn-id: trunk@11618 -
2007-07-25 09:01:40 +00:00
zeljko
1965c880c7 *Fixed offsets, now TMainMenu is taken into account.
-removed QT_LAZARUS_IDE_WORKAROUND.

git-svn-id: trunk@11616 -
2007-07-24 21:49:34 +00:00
zeljko
1da98e8bd4 *Lazarus IDE menu temporary workaround - USE QT_LAZARUS_IDE_WORKAROUND define.
*TCustomRadioGroup & TCustomCheckGroup alignments fix.

git-svn-id: trunk@11614 -
2007-07-24 14:20:41 +00:00
paul
25e501539b (Qt):
- switch all direct widget show/hide calls to TQtWidget
- create all widgets invisible (later LCL sets visibility)
- implement TQtWSCustomNotebook.SetPageIndex (side effect - significantly speed ups ide)

git-svn-id: trunk@11607 -
2007-07-24 03:25:09 +00:00
zeljko
d2c1b2ccab *Fixed MDI window sizes and child controls alignment.
git-svn-id: trunk@11604 -
2007-07-23 18:25:09 +00:00
zeljko
5a5c791fce + More winapi routines
* Probably fixed groupbox layouts (tested on win32, some linux distros),
  use QT_USE_QLAYOUT_IN_TQTGROUPBOX if you want to test against old code.
* Changed GetClientRect(), GetClientBounds() in qtwinapi.
* Fixed controls alignment inside MDIChild.

git-svn-id: trunk@11590 -
2007-07-22 11:25:35 +00:00
paul
55f077b595 (QT):
- Removed unnecessary code from radiogroup and checkgroup since LCL do all the job itself
- Removed dummy DestroyHandles. TQtWSWinControl.DestroyHandle will be used in most cases

git-svn-id: trunk@11582 -
2007-07-20 02:06:55 +00:00
paul
2b58d03bb8 (Qt)
- better handling of BorderStyle property
- Destroy GlobalCaret in QtWidgetset destructor
- fix possible problems with splitter painting under linux

git-svn-id: trunk@11561 -
2007-07-18 00:54:42 +00:00
paul
a51377f82d QT:
- correct painting of empty header area through themes
- filling Keys part of Mouse message on MouseMove event (splitter works now)
- remove frame around TCustomControl descendant and implement TQtWSWinControl.SetBorderStyle
LCL:
- add missed mouse buttons: MK_XBUTTON1, MK_XBUTTON2

git-svn-id: trunk@11545 -
2007-07-17 13:18:13 +00:00
zeljko
bfa0163c4c * Reimplemented modal forms handling.
* Fixed bug with invisible statusbar under linux.

git-svn-id: trunk@11481 -
2007-07-13 08:12:35 +00:00
zeljko
8c0501c443 + Implemented TArrow
There's {$ifdef QT_USE_BIG_TARROW} in DrawArrow (qtlclintf), cause we can   
  draw whatever. I've prepared 2 kinds of arrows, bigger (like in win32 intf), 
  or smaller (looks much better for me - this is default size).
*  BUGFIX for TStaticText AV under linux.
*  BUGFIX for QListWidget_clear() under linux.
*  Better place for viewport creation (works ok under linux).

git-svn-id: trunk@11480 -
2007-07-13 07:44:49 +00:00
paul
e720286a68 - all event attaching code moved to TQtWidget.AttachEvents, TQtWidget.DetachEvents and descendants
- initial implementation of Qt Caret by *Andreas Hausladen* with changes. Compile with -dShowQtCaret to test
- fixed bug caused memory corruption
- other minor fixes

git-svn-id: trunk@11465 -
2007-07-12 05:47:15 +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
sekelsenmat
545b183cba Patch from zeljko to Qt. Fixed memleak in TCustomControl.
git-svn-id: trunk@11410 -
2007-07-02 07:34:20 +00:00
sekelsenmat
43c999f092 Patch from zeljko. Font, Text Color & Color can be changed for all TWinControl descendants on Qt.
git-svn-id: trunk@11402 -
2007-06-29 15:31:49 +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
sekelsenmat
73b9c90569 Patch from zeljko to qt. Various improvements
git-svn-id: trunk@11265 -
2007-06-02 08:32:59 +00:00
sekelsenmat
fbc655ab0c Added TQtWSWinControl.CanFocus on qt interface and other minor changes from zeljko
git-svn-id: trunk@11210 -
2007-05-28 11:02:24 +00:00
sekelsenmat
28b1b1be74 Minor identation and comments fixes on qt interface
git-svn-id: trunk@11112 -
2007-05-09 07:58:53 +00:00
sekelsenmat
ffb7a7d1a9 Patch from Paul Ishenin to qt interface, plus some modifications from me.
git-svn-id: trunk@10694 -
2007-02-27 18:03:00 +00:00
sekelsenmat
637112c8b5 Very large patch from Jesus Reyes. Among other things it updates qt bindings to 1.24, fixes the font color problem, implements SetBkColor, SetBkMode and makes TStringGrid almost work.
git-svn-id: trunk@10496 -
2007-01-23 00:51:41 +00:00
sekelsenmat
4b16f5c25c Improves behavior of click event on buttons and implements TabOrder and TabStop on the Qt widgetset.
git-svn-id: trunk@10199 -
2006-11-14 19:14:35 +00:00
sekelsenmat
824e958f4e Partially implements GetTextMetrics and improves GetSystemMetrics on the Qt interface.
git-svn-id: trunk@10193 -
2006-11-13 01:43:05 +00:00