Log of /trunk/graf2d/qt/src/TQtBrush.cxx
Parent Directory
Revision
30386 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 23 19:06:28 2009 UTC (5 years, 4 months ago) by
brun
File length: 12055 byte(s)
Diff to
previous 28837
From Valeri Fine:
TGQt class:
- Introduce the new TQtTextProxy abstract interface to allow the end
user
to provide his/her own custom text handler if needed.
The "default" behavior - no TQtTextProxy is used.
- Two new methods to query the current Qt font properties:
Int_t TGQt::GetFontAscent() const
Int_t TGQt::GetFontDescent() const
TQrMarker class:
- ROOT marker rendering implementation has been moved
from TGQt to TQtMaker class
TQtSymbolCodec:
- clean up comments; remove Qt3 CPP flags.
TQtPen:
- re-implement TAttLine interface.
Add default copy ctor and "operator="
TQtBrush:
- add TAttFill interface.
TQtSymbolCodec
- add TAttFill interface
TQtWidget
- add the refresh timer to get rid of the redundant rendering.
Revision
28820 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jun 5 06:16:09 2009 UTC (5 years, 7 months ago) by
brun
File length: 11243 byte(s)
Diff to
previous 28205
From Valeri fine:
TGQt.cxx, TQtBrush, TQtWidget:
- remove the redundant Qt3 legacy code, optimize Qt 4.x rendering
- remove redundant Win32 CPP flags
- Provide workaround of Qt 4.5 bug "mouseMoveEvent"
(The bug was reported and registered by Nokia as "task # 255219")
TQtPadFont.cxx:
Initialize the fTextSize base class data-member.
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: 10527 byte(s)
Diff to
previous 27993
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
27993 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Mar 30 16:26:02 2009 UTC (5 years, 9 months ago) by
brun
File length: 10510 byte(s)
Diff to
previous 25206
From Valeri Fine:
TQtRootSlot.cxx
- invoke gProcessLine(".q") to terminate ROOT session smoothly
TQtPadFont.cxx
- improve the font size calibration.
- re-initialize the TAttText::fTextFont data-member.
- remove Qt3 CPP flag
TQtBrush.cxx
- remove Qt3 and Win32 CPP flags
TQtWidget.cxx:
- respect Qt4 QWidget::contextMenuPolicy flag.
- remove Qt3 CPP flag and redundant code
inc/rootcint.pri:
- Add "_CRT_SECURE_NO_WARNINGS" CPP flag for win32 to suppress the
annoying warning messages
Revision
25206 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 22 08:18:13 2008 UTC (6 years, 5 months ago) by
brun
File length: 10765 byte(s)
Diff to
previous 24506
From Valeri Fine:
This is the major patch because as soon as it is applied one can not
build the QtRoot package against Qt3 anymore. This allows to resolve
some Qt4 outstanding issues:
- TGQt class:
move the font and the line attributes handling to the separated
dedicated C++ classes, namely TQtPen and TQtFont.
Fix the race condition that leaded under certain circumstances
to 100% CPU consumption under Qt4
- new class TQtPen - to handle the line drawing ROOT attributes.
- TQtFont - correctly adjust the Qt fonts scale to
the ROOT requirements
- Improve performance of the TCanvas double buffering option
- TQtBrush - implement the ROOT transparent brush style
- TQtClientWidget - fix some background color issues
(some work still needed)
- TQtWidget - use the Qt4 "redirect" painting option to handle the
ROOT double buffering. Eliminate the confusing X11 run-time error
messages at ROOT startup.
Revision
24506 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jun 24 09:16:30 2008 UTC (6 years, 7 months ago) by
brun
File length: 10196 byte(s)
Diff to
previous 23140
From Valeri fine:
1. New class TQtPadFont, TGQt:
- Move the Qt font operations from the TGQt class to the new dedicated TQtPadFont
2. TQtBrush, TGQt
- No need for the special Win32 case for Qt4 to manage the ROOT fill styles
3. TQtRConfig.h
- Adjust CPP flags to built Qt layer on Mac OS with X11 version of Qt4
4. TQtWidget
- Remove the clash with Qt4 shared lib name. It fixes the ROOT context menu issue.
- Fix the logical expression bug
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: 10129 byte(s)
Diff to
previous 20882
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
15222 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue May 30 07:06:51 2006 UTC (8 years, 7 months ago) by
antcheva
Original Path:
trunk/qt/src/TQtBrush.cxx
File length: 10193 byte(s)
Diff to
previous 14410
From Valeri Fine:
TGQt.cxx,GQtGUI.cxx, TGQt.h:
- protection: SetDynamicPath caused SegFault on Win32
- Add "const" to some methods as needed
- Activate setCompositionMode for Qt 4.1.2
- Add Getter/Setter for the alpha channel with Qt 4.1.2
TQtClientGuard.cxx:
- Compilation warning with Qt 4.1.2
TQtBrsuh:
- Add "const" to some methods as needed
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/TQtBrush.cxx
File length: 10183 byte(s)
Diff to
previous 12307
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
12307 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 13 20:10:12 2005 UTC (9 years, 6 months ago) by
brun
Original Path:
trunk/qt/src/TQtBrush.cxx
File length: 10011 byte(s)
Diff to
previous 12270
From Valeri Fine:
1. Restores the hatch style pattern been changed with the previous
patch.
2. Provides the real fix of the 2 problems reported by Bruno
2.1. Inverse order of the background/foreground pixels.
2.2. Non-transparent background of the hatched styles.
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/TQtBrush.cxx
File length: 10036 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/TQtBrush.cxx
File length: 9709 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/TQtBrush.cxx
File length: 9916 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.