[root] / trunk / graf2d / qt / src / TQtClientFilter.cxx Repository:
ViewVC logotype

Log of /trunk/graf2d/qt/src/TQtClientFilter.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 42700 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 18 14:33:18 2012 UTC (3 years ago) by rdm
File length: 39257 byte(s)
Diff to previous 35879
fix warnings.

Revision 35879 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 30 08:31:47 2010 UTC (4 years, 3 months ago) by brun
File length: 39307 byte(s)
Diff to previous 35478
Fix memory leak. coverity CID 12215

Revision 35478 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 20 18:25:34 2010 UTC (4 years, 4 months ago) by brun
File length: 39285 byte(s)
Diff to previous 33707
Replace strncpy by strlcpy

Revision 33707 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 2 06:27:34 2010 UTC (4 years, 7 months ago) by brun
File length: 39285 byte(s)
Diff to previous 32141
From Valeri Fine:
-  new Qt slot EndOfLine to connect gInterpreter->EndOfLineAction()  
   with the Qt signals 
   (TQtRootSlot)
  
-  High contrast ROOT markers (To address some RootForum issues  )
   (TGQt, TQtMarker)
   
-  Add the default implementation of TVirtualX::SupportsExtension
interface
   (TGQt)
  
-  Introduce the new pure TQtCanvasPainter abstract interface 
   to use Qt graphics to decorate  ROOT TCanvas 
   (TQtWidget, TQtCanvasPainter )
    
-  fix the MacOS  build attributes
   ( rootcint.pri )
    
-  Keeping removing Qt3 CPP flags
   ( TQtClientWidget  )
   
- Remove the  #59014 / #65402 workarounds 
  ( TQtPadFont )

Revision 32141 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 28 16:42:30 2010 UTC (4 years, 11 months ago) by bellenot
File length: 39361 byte(s)
Diff to previous 28205
- Move several methods from the header to the source file to avoid accessing global static variables in inline getters and setters (does not work on Windows when the code using these inline functions is in different dlls)

Revision 28205 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 14 19:38:00 2009 UTC (5 years, 9 months ago) by brun
File length: 38115 byte(s)
Diff to previous 23251
From Valeri Fine:
New patch attempting to remove warnings and support for Qt3.
line, and those below, will be ignored--

M    graf2d/qt/src/TGQt.cxx
M    graf2d/qt/src/TQMimeTypes.cxx
M    graf2d/qt/src/TQtPadFont.cxx
M    graf2d/qt/src/TQtClientGuard.cxx
M    graf2d/qt/src/TQtSymbolCodec.cxx
M    graf2d/qt/src/TQtApplication.cxx
M    graf2d/qt/src/GQtGUI.cxx
M    graf2d/qt/src/TQtTimer.cxx
M    graf2d/qt/src/TQtEvent.cxx
M    graf2d/qt/src/TQtMarker.cxx
M    graf2d/qt/src/TQtPen.cxx
M    graf2d/qt/src/TQtClientWidget.cxx
M    graf2d/qt/src/TQtBrush.cxx
M    graf2d/qt/src/TQtWidget.cxx
M    graf2d/qt/src/TQtClientFilter.cxx
M    graf2d/qt/inc/TQtClientWidget.h
M    graf2d/qt/inc/TQtBrush.h
M    graf2d/qt/inc/TGQt.h
M    graf2d/qt/inc/TQtTimer.h
M    graf2d/qt/inc/TQtEvent.h
M    graf2d/qt/inc/TQtMarker.h
M    graf2d/qt/inc/TQtWidget.h
M    graf2d/qt/inc/TQtPadFont.h

Revision 23251 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 16 10:28:21 2008 UTC (6 years, 9 months ago) by antcheva
File length: 39193 byte(s)
Diff to previous 23140
From Valeri Fine:
Replace Q3Support classes with the “pureQt4 objects

Revision 23140 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 11 11:01:39 2008 UTC (6 years, 9 months ago) by rdm
File length: 38621 byte(s)
Diff to previous 21416
move the following directories to "graf2d":

asimage, freetype, gpad, graf, postscript, qt, win32gdk, x11, x11ttf

move the following directories to "graf3d":

eve, ftgl, g3d, gl, x3d

