Log of /trunk/gui/gui/inc/TRootBrowserLite.h
Parent Directory
Revision
20516 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Oct 26 16:17:33 2007 UTC (7 years, 2 months ago) by
rdm
Original Path:
trunk/gui/inc/TRootBrowserLite.h
File length: 6758 byte(s)
Copied from:
branches/dev/bertrand/gui/inc/TRootBrowserLite.h revision 20514
Diff to
previous 20127
From Bertrand:
merged bertrand dev branch changes r20120:20514 into the trunk.
Main new feature is the new TBrowser. To turn it on by default
change the Browser.Name option in rootrc.
Here the detailed ChangeLog:
- Renamed TRootBrowser TRootBrowserLite
- Introduced the new class TRootBrowser, consisting of three
main tabs, as shown below:
______________
| | |
| | |
| |__________|
| | |
|___|__________|
All tabs can 'swallow' frames, thanks to the new method:
ExecPlugin(const char *name = 0, const char *fname = 0,
const char *cmd = 0, Int_t pos = kRight,
Int_t subpos = -1)
allowing to select plugins (can be a macro or a command)
to be executed, and where to embed the frame created by
the plugin. Examples:
// create a new browser:
TBrowser b;
// create a new TCanvas in a new top right tab element:
b.ExecPlugin("Canvas", 0, "new TCanvas()");
// creates a new top right tab element embedding the
// TGMainFrame created by the macro 'myMacro.C':
b.ExecPlugin("MyPlugin", "myMacro.C");
// creates a new bottom tab element embedding the
// TGMainFrame created by the macro 'myMacro.C':
b.ExecPlugin("MyPlugin", "myMacro.C", 0, TRootBrowser::kBottom);
- new class TGFileBrowser, a file browser plugin for the new TRootBrowser
- new class TGCommandPlugin, a command I/O plugin for the new TRootBrowser
- new class TGHtmlBrowser, a html browser plugin for the new TRootBrowser
- new TBrowserImp plugin used to load the selected TBrowser implementation
- the browser implementation can be selected via the env 'Browser.Name' in
.rootrc, (can be TRootBrowser or TRootBrowserLite) the default being
TRootBrowserLite
- a list of options (plugins) for the new TRootBrowser is also specified
via the env 'Browser.Options' in .rootrc, default being: FEHCI
Here is the list of available options:
F: File browser E: Text Editor H: HTML browser C: Canvas I: I/O
redirection P: Proof G: GL viewer
- modified TRootGuiFactory, used to create the real TBrowser
implementation.
Revision
13688 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 13 16:03:42 2005 UTC (9 years, 1 month ago) by
brun
Original Path:
trunk/gui/inc/TRootBrowser.h
File length: 6497 byte(s)
Diff to
previous 12658
From Valeriy Onoutchin
TBrowser, TRootBrowser:
- possiblity to edit and execute browsed macro in the
righgt pane of the browser added.
New toolbar buttons added (buttons appeared only when
ROOT macro is being browsed):
"Execute Macro", "Interrupt Macro", "Save Macro"
- default size of browser was increased on 25%
Revision
12658 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 5 14:21:53 2005 UTC (9 years, 4 months ago) by
rdm
Original Path:
trunk/gui/inc/TRootBrowser.h
File length: 6332 byte(s)
Diff to
previous 12518
from Bertrand:
add new check box feature to TGListTree widget. This option allows checkboxes
on the tree nodes to turn on/off pieces of the tree hierarchy. Used in the
ROOT browser to toggle visibility of geometries.
In TGListTree see for example the new methods:
void CheckItem(TGListTreeItem *item, Bool_t check = kTRUE);
void SetCheckBox(TGListTreeItem *item, Bool_t on = kTRUE);
void ToggleItem(TGListTreeItem *item);
void Checked(TObject *obj, Bool_t check); //*SIGNAL*
and the checkbox option in:
AddItem(..., Bool_t checkbox);
Revision
12518 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 19 09:46:37 2005 UTC (9 years, 5 months ago) by
rdm
Original Path:
trunk/gui/inc/TRootBrowser.h
File length: 6046 byte(s)
Diff to
previous 12247
From Ilka:
The attached patch fixes memory leaks caused by the method
TGMainFrame::SetIconPixmap following way:
- changed method signature to (the backward compatibility is kept)
const TGPicture *TGMainFrame::SetIconPixmap(const char *iconName);
- added new data members cost TGPicture* fIconPic for TRootCanvas,
TRootBrowser, TRootGuiBuilder classes that allow the icon picture to
be freed in the destructors
- code changes for fixing the memory leaks in TRootCanvas, TRootBrowser
and TRootGuiBuilder.
Revision
12247 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 5 12:36:07 2005 UTC (9 years, 6 months ago) by
brun
Original Path:
trunk/gui/inc/TRootBrowser.h
File length: 5984 byte(s)
Diff to
previous 11907
From valeriy Onuchin:
- new class TImagePlugin is introduced;
To add possibility to read/write new image format one needs to create
a derived class and to override two methods:
virtual unsigned char *ReadFile(const char *filename, UInt_t &w,UInt_t &h)
virtual Bool_t WriteFile(const char *filename, unsigned char *argb,
UInt_t w, UInt_t h)
... and to specify it in the root resource file:
Plugin.TImagePlugin: ps TASPluginGS ASPluginGS "TASPluginGS(const char*)"
the name of plugin file extension DLL containing an implementation of
TImagePlugin subclass
- new class TASImagePlugin that is a subclass of TImagePlugin with ASImage
specific implementations;
- new class TASPluginGS - an image plugin class that allows to create images from
PS/EPS/PDF files and to display them in TCanvas/TPad. In addition, it allows to
browse PS/EPS/PDF files with the ROOT browser.
New files:
asimage/inc/LinkDefGS.h
asimage/inc/TASImagePlugin.h
asimage/inc/TASPluginGS.h
asimage/src/TASPluginGS.cxx
graf/inc/TImagePlugin.h
icons/pdf.xpm
icons/tb_find.xpm
libAfterImage.tar.gz
- TROOT.h
o new data member fClipboard and corresponding getter GetClipboard();
TSeqCollection *fClipboard; //List of clipboard objects;
- TGFrame
o embedded frames resized correctly now.
- TGCanvas
o several useful methods made public
- TGListBox, TGComboBox
o new method FindEntry(const char *s) added which returns entry by name
- TGMdiMainFrame, TGMdiDecorFrame
o fix bug which changed text color globally
o add displaying scroll bars when mdi frame is moved out of mdi
canvas viewport
- TGTextEdit/TGView, guitest
o added processing of:
2-clicks - selects a word
3-clicks - selects a line
4-clicks - selects the whole text
o change the key handling
Ctrl-F - invokes Search dialog
Ctrl-L - invokes Goto line dialog
Correspondent changes added to guitest.C and guitest.cxx (TextEdit test)
o readonly mode added
- TGSearchDialog
o Text entry was replaced by "text entry" combobox. It allows to
"remember" a history of entered search strings.
o new static method TGSearchDialog *&gDialog() introduced. It returns
a global search dialog.
o Search method - display warning message box when object is not found
- TRootBrowser, mime.types
o possibility to browse PS/EPS/PDF fies added
o possibility to browse text files added. The content of text file
appears in "icon box" window (a la netscape)
o "Search" tool bar button added. It activates the "search dialog" for
searching a specified icon or text when a text file is browsed.
- TGuiBldEditor.
o fix bug which changed text color globally
Revision
11907 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon May 30 10:21:14 2005 UTC (9 years, 7 months ago) by
rdm
Original Path:
trunk/gui/inc/TRootBrowser.h
File length: 5674 byte(s)
Diff to
previous 11898
From Valeriy:
- TSystemFile. New methods Rename, Delete, Copy, Move added.
These methods can be invoked via ContextMenu (press right mouse button)
in ROOT browser.
- TRootBrowser. More improvments in browsing history navigation added.
Revision
11898 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri May 27 12:24:44 2005 UTC (9 years, 8 months ago) by
rdm
Original Path:
trunk/gui/inc/TRootBrowser.h
File length: 5624 byte(s)
Diff to
previous 11862
From Valeriy:
-TASImage:
o CreateThumbnail() - add more contrastness to generated thumbnails
o GetMask() - gVirtualX->CreateBitmap requires a width of input bitmap to be
even to 8 . This mod fixes the problem of XPM images reading.
- TGListView - more corrections in adjusting page position after
changing vew mode.
- TGPicture. Prblem with reading XPM files via TImage is fixed
(TASImage::GetMask) I removed platform dependent code.
- TRootBrowser
o minory mod in dynamic thumbnal generation
o possibility to navigate through "browsing history" added.
o 3 new buttons added to ROOT browser toolbar -
"Back", "Forward", "Refresh"
- root.mimes - minory mods.
Revision
11862 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue May 24 20:05:10 2005 UTC (9 years, 8 months ago) by
brun
Original Path:
trunk/gui/inc/TRootBrowser.h
File length: 5377 byte(s)
Diff to
previous 9945
From Valeriy Onuchin:
- root.mimes. Default actions changed for some image types (*.png, *.gif,
*.jpg etc.)
Drawing images in canvas is better than drawing it as TGPictureButton.
Image drawn in canvas can be processed via context menu, scaled, resized
etc.
- TPad::Print - roll-back recent changes in GIF saving. Use again
TVirtualX::WriteGIF
method for saving GIF files which produces much smaller files.
BTW, the patent on LZW compression was expired july 2004. So, making
GIF is now legal.
- TGMimeTypes - fix nasty typo-bug in GetIcon method. The effect of the
bug was appeared as
no large icons were displayed for qq.png, qq.gif etc. files types.
- TGPicture - minory mods
- TGFileContainer::GetFilePictures - optimised for speed. To test a gain
in performance -
run TBrowser on slow computer and open up $ROOTSYS/icons directory.
New data member TGFileContainer::fCachePictures was added which allows
to switch on/off this mechanism.
- TRootBrowser. Weired "refresh behavior" was fixed - when some macro was
browsed/executed and then canvas was deleted, browser's icon box was
refreshed and
currrent "page position" was changed to the most upper one.
Now page position remains on the same place.
- Refresh TBrowser on F5 pressed action added.
- TGLVEntry - SetPictures method added, whic allows to change list view
entry pictures dynamically.
- TSystemFile. SetIconName, GetIconName methods addd
Revision
9945 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 8 08:13:11 2004 UTC (10 years, 4 months ago) by
brun
Original Path:
trunk/gui/inc/TRootBrowser.h
File length: 5331 byte(s)
Diff to
previous 9415
From Valeriy Onuchin:
- provide default constructors for most TGxxx classes.
The goal:
1. required for guibuilder
2. providing ROOT I/O for GUI classes.
In all default constructors parent window is NULL,
that means that parent window is currently editted window.
Revision
8147 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat Feb 7 10:42:19 2004 UTC (10 years, 11 months ago) by
brun
Original Path:
trunk/gui/inc/TRootBrowser.h
File length: 5084 byte(s)
Diff to
previous 7415
From Valeriy Onuchin:
- console corruption problem under win32gdk (after stdout redirection) is solved
- I reverted all my mods in cint/src/pause.c
- GetMenuBar(), GetToolBar() methods added to TRootBrowser
which would be usefull for embedded browser. i.e. hiding tool,menu bars
Revision
7415 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Oct 8 09:50:47 2003 UTC (11 years, 3 months ago) by
brun
Original Path:
trunk/gui/inc/TRootBrowser.h
File length: 4956 byte(s)
Diff to
previous 7408
From valeriy Onuchin:
Add possibility to put a progress bar into a status bar.
Deriving TGStatusBarPart from TGCompositeFrame
allows to do it.
- Derive TGStatusBarPart from TGCompositeFrame
- Add getters returning TGStatusBar to TRootBrowser,TRootCanvas
- Add getter returning TGStatusBarPart to TGStatusBar
Example:
TBrowser b;
TRootBrowser *imp= (TRootBrowser*)b.GetBrowserImp();
TGStatusBar *bar = imp->GetStatusBar();
TGCompositeFrame *part = bar->GetBarPart(1);
TGHProgressBar *hb = new TGHProgressBar(part, 300);
hb->Move(300,0);
part->MapSubwindows();
Revision
5923 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Jan 16 17:57:37 2003 UTC (12 years ago) by
rdm
Original Path:
trunk/gui/inc/TRootBrowser.h
File length: 4711 byte(s)
Diff to
previous 5620
Two changes in TRootBrowser:
1. two signals added to TRootBrowser class
void BrowseObj(TObject *obj); //*SIGNAL*
void ExecuteDefaultAction(TObject *obj); //*SIGNAL*
2. few data members of TRootBrowser made protected, so one can
gain access to these methods via a derived class.
How to use it?
TBrowser *b;
TRootBrowser *imp = (TRoorBrowser*)b->GetBrowserImp();
imp->Connect("BrowseObj(TObject*)", ...
imp->Connect("ExecuteDefaultAction(TObject*)", ...
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.