Log of /trunk/gui/gui/src/TGMdiMainFrame.cxx
Parent Directory
Revision
44507 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Jun 4 12:30:41 2012 UTC (2 years, 7 months ago) by
axel
File length: 43027 byte(s)
Diff to
previous 40531
Remove
using namespace std;
from Riostream.h, which has huge consequences for all of ROOT.
Riostream.h is now a simple wrapper for fstream, iostream, iomanip for backward compatibility; Riosfwd.h simply wraps iosfwd.
Because of templates and their inline functions, Riostream.h needed to be included in headers, too (e.g. TParameter.h), which violated the assumption that Riostream.h is not exposing its using namespace std to headers.
ROOT now requires R__ANSISTREAM, R__SSTREAM, which does not change the set of supported compilers.
Without "using namespace std", several identifiers are now prefixed by std::; e.g. roofit/* source files now have a using namespace std to keep their coding style.
TFile::MakeProject() now generates "using namespace std" to convert the CINT-style class names into C++ ones.
Revision
33938 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jun 16 09:35:52 2010 UTC (4 years, 7 months ago) by
bellenot
File length: 42031 byte(s)
Diff to
previous 33935
TGButton.cxx: Fix uninitialized scalar variable (coverity)
TGMdiMainFrame.cxx: Remove unused code (unused pointer value reported by coverity)
Revision
31669 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 8 15:15:47 2009 UTC (5 years, 1 month ago) by
bellenot
File length: 42044 byte(s)
Diff to
previous 23115
- Add missing initializations (coverity)
- Fix potential memory leaks (coverity)
- Add protections against possible NULL pointers (coverity)
Revision
15672 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Jul 3 16:10:46 2006 UTC (8 years, 6 months ago) by
brun
Original Path:
trunk/gui/src/TGMdiMainFrame.cxx
File length: 42038 byte(s)
Diff to
previous 14998
from Axel:
Change the signature of SavePrimitive from
void SavePrimitive(ofstream &out, Option_t *option);
to
void SavePrimitive(ostream &out, Option_t *option = "");
With this change one can do, eg
myhist.SavePrimitive(std::cout);
WARNING: do rm -f tree/src/*.o
Revision
13292 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Nov 21 00:25:38 2005 UTC (9 years, 2 months ago) by
rdm
Original Path:
trunk/gui/src/TGMdiMainFrame.cxx
File length: 40556 byte(s)
Diff to
previous 12247
From Bertrand:
- added comments in TGMdi classes.
- added comments in TGColorSelect and TGColorDialog classes.
- added comments in TGFontDialog classes.
- changes in all these classes to make rulechecker happy.
- added a new member / option in TGListTree allowing to disable
item opening on doubleclick.
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/src/TGMdiMainFrame.cxx
File length: 38831 byte(s)
Diff to
previous 10904
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
10904 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jan 12 18:39:30 2005 UTC (10 years ago) by
brun
Original Path:
trunk/gui/src/TGMdiMainFrame.cxx
File length: 38691 byte(s)
Diff to
previous 10743
From Valeriy Onuchin:
- new concept of "pseudo-window" introduced.
pseudo-window - is an object inherited from TGWindow which
is not created by window system (X11 or M$ Windows).
It does not consume window system resouces.
The main use-case of pseudo-windows is GUI containers
with very large number of items. For example, listviews, listboxes,
where listview/listbox items/entries are pseudo-windows.
Pseudo-window has "window id" equal to zero.
In order to "activate pseudo-window concept" the parent should
have fIsMapSubwindows dat member to be kFALSE.
So, it's backward compatible, setting fIsMapSubwindows=kTRUE in parent window
will activate normal behavior, i.e. will be created in window system.
Introduction of "pseudo-window concept" forced the changes in
TGX11, TGWin32 classes to avoid TVirtualX methods execution when
"window id" is NULL (the case of pseudo-window).
Introduction of pseudo-windows which do not consume window system resouces
greately improved performance of TGListView, TGListBox, TGComboBox objects.
Now it's possible to have these containers with more than 10000 items.
- some optimization in TGLBContainer drawing
- add SetWindowName to most GUI classes. It's very usefull for GUI debugging.
Revision
10743 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Dec 9 22:55:06 2004 UTC (10 years, 1 month ago) by
brun
Original Path:
trunk/gui/src/TGMdiMainFrame.cxx
File length: 38671 byte(s)
Diff to
previous 10742
From Valeriy Onuchin:
- TRootGuiBuilder,TGuiBldDragManager - more mods to make GuiBuilder
re-entrant.
That allows to create, close ROOT GuiBuilder during single ROOT session.
- TGMdiMainFrame - made methods virtual.
CloseAll method added , which allows to close all opened mdi frames.
- TGMdiDecorFrame - mods for hierarchical cleaning.
Revision
10742 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Dec 9 17:05:41 2004 UTC (10 years, 1 month ago) by
brun
Original Path:
trunk/gui/src/TGMdiMainFrame.cxx
File length: 38304 byte(s)
Diff to
previous 10414
From valeriy Onuchin:
- TGMdiMainFrame. Prevent double freeing of "current font".
- TRootGuiBuilder, TGuiBldDragManager fix for segv. occured after
creation, closing ROOT Gui Builder several times
- TGLBEntry - do not register window in fClient window list, because list box entries
(like list view entries) are "virtual frames". That's speedup performance
with large nummber of entries, e.g. 100000.
Revision
10414 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 26 09:39:23 2004 UTC (10 years, 3 months ago) by
rdm
Original Path:
trunk/gui/src/TGMdiMainFrame.cxx
File length: 38286 byte(s)
Diff to
previous 10402
From Valeriy:
- Disable editting GuiBuilder popup menus. That fixes undesirable effect
discribed by Ilka "2-click on the main frame-->Window menu/Cascade-->click
on the main frame title Properties tab shows the popup menu frame21
as selected one".
- Fix handling hot keys in GuiBuilder menu bar, menus, e.g. Alt-F, Alt-W.
- TGMdiMainFrame::SetCurrent(TGMdiFrame*) signal added, which
emittied when mdi frame is chosen/map_raised by mouse clicking on mdi title.
That allows to fix an effect discribed by Ilka
"Click on a main frame title bar does not make this frame selected".
- Fix "Ctrl-O" handling in GuiBuilder. Previously it had "Save As" dialog
title instead of "Open ..".
- Forbid Ctrl-S handling if there is no active mdi frame. That fixes an
segv. violation discribed by Ilka when one wants to "SaveAs" GuiBuilder
itself.
- Fix name clashes when TRootEmbeddedCanvas saved. It was discovered
when Cut&Paste embedded canvases during gui building.
Revision
10402 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 25 12:06:50 2004 UTC (10 years, 3 months ago) by
rdm
Original Path:
trunk/gui/src/TGMdiMainFrame.cxx
File length: 37940 byte(s)
Diff to
previous 10125
From Valeriy:
- TGFrame::MustCleanup now returns Int_t value (was Bool_t).
Backward compatible.
- Int_t TGWindow::MustCleanup method added.
- TGTextButton dtor. Checking added. If kDeepCleanup is on call
of GetMainFrame() gave segv.
- in TGMainFrame handing Ctrl-S it was not possible to save macro
in other directory than the current.
- The same fix as above for ROOT GuiBuilder. Thanks to
Christian Stratova for reporting it.
- TGMdiDecorFrame now using hierarchical cleaning. That fixes
many memory leaks and improves robustness of GuiBuilder.
- TRootCanvas/TRootEmbeddedCanvas - disable swithching to
editable mode (canvas became black after that) for container frame.
- Gui Builder highlights any plain composite frame under pointer.
Protection added that highlighted frame exists and is a ROOT frame.
- improvements in TGuiBldQuickHandler. Sometimes it gave segv.
Revision
10103 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 20 14:28:12 2004 UTC (10 years, 4 months ago) by
brun
Original Path:
trunk/gui/src/TGMdiMainFrame.cxx
File length: 37835 byte(s)
Diff to
previous 10056
From Valeriy Onuchin:
- remove AddInput(kButtonPressMask); from TGMainFrame constructor.
- do not call ((TGMainFrame *)((TGMdiMainFrame *)fMdiWin)->GetMainFrame())->Layout();
when button pressed in TGMdiTitleFrame. That generates segv.
while running GuiBuilder. This is quick fix. I'll try to find solution later.
- TGMdiMainFrame::RemoveMdiFrame(TGMdiFrame *frame) use ID
of removed frame in SendMessage and FrameClosed signal
Revision
9972 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 10 14:00:40 2004 UTC (10 years, 4 months ago) by
brun
Original Path:
trunk/gui/src/TGMdiMainFrame.cxx
File length: 37830 byte(s)
Diff to
previous 9954
From Ilka:
Implementation of SavePrimitive for all MDI classes.
In addition:
- setting of new x,y coordinates in TGMdiFrame::Move method;
- fMdiHints was not initialized in the TGMdiFrame ctor
- new data member TGMdiMainFrame::fArrangementMode for saving the
selected arrangement mode
- included a getter: GetMenuBar() in TGMdiMenuBar
Revision
9954 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 8 16:03:57 2004 UTC (10 years, 4 months ago) by
brun
Original Path:
trunk/gui/src/TGMdiMainFrame.cxx
File length: 36077 byte(s)
Diff to
previous 9903
From Valeriy Onuchin:
- two classes introduced TVirtualDragManager, TVirtualGuiBld
- TGWindow
o move some TGFrame methods to here
o fEditDisabled data member and setter/getter methods introduced
That allows to disable switch to edit mode
- TGFrame, TGCompositeFrame
o new data members introduced and correspondent setter/getters
UInt_t fMinWidth; // minimal frame width
UInt_t fMinHeight; // minimal frame height
UInt_t fMaxWidth; // maximal frame width
UInt_t fMaxHeight; // maximal frame height
Correction to layout under development.
o fCleanup data member is renamed to fMustCleanup (to avoid name clashes)
o methods required for handling drag and drop as weel for guibuilding added, i.e.
HandleDragEnter, HandleDragLeave, HandleDragMotion, HandleDragDrop etc.
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.