Revision 21416 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 17 14:24:58 2007 UTC (7 years, 1 month ago) by brun
Original Path: trunk/qt/src/TQtClientFilter.cxx
File length: 38621 byte(s)
Diff to previous 20882
From Valeri Fine:
- Added missing class header docs.

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/qt/src/TQtClientFilter.cxx
File length: 38306 byte(s)
Diff to previous 19826
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/qt/src/TQtClientFilter.cxx
File length: 38306 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/qt/src/TQtClientFilter.cxx
File length: 38364 byte(s)
Diff to previous 17739
remove :$ from tag line

Revision 17739 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 7 06:05:20 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/qt/src/TQtClientFilter.cxx
File length: 38374 byte(s)
Diff to previous 17190
From Valeri Fine:
-Remove obsolete code

Revision 17190 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 12 15:03:05 2006 UTC (8 years, 1 month ago) by brun
Original Path: trunk/qt/src/TQtClientFilter.cxx
File length: 38972 byte(s)
Diff to previous 15695
from  Christian Holm Christensen:
There's a missing `#include <cassert>' in the Qt code.
CVe: ----------------------------------------------------------------------

Revision 15695 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 5 07:04:16 2006 UTC (8 years, 6 months ago) by brun
Original Path: trunk/qt/src/TQtClientFilter.cxx
File length: 38958 byte(s)
Diff to previous 14410
From Valeri Fine:
- re-implement  TGQt::TVirtualX::GrabKey method via Qt QAccel class
   to make ROOT GUI keyboard navigation work properly.

Revision 14410 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 24 15:31:10 2006 UTC (8 years, 10 months ago) by antcheva
Original Path: trunk/qt/src/TQtClientFilter.cxx
File length: 38718 byte(s)
Diff to previous 13715
From Valeri Fine:
- removed redundand classes:
   TQtApplicationThread.h, TQtRootThread.h, TQtTermInputHandler.h,
   TQtThread.h, TQtThreadStub.h, TRootMainThread.h,
   TQtApplicationThread.cxx, TQtRootThread.cxx, TQtTermInputHandler.cxx,
   TQtThread.cxx, GQtGUIThread.cxx
- removed from the rest Qt code the statements related to the classes above
- added TQtLockGuard.h, TQtEmitter.h
- removed all WiN32 redundant dependencies
- added Qt4 CPP compilation flag for future transition to Qt4

TQtWidget - for "pure" Qt GUI application disable ROOT prompt, ROOT terminal
    input handler and CTRL-C signal handler "by default".
    To get the ROOT interactive command mode back the statement:
    "Gui.Prompt       true"
    should be present in the .rootrc file to enable the standard ROOT command mode option

Revision 13715 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 15 06:10:37 2005 UTC (9 years, 1 month ago) by brun
Original Path: trunk/qt/src/TQtClientFilter.cxx
File length: 37965 byte(s)
Diff to previous 13638
From Valeri Fine:
  Remove "inline" from the class implementation.
  It causes the "undefined symbol" on some platforms after O2 level
compilation.
  (Thanks Nikolay Malitsky)

Revision 13638 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 11 20:47:52 2005 UTC (9 years, 1 month ago) by brun
Original Path: trunk/qt/src/TQtClientFilter.cxx
File length: 37999 byte(s)
Diff to previous 13632
From Valeri Fine:
Some additional corrections

Revision 13632 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 11 10:51:39 2005 UTC (9 years, 1 month ago) by rdm
Original Path: trunk/qt/src/TQtClientFilter.cxx
File length: 38080 byte(s)
Diff to previous 13022
From Valeriy Fine:
Major clean up and the new implementation of the active
pointer grabbing to preserve the ROOT GUI design untouched.

Revision 13022 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 27 06:41:23 2005 UTC (9 years, 2 months ago) by brun
Original Path: trunk/qt/src/TQtClientFilter.cxx
File length: 26927 byte(s)
Diff to previous 12985
From Valeri:
rootlibs.pri, rootcintrule.pri
  -  Replace the "gmake" variable $(QMAKE_TARGET) with the "qmake"
variable $$TARGET to compile on Windows. (Workaround of Qt qmake Bug in
Windows)
  -  Restore the "LIBS"  qmake variable to compile on Windows

TQtClientGuard.cxx:
  - Remove the redundant operation

TQtClientFilter.cxx:
   Set the "closing" flag to generate the artificial "close" event

GQtGUI.cxx:
  - Generate the artificial kDestroyNotify ROOT event

TQtClientWidget.cxx:
   - Send the artificial ROOT kDestroyEvent

----------------------

These allow to resolve or improve:

