Difference between revisions of "User:Zeljan"

From Free Pascal wiki
Jump to navigationJump to search
Line 2: Line 2:
 
Hi I'm Zeljan Rikalo (everybody calls me Zeljko), currently trying to finish qt4 interface for lazarus.
 
Hi I'm Zeljan Rikalo (everybody calls me Zeljko), currently trying to finish qt4 interface for lazarus.
 
Any feedback about qt-lcl from linux,win32 or mac is welcome (patches also).
 
Any feedback about qt-lcl from linux,win32 or mac is welcome (patches also).
All about Qt interface you can find at http://wiki.lazarus.freepascal.org/index.php/Qt_Interface   
+
All about Qt interface you can find at  
 +
#*http://wiki.lazarus.freepascal.org/index.php/Qt_Interface   
 +
#*Mailing list: http://www.lazarus.freepascal.org/pipermail/qt
 +
<br>
  
Mailing list: http://www.lazarus.freepascal.org/pipermail/qt
+
'''NEWS'''<br>
 +
I'm on vacation from 06.08.2007-16.08.2007 with limited internet access, only e-mails accepted.
  
 
'''My TODO list'''
 
'''My TODO list'''
  
# <s>Fix painting problems.
 
#:Most problems are paintings outside paintEvent() ...
 
#:As of r11578 it's fixed (at least for most LCL controls), bottleneck is SynEdit (speed and unsynced paints) </s>
 
#<s>CloseAction=caFree lazarus bug http://www.freepascal.org/mantis/view.php?id=9155</s>
 
#:<s>For test , create normal form, say CloseAction := caFree in OnClose() event, now during runtime when we close this form it stays visible. This doesn't affect ModalForms. </s>
 
 
#Implement more winapi functions. <br>
 
#Implement more winapi functions. <br>
 
#Get SynEdit useable with Qt. <br>
 
#Get SynEdit useable with Qt. <br>
 
#Finally, make IDE useable. <br>
 
#Finally, make IDE useable. <br>
 +
#*Alpha status, compileable, works , but yet far away for serious usage
 
#TPrinterSetupDialog. <br>
 
#TPrinterSetupDialog. <br>
 
#Implement missing routines for various controls. <br>
 
#Implement missing routines for various controls. <br>
Line 22: Line 22:
 
#* http://www.freepascal.org/mantis/view.php?id=9200 <br>
 
#* http://www.freepascal.org/mantis/view.php?id=9200 <br>
 
#TStatusBar bug: It's invisible, until we resize form for the first time.
 
#TStatusBar bug: It's invisible, until we resize form for the first time.
  Commited workaround in TQtWSStatusBar.ShowHide(), works but doesn't smell good.<br>
+
#*Commited workaround in TQtWSStatusBar.ShowHide(), works but doesn't smell good.<br>
10. <s>Mouse freezing bug when click on TTabSheet (called TQtWidgetSet.SetCapture()), form can be killed by Alt+F4.
+
#<s>Mouse freezing bug when click on TTabSheet (called TQtWidgetSet.SetCapture()), form can be killed by Alt+F4.
  '''Commited workaround''' until bugfix maded !</s> paul fixed. <br>
+
#*'''Commited workaround''' until bugfix maded !</s> paul fixed. <br>
11. GetScrollInfo() , SetScrollInfo() needs to be rewritten.<br>
+
#GetScrollInfo() , SetScrollInfo() needs to be rewritten.<br>
 
+
#Make VirtualTree fully useable with qt lcl.
 
 
'''TODO Geometry problems & layouts'''
 
 
 
<s>1. We'll use contentsRect() for GetClientRect() and geometry() for GetClientBounds(), helped with OffsetRect().
 
  Currently tested on FC3 & FC4, WinXP pro with res 1280x1024 , 96dpi. Looks good.</s>
 
<s>2. QLayout's & FCentralWidget have to be removed from TQtGroupBox, let lcl calculate positions of controls, since QLayout is messed up with LCL's calculations, so we get messed up positions of eg CheckBoxes inside TCheckGroup. <br></s>
 
  Tested on FC3 & FC4, WinXP pro, looks good without FCentralWidget & Layout.
 
<s>3. MDI should be moved to default pos & realigned in ShowHide().
 
  Without changes in GetClientRect() and GetBoundsRect() MDI child controls are messed up, others work ok.</s><br>
 
4. Study QRect about -1 Right and -1 Bottom (as Qt docs says "it's there for historical reasons"). <br>
 
5. Lines of TStringGrid have +1 pixel more than it should be ?!? <br>
 
<s>6. TStatusBar patch for linux , should be for windows too (TStatusBar is messed up on winXP also).</s><br>
 
<s>7. Remove at all scrollBar's creation for TCustomForms if visible = false in SetScrollInfo() </s><br>
 
<s>8. We have to use QRegion_translate() for TGraphicControls eg. TSpeedButton. </s><br>
 
'''SOLUTION'''
 
  <s>This is mainly fixed at my svn copy, but one must make heavy tests against this code.
 
  All offset problems comes from FCentralWidget & QMainWindow_setMenuBar.
 
  When I remove both, then all offsets are OK.
 
  Problem: QMenuBar doesn't follow QMainWindow resizing.</s> <br>
 
  Fixed as of r11616.
 

Revision as of 21:19, 4 August 2007

This is my page ? ;) Hi I'm Zeljan Rikalo (everybody calls me Zeljko), currently trying to finish qt4 interface for lazarus. Any feedback about qt-lcl from linux,win32 or mac is welcome (patches also). All about Qt interface you can find at


NEWS
I'm on vacation from 06.08.2007-16.08.2007 with limited internet access, only e-mails accepted.

My TODO list

  1. Implement more winapi functions.
  2. Get SynEdit useable with Qt.
  3. Finally, make IDE useable.
    • Alpha status, compileable, works , but yet far away for serious usage
  4. TPrinterSetupDialog.
  5. Implement missing routines for various controls.
  6. lazarus bugs:
  7. TStatusBar bug: It's invisible, until we resize form for the first time.
    • Commited workaround in TQtWSStatusBar.ShowHide(), works but doesn't smell good.
  8. Mouse freezing bug when click on TTabSheet (called TQtWidgetSet.SetCapture()), form can be killed by Alt+F4.
    • Commited workaround until bugfix maded ! paul fixed.
  9. GetScrollInfo() , SetScrollInfo() needs to be rewritten.
  10. Make VirtualTree fully useable with qt lcl.