[root] / trunk / gui / gui / src / TGStatusBar.cxx Repository:
ViewVC logotype

Log of /trunk/gui/gui/src/TGStatusBar.cxx

Parent Directory Parent Directory


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

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: 13921 byte(s)
Diff to previous 35582
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 35582 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 22 13:38:27 2010 UTC (4 years, 4 months ago) by bellenot
File length: 13861 byte(s)
Diff to previous 26691
Add the "keep_names" option when saving the GUI source, to allow the users to change the name of any frame in the ROOT Gui Builder and more important to keep it across the different load/edit/save cycles. This should solve a problem reported on the forum at: http://root.cern.ch/phpBB3//viewtopic.php?f=3&t=11216

Revision 26691 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 6 10:53:34 2008 UTC (6 years, 1 month ago) by bellenot
File length: 13732 byte(s)
Diff to previous 23115
From Matevz:
- Distribute small remaining space among all windows.
- Comment out debug printout.

Revision 23115 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 10 13:35:37 2008 UTC (6 years, 9 months ago) by rdm
File length: 13342 byte(s)
Copied from: trunk/gui/src/TGStatusBar.cxx revision 23114
Diff to previous 20882
moved to directory "gui" the following directories:

fitpanel, ged, gui, guibuilder, guihtml, qtgsi, qtroot, sessionviewer

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/gui/src/TGStatusBar.cxx
File length: 13342 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/gui/src/TGStatusBar.cxx
File length: 13342 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/gui/src/TGStatusBar.cxx
File length: 13400 byte(s)
Diff to previous 17619
remove :$ from tag line

Revision 17619 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 1 16:00:28 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/gui/src/TGStatusBar.cxx
File length: 13410 byte(s)
Diff to previous 16317
Add missing include TList.h

Revision 16317 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 25 08:26:42 2006 UTC (8 years, 4 months ago) by antcheva
Original Path: trunk/gui/src/TGStatusBar.cxx
File length: 13386 byte(s)
Diff to previous 15849
- remove fgHints because it duplicates the default hints in use fgDefaultHints

Revision 15849 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 26 13:36:44 2006 UTC (8 years, 6 months ago) by rdm
Original Path: trunk/gui/src/TGStatusBar.cxx
File length: 13509 byte(s)
Diff to previous 15672
Instead of providing default implementations for copy ctor's and assignment
operators we better make them private (and not implemented) to avoid people
from accidentally using them. Especially the collections classes and the
TQObject derived classes. In these classes the default implementations would
cause havoc due to multiple deletions of the same objects and other
potential memory corruptions.

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/TGStatusBar.cxx
File length: 14232 byte(s)
Diff to previous 15253
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 15253 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 31 09:02:38 2006 UTC (8 years, 7 months ago) by antcheva
Original Path: trunk/gui/src/TGStatusBar.cxx
File length: 14220 byte(s)
Diff to previous 15173
- fixed coding conventions violations

Revision 15173 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 24 18:20:12 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/gui/src/TGStatusBar.cxx
File length: 14189 byte(s)
Diff to previous 15134
Fix coding conventions violations

Revision 15134 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 23 04:47:42 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/gui/src/TGStatusBar.cxx
File length: 14130 byte(s)
Diff to previous 15103
From Federico Carminati:

"I have implemented all copy and equal operators needed to silence all
warnings in AliRoot, as requested. I have implemented shallow copies as
would do the default operators synthetized by the compiler.
Most operators are protected. If users complain, you just have to move
them into the public area, but class derivation is of course supported.
It has been a terrible job, I have modified 278 files, but the changes
are backward compabile, and this goes a long way to permitting user to
use the effc++ flag with root headers."

Revision 15103 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 18 16:32:02 2006 UTC (8 years, 8 months ago) by antcheva
Original Path: trunk/gui/src/TGStatusBar.cxx
File length: 13482 byte(s)
Diff to previous 14811
- move the unique name generation for SavePrimitive methods
  in TGWindow::GetName method and follow up changes in
  those methods in several classes (related to the GUI builder
  development by Valeriy Onuchine)