- File Dialogs (Open and Save As) [4]

[17-Oct-05] Causes SegV if invoking several times via canvas File menu /
Open or File menu / SaveAs...

- Menu Widgets [5] [3-Oct-05]

Opening the "Save As" dialog, closing it, closing the canvas window on
the right upper cross and opening the same window canvas again causes a
SegV (not every time).

- Combo Box [6]

[17-Oct-05] Closing the window with a combo box by selecting "Close" on
the menu opened by clicking on the left upper corner of the window
displays the message:
QEvent::Close spontaneous 0:

[17-Oct-05] After opening the combo box list entries, closing the canvas
on the right upper corner cross leaves the popped up list entries open.
Selecting on entry after causes SegV


- List Box [9]

[17-Oct-05] Closing the window with a list box by selecting "Close" on
the menu    opened by clicking on the left upper corner of the window
displays the message:
QEvent::Close spontaneous 0:

Revision 12985 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 19 05:07:23 2005 UTC (9 years, 3 months ago) by brun
Original Path: trunk/qt/src/TQtClientFilter.cxx
File length: 26379 byte(s)
Diff to previous 12982
From Valeri:
restores the "QTCLOSE_DESTROY_RESPOND" option.

Revision 12982 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 18 20:32:53 2005 UTC (9 years, 3 months ago) by brun
Original Path: trunk/qt/src/TQtClientFilter.cxx
File length: 26246 byte(s)
Diff to previous 12981
From Valeri
Fix some compilation warnings

Revision 12981 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 18 18:53:42 2005 UTC (9 years, 3 months ago) by brun
Original Path: trunk/qt/src/TQtClientFilter.cxx
File length: 26198 byte(s)
Diff to previous 12956
From Valeri:
GQtGUI.cxx:
TQtClientFilter.cxx:

  - Optimize the "SendCloseMessage" event

TQtClientFilter.cxx:
   Add TQtLock thread synch mechanism

TQtClientGuard.cxx,
  - keep building the protection against of the ROOT GUI dead pointers
    (entails some performance degradation though)

rootcintrule:
   - Add the WIN32 rule to build the RootCint dictionary

TQtWidget.h:
TQtClientWidget.h:
  - Correction to compile on Windows

Revision 12956 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 14 05:11:03 2005 UTC (9 years, 3 months ago) by brun
Original Path: trunk/qt/src/TQtClientFilter.cxx
File length: 25795 byte(s)
Diff to previous 12499
From Valeri:
GQtGUI.cxx
  - Add some comments for the sake of the documentation.
    Remove the redundant code,

TQtClientFilter.cxx:

  - Add support for ROOT mouse wheel event.



This should resolve:

Combo Box [6] [3-Oct-05]
   The mouse wheel does not work to navigate on the combo box entries.
   Not implemented the mouse wheel (kButton4 & kButton5).

List Box [9] [3-Oct-05]
The mouse wheel does not work for list box entries navigation
Not implemented the mouse wheel (kButton4 & kButton5)

Revision 12499 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 17 20:08:37 2005 UTC (9 years, 5 months ago) by brun
Original Path: trunk/qt/src/TQtClientFilter.cxx
File length: 24423 byte(s)
Diff to previous 12272
From Valeri Fine:
   - TQtClientWidget.cxx, TQtClientFilter.cxx:
     An extra protection against a dead pointer of the grabbing widget

   - TQtClientGuard.cxx:
     Remove a redundant "disconnect" to improve the performance.

   - TGQt.cxx:
     Add Olivier's comment about the "fill area pattern convention"

   - TQtWidget.cxx:
     An extra protection against dead pointers in the ROOT GUI

     Extra ROOT env parameter "Gui.Prompt yes/no" to enable/disable
     RootCint prompt for Qt based ROOT application.

     Add an instantiation of TQLock class (CMS user demand)

   - rootcinrule.pri rootlibs.pri
     Fix typo: $QTROOTSYS should be $QTROOTSYSDIR

   - TQtWidget.h, TQtThread.h, TQtClientWidget.h, TQtClientFilter.h, TGQt.h
     Add CPP flags to facilitate the coming QT4 transition.

