Log of /trunk/gui/gui/src/TRootContextMenu.cxx
Parent Directory
Revision
43276 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 7 17:13:42 2012 UTC (2 years, 10 months ago) by
pcanal
File length: 28102 byte(s)
Diff to
previous 42641
Coverity number 35355,35805,35666,35708,35511,35782,35782,35642,35787,35796,35653,35806,35667,
35670,35809,35810,35671,35673,35812,35688,35283,35824,35689,35825,35690,35691,35826,35827,35692,
35635,35636,35275
about missing operator= and/or copy constructors.
Revision
41724 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 2 15:41:09 2011 UTC (3 years, 2 months ago) by
bellenot
File length: 28027 byte(s)
Diff to
previous 41232
Add mouse event handling in TRootContextmenu. This should solve an issue with context menus being being stuck when embedding canvases in external GUI frameworks (e.g. gtk, Qt, ...) - on Linux only.
Revision
28279 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Apr 20 13:19:15 2009 UTC (5 years, 9 months ago) by
bellenot
File length: 27136 byte(s)
Diff to
previous 28270
When creating the dialog from the context menu, skip arguments that are pointers (but not char *) and have a default value set to 0
Revision
27999 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Mar 31 08:09:46 2009 UTC (5 years, 9 months ago) by
bellenot
File length: 23532 byte(s)
Diff to
previous 27157
Implemented online help in root dialogs (the dialog boxes used with contextual menus) via a new "Online Help" button.
This opens a Root HTML browser at the right class/method location in the Root reference guide on the web
The base url can be changed with the Browser.StartUrl option in system.rootrc (by default: http://root.cern.ch/root/html/ClassIndex.html)
Revision
22068 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Feb 8 14:45:50 2008 UTC (6 years, 11 months ago) by
antcheva
Original Path:
trunk/gui/src/TRootContextMenu.cxx
File length: 22059 byte(s)
Diff to
previous 20882
From Mathieu de Naurois:
Changes in the TRootContextMenu that allow creation of multilevel cascaded
menus by using the following syntax:
// *MENU={Hierarchy="Level0/Level1/Level2/Name"}*
// *SUBMENU={Hierarchy="Level0/Level1/Level2/Name"}*
// *TOGGLE={Hierarchy="Level0/Level1/Level2/Name"}*
This improvement allows to reduce the long context menus by grouping related
menu items in a sub-menu and have fully customizable appearance.
Revision
14698 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 13 15:32:35 2006 UTC (8 years, 9 months ago) by
brun
Original Path:
trunk/gui/src/TRootContextMenu.cxx
File length: 16409 byte(s)
Diff to
previous 12656
From Valeriy Onuchin:
- TGWindow
o kEditDisableBtnEnable - bit intoduced, which says
"window cannot be edited but can handle mouse button events".
Typical usage is buttons in complex widgets like
buttons in scroll bar, tab elements in TGTab etc.
- TGFrame
o SetBgndColor(const char *hexvalue) method is introduced.
This method allows to set frame background color as
hexvalue e.g. "#0c0c0c", or by color name "white", "blue" etc.
This method was added to guibuilder context menu.
- TGCompositeFrame
o TGLayoutManager *GetLayoutManager() const.
void SetLayoutManager(TGLayoutManager *l) made virtual.
That hepled to fix bugs #15, #16 fronm guibuilder bugs list.
o SetBgndColor(const char *hexvalue) is overloaded in order
to set background color for all subframes.
- TGListBox. Few methods added to context menu.
o New method NewEntry(const char *s = "Entry") -
creates new entry placed next to selected entry.
o void RemoveEntry(Int_t id = -1) - remove selected
entry/entries from listbox
o void SetBgndColor(const char *color) - overloaded to
set background color for list box entries.
o void SetMultipleSelections(Bool_t) - toggle on/off
multiple selection
o TGListBox widget was added to guibuilder widgte palette.
- TGMenu.
o new method was introduced: CheckEntryByData(void *user_data)
It allows to check/uncheck menu entry by specifying
user data associated with entry.
- TGNumberEntry. Few methods added as submemu of context menu
of guibuilder. That greatly simplifies paremeter selection.
o Set fixed height for guibuilding.
- TGScrollBars, TGSliders. Fix height for horizontal bar/slider,
fix width for vertical bar/slider when it is resized during
guibuilding.
- TGTextEntry.
o Several context menu methods are now selected via context
submenu.
o Set fixed height for guibuilding.
- TGComboBox. Changes made in order add
TGComboBox widget to guibuilder.
Revision
12101 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jun 21 17:09:26 2005 UTC (9 years, 7 months ago) by
brun
Original Path:
trunk/gui/src/TRootContextMenu.cxx
File length: 16319 byte(s)
Diff to
previous 11458
From Valeriy and Ilka:
The last patch of Valeriy with some additional comments by Ilka:
- TVirtualX/TGWin32/TGWin32VirtualXProxy, TGQt new methods added
o unsigned char *GetColorBits(Drawable_t wid, Int_t x, Int_t y, UInt_t w, U
Int_t h)rns an array of pixels created from a part of drawable (defined by x, y,
w, h)n format: b1, g1, r1, 0, b2, g2, r2, 0 ... bn, gn, rn, 0 ..
Pixels are numbered from left to right and from top to bottom.
By default all pixels from the whole drawable are returned.
Note that return array is 32-bit aligned
o Pixmap_t CreatePixmapFromData(unsigned char * bits, UInt_t width, UInt_t h
eight)create pixmap from RGB data. RGB data is in format :
b1, g1, r1, 0, b2, g2, r2, 0 ... bn, gn, rn, 0 ..
Pixels are numbered from left to right and from top to bottom.
Note that data must be 32-bit aligned
- TGQt (*provided changes do not work; I cannot run rose_image.C tutorials under
tRoot because of SegV in:
#3 0x0114172a in TGQt::GetWindowID (this=0xa1a2ab8, id=4)
at qt/src/GQtGUI.cxx:507
#4 0x01b56914 in TASImage::Paint (this=0xaa80d68, option=0xac85d1c "xxx")
at asimage/src/TASImage.cxx:1047
#5 0x02ddc948 in TPad::PaintModified (this=0xacb85d8)
at gpad/src/TPad.cxx:2396
#6 0x02ddc834 in TPad::PaintModified (this=0xac1f108)
at gpad/src/TPad.cxx:2381
#7 0x02db7cdb in TCanvas::Update (this=0xac1f108)
at gpad/src/TCanvas.cxx:1858
*
TGQt::GetWindowID (this=0xa1a2ab8, id=4) at qt/src/GQtGUI.cxx:507
o corrected an implementation of "Window_t TGQt::GetWindowID(Int_t id)"
That allows to run rose_image.C tutorials under QtRoot
o implemented TGQt::GetCurrentWindow()
That allows to save canvas/pad in in image formats by using TASImage cl
- TImage/TASImage:
o new method added PaintImage(Drawable_t wid, Int_t x, Int_t y) which allows t
o the Draw option which allows to expand image to the pad size was renamed fro
o new Draw/Paint option added - if "z" is specified an image palette is drawn
o TAttImage: SetPaletteEnabled/IsPaletteEnabled introduced - which allows to s
o image convertion to gray is now "toggable"
o new method :PaintImage(Drawable_t wid, Int_t x, Int_t y) introduced which al
- tutorials/galaxy_image.C. Unnecessary "img->SetName("n4254"); was removed
- TPad::Print - remove QtRoot specific code
- TToggle - "sanity" check added
- TGPicture.cxx - *added QtRoot specific code by gVirtualX->InheritsFrom("TGQt")
Revision
4051 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Feb 21 15:40:08 2002 UTC (12 years, 11 months ago) by
rdm
Original Path:
trunk/gui/src/TRootContextMenu.cxx
File length: 12233 byte(s)
Diff to
previous 3
added TClass argument to TDataMember::SetterMethod() and GetterMethod().
This class argument is the class of the object that will be used to call
the TMethodCall. This fixes a problem that all toggle menu items in an
automatic context menu failed if the method was in a multiple-inherited
base class.
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.