Revision 14811 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 24 13:55:14 2006 UTC (8 years, 9 months ago) by antcheva
Original Path: trunk/gui/src/TGStatusBar.cxx
File length: 13473 byte(s)
Diff to previous 14480
From Valeriy Onuchin:
- TGStatusBar - switch off disable editting. That allows to put
   in a status bar some other widgets (for example, progress bar)
   during GuiBuilding.

Revision 14480 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 30 08:50:28 2006 UTC (8 years, 9 months ago) by antcheva
Original Path: trunk/gui/src/TGStatusBar.cxx
File length: 13466 byte(s)
Diff to previous 13278
From Bertrand and Valeriy Onuchin:

- TGGroupFrame::ChangeOptions method was introduced
  which overloads TGFrame::ChangeOptions. Using
  TGFrame::ChangeOptions corrupted fBorderWidth data member.

- TGFrame::SetEditable. Disable edit frame when kEditDisableLayout
  bit in fEditDisabled flag is activated.

- TGCompositeFrame::SetEditDisabled.
  Propagate fEditDisable flag to subframes only for cases
  of kEditDisable and kEditEnable values.

- TGCanvas constructor. Set correct value of fEditDisable flag.
  That allows to use TBrowser during guibuilding. The idea is to
  use TBrowser as an object inspector of edited widgets.

  Note by Ilka: this protection is not enough because the search dialog of
  the browser, or status bar became editable when GUI builder is active.
  We agreed that more protections is needed at that point.

- TGStatusBar constructors. Set correct values for fEditDisabled flag
  which allows to use status bars in guibuilding.

Revision 13278 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 17 19:09:28 2005 UTC (9 years, 2 months ago) by rdm
Original Path: trunk/gui/src/TGStatusBar.cxx
File length: 13388 byte(s)
Diff to previous 10378
From Ilka:
code style fixes (comments, descriptions and identation).

Revision 10378 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 21 14:25:30 2004 UTC (10 years, 3 months ago) by rdm
Original Path: trunk/gui/src/TGStatusBar.cxx
File length: 13301 byte(s)
Diff to previous 9735
From Valeriy:
- add protection against objects double deletion during hierarchical
  cleaning, aka SetCleanup(kDeepCleanup);

Revision 9735 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 12 10:58:48 2004 UTC (10 years, 5 months ago) by rdm
Original Path: trunk/gui/src/TGStatusBar.cxx
File length: 13255 byte(s)
Diff to previous 9093
From Ilka:
fix in TGStatusBar::DrawBorder() method - when Draw3DCorner(kFALSE) is set
some part of the text was eaten where otherwise the 3D-corner would be.

Revision 9093 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 2 15:17:12 2004 UTC (10 years, 7 months ago) by rdm
Original Path: trunk/gui/src/TGStatusBar.cxx
File length: 13129 byte(s)
Diff to previous 8681
remove code introduced during a debug session.

Revision 8681 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 24 13:50:48 2004 UTC (10 years, 9 months ago) by brun
Original Path: trunk/gui/src/TGStatusBar.cxx
File length: 13216 byte(s)
Diff to previous 7576
Add protections in TGStatusBar::SetParts to avoid an object twice.

Revision 7576 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 12 19:34:59 2003 UTC (11 years, 2 months ago) by rdm
Original Path: trunk/gui/src/TGStatusBar.cxx
File length: 13128 byte(s)
Diff to previous 7520
From Ilka:
- the update of TGStatusbar::SavePrimitive according to
  the horizontal frame inheritance of its parts
- saving the progress bar attributes
- adding a static variable in TGFrame::fgUserColor to
  keep/check the last user color changes (to avoid
  repeating lines in the generated code)
- comment typos fixing in TGTableLayout.cxx