Revision 12272 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 7 06:06:05 2005 UTC (9 years, 6 months ago) by brun
Original Path: trunk/qt/src/TQtClientFilter.cxx
File length: 24291 byte(s)
Diff to previous 11592
From Valeri Fine:
This patch that fixes

  1. The "rotated string  wrong alignment issue" (reported by Bruno)
  2. The issue "Dead lock" reported earlier via ROOT Bug report.
  3. Compilation problem for Sun Solaris
  4. Compilation problem for MacOSX with gcc 4.0

Revision 11592 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 15 07:19:50 2005 UTC (9 years, 9 months ago) by brun
Original Path: trunk/qt/src/TQtClientFilter.cxx
File length: 24269 byte(s)
Diff to previous 11420
From Valeri Fine
- TQtApplication, TQRConfig
   Test the proper Qt package version.

- TGQt
  An extra protection against of the dead widgets

- TQtClientFilter, TQtClientWidget, GQtGUI

  Fix to manage the ROOT GUI keyboard navigation
  The issue is still open.
  In fact, the patch may cause some troubles due apparent
  clash between  ROOT (X11 style) GrabButton and GrabPointer and the way
  Qt internally handles the "FocusIn / FocusOut" events.

Revision 11420 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 24 07:16:02 2005 UTC (9 years, 10 months ago) by brun
Original Path: trunk/qt/src/TQtClientFilter.cxx
File length: 22234 byte(s)
Diff to previous 11261
From Valeri fine:
 TQtWidget:

   - Extra documentation about Qt signal /slot  available

TQtClientWidget
   - Fix the "grab button" implementation. This correction disables
   the Qt-based implementation of the X11 man page
   the "pointer is not grabbed" clause:

    //X11: ButtonPress event is reported if all of the following
    //    conditions are true:
    //   *    The pointer is not grabbed, and the specified button is
logically

     As result the scroll bar of the TGComboBox object  is properly
     grabbed (from the ROOT Gui point of view);


TGQt:
  - Some optimization
      use SetEraseColor method instead of setPaletteBackgroundColor

Revision 11261 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 8 05:48:55 2005 UTC (9 years, 10 months ago) by brun
Original Path: trunk/qt/src/TQtClientFilter.cxx
File length: 22189 byte(s)
Diff to previous 11206
From Valeri Fine:
More protections in several places (event queue in particular)

Revision 11206 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 1 07:24:01 2005 UTC (9 years, 10 months ago) by brun
Original Path: trunk/qt/src/TQtClientFilter.cxx
File length: 22179 byte(s)
Diff to previous 9604
From Valeri Fine:
version of Qt tailored to create RootCint dictionary
In addition there are a few corrections for
TGQt:
   - Remove the redundant TVirtualGL dependency
   - Qt font size calculation has been improved.
   - Env variable ROOTFONTFACTOR to facilitate the debugging of the font-size-related problem was added

TQtApplication:
   - Remove the redundant TQtApplicationThread dependency

Revision 9604 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 28 00:12:41 2004 UTC (10 years, 5 months ago) by rdm
Original Path: trunk/qt/src/TQtClientFilter.cxx
File length: 22017 byte(s)
Diff to previous 9471
update:
- use standard ROOT cvs tag line
- standard ROOT copyright notice + Valery Fine
- fixed several multiple inclusion ifdef's to use standard ROOT format
- added new Window_t argument to Warp() method. This method still
  needs to be implemented for Window_t != 0

Revision 9471 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Jul 9 09:21:24 2004 UTC (10 years, 6 months ago) by brun
Original Path: trunk/qt/src/TQtClientFilter.cxx
File length: 22064 byte(s)
Add a new package "qt". Developed by Valeri Fine (fine@bnl.gov), this new
package is an implementation of TVirtualX based on the Qt library from Trolltech AS, Norway.
The package is optional. When configuring ROOT, you can generate the libQtRoot
library by adding, eg
 --enable-qt \
 --with-qt-incdir=$QT/include \
 --with-qt-libdir=$QT/lib \
where $QT points to the directory where the Qt software has been installed.
The Qt version >= 3.1 is required for this interface.
The Qt package itself must have been compiled with the same compiler
and compiler options used to compile ROOT.

Once the $ROOTSYS/lib/libQtRoot.so (dll) library is created, one has
the possibility to select this library as an alternative to libGX11
by adding the following two lines in the local ".rootrc" file
  Gui.Backend:                qt
  Gui.Factory:                qt

The package has currently been tested on Linux only.
This first implementation may show some deficiencies compared to
the libGX11 default version.
Please report any problems with this version to
rootdev@root.cern.ch as well as fine@bnl.gov

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9