Revision 7520 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 5 13:08:26 2003 UTC (11 years, 2 months ago) by rdm
Original Path: trunk/gui/src/TGStatusBar.cxx
File length: 12443 byte(s)
Diff to previous 7425
From Ilka:
Any ROOT GUI can now be saved as a macro. Executing this macro brings back
the current GUI (minus the action handling). This very important development
allows to get easily the source for any GUI, which can then be inspected or
used to create other GUI's. Also this will allow a GUI builder to save and
restore GUI's.

To save the source of a GUI use the methods TGMainFrame::SaveSource() or
TGTransientFrame::SaveSource(), where the latter saves the source for dialogs.

To trigger the saving of any GUI just use ctrl-s.

Revision 7425 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 10 11:20:23 2003 UTC (11 years, 3 months ago) by brun
Original Path: trunk/gui/src/TGStatusBar.cxx
File length: 11032 byte(s)
Diff to previous 7415
From Valeriy Onuchin:

  - KeyPressed signal and correspondent SendMessage added
    to TGListTree and TGContainer classes
    That will allow to add user defined key-handling
    procedures to ROOT browser (request from Olivier Stezowski)
  - follow-ups after TGStatusBar yesterday changes:
    TGStatusBar is derived now from TGHorizontalFrame

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/src/TGStatusBar.cxx
File length: 10380 byte(s)
Diff to previous 6663
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 6663 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 28 11:55:32 2003 UTC (11 years, 8 months ago) by rdm
Original Path: trunk/gui/src/TGStatusBar.cxx
File length: 10021 byte(s)
Diff to previous 1780
major changes in the resource management of the GUI classes. Introduced the
new class TGResourcePool which loads and keeps track of the 3 main resource
pools: fonts, picture and graphics contexts. Fonts are now handled via the
new TGFont class (and TGFontPool). In the past the loading of these resources
was done in TGClient and required all GUI classes to have TGClient as friend
to have their global statics initialized by TGClient. Adding a new widget
required TGClient.cxx to be changed too. This was obviously not good.
In addition it is now possible to find the full definition of the original
resource back based on a resource handle (GContext_t or FontStruct_t yielding
a TGGC or TGFont) which is needed for the SavePrimitive() functionality.

The resource pool can be found via TGClient (e.g. gClient->GetResourcePool()).
To see all active graphics contexts, fonts and pictures do:
   gClient->GetResourcePool()->GetGCPool()->Print()
   gClient->GetResourcePool()->GetFontPool()->Print()
   gClient->GetResourcePool()->GetPicturePool()->Print()
For more examples see the widget source code.

These changes are largely backward compatible except maybe for some low
level 3rd party widgets that use some TGFrame internals. In these cases
the following sed command will patch the code:
   sed -e "s/fgBlackGC()/GetBlackGC()()/g" \
       -e "s/fgWhiteGC()/GetWhiteGC()()/g" \
       -e "s/fgHilightGC()/GetHilightGC()()/g" \
       -e "s/fgShadowGC()/GetShadowGC()()/g" \
       -e "s/fgBckgndGC()/GetBckgndGC()()/g" \
       widget.cxx > widget.cxx.new

Revision 1780 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 9 10:58:30 2001 UTC (13 years, 10 months ago) by rdm
Original Path: trunk/gui/src/TGStatusBar.cxx
File length: 9266 byte(s)
Diff to previous 685
new method Draw3DCorner(Bool_t). If argument is false don't draw the 3d
corner in the status bar. Set to false when status bar does not end in
the lower right corner (like in the TTreeViewer).

Revision 685 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 29 08:57:05 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/gui/src/TGStatusBar.cxx
File length: 9185 byte(s)
Diff to previous 3
many change connected with the introduction of the TGGC (graphics context)
class (all backward compatible). Also many of the static default GC's and
fontstructs are now available to the user. This can simplify code in many
places. See change in guitest.cxx.

Revision 3 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: trunk/gui/src/TGStatusBar.cxx
File length: 9092 byte(s)
Copied from: branches/rdm/gui/src/TGStatusBar.cxx revision 2
Diff to previous 2
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.

Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: branches/rdm/gui/src/TGStatusBar.cxx
File length: 9092 byte(s)
Initial import of ROOT into CVS

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