[root] / trunk / gui / gui / inc / TGButtonGroup.h Repository:
ViewVC logotype

Log of /trunk/gui/gui/inc/TGButtonGroup.h

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: 5422 byte(s)
Diff to previous 23115
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 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: 5407 byte(s)
Copied from: trunk/gui/inc/TGButtonGroup.h revision 23114
Diff to previous 22675
moved to directory "gui" the following directories:

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

Revision 22675 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 17 08:27:32 2008 UTC (6 years, 10 months ago) by rdm
Original Path: trunk/gui/inc/TGButtonGroup.h
File length: 5407 byte(s)
Diff to previous 22674
Bool_t dropped off.

Revision 22674 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 17 08:19:28 2008 UTC (6 years, 10 months ago) by rdm
Original Path: trunk/gui/inc/TGButtonGroup.h
File length: 5400 byte(s)
Diff to previous 20882
change "const Bool_t" argument to "Bool_t" in SetState().

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/inc/TGButtonGroup.h
File length: 5413 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/inc/TGButtonGroup.h
File length: 5413 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/inc/TGButtonGroup.h
File length: 5471 byte(s)
Diff to previous 19256
remove :$ from tag line

Revision 19256 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 4 15:10:49 2007 UTC (7 years, 6 months ago) by antcheva
Original Path: trunk/gui/inc/TGButtonGroup.h
File length: 5481 byte(s)
Diff to previous 18773
From Roel Aaij:
Implemented interface to set the state of a button group as enabled or disabled.

In TGGroupButton new data member:
Bool_t fState; //to save the state of the group (disabled/enabled)

Added methods:
virtual void DoRedraw() - to handle drawing of a disabled group correctly.
virtual void SetState(const Bool_t state = kTRUE) - to set the state
             of the group as disabled (state = kFALSE) or enabled (default).
Bool_t  IsEnabled() const - to check the state.

Modified methods:
TGButtonGroup::Init() -  to initialise new data member fState.
TGButtonGroup::DrawBorder() - to handle the drawing of the entire
                              group frame according to its state
SavePrimitive methods - to save the disabled case

Revision 18773 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 14 13:28:06 2007 UTC (7 years, 8 months ago) by antcheva
Original Path: trunk/gui/inc/TGButtonGroup.h
File length: 5333 byte(s)
Diff to previous 15672
Added copy ctor's and assignment operator as private
(and not implemented)

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/inc/TGButtonGroup.h
File length: 5194 byte(s)
Diff to previous 10065
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 10065 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 15 17:37:29 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/gui/inc/TGButtonGroup.h
File length: 5182 byte(s)
Diff to previous 9945
From Valeriy Onuchin
- add TGPictureButton::SetDisabledPicture which set a picture displayed
 whne button disabled
- TGButtonGroup: correction constructor (parent window should "const TGWindow"),
most methods made"virtual".
- TGToolBar: add signals Pressed(Int_t id), Released(Int_t id), Clicked(Int_t id) similar
 to what we in TGButtonGroup
 TGButtonGroup:AddButton returns a pointer to newly created button.

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/TGButtonGroup.h
File length: 5018 byte(s)
Diff to previous 7520
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 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/inc/TGButtonGroup.h
File length: 5014 byte(s)
Diff to previous 6663
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 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/inc/TGButtonGroup.h
File length: 4822 byte(s)
Diff to previous 3196
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 3196 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 8 20:33:36 2001 UTC (13 years, 2 months ago) by rdm
Original Path: trunk/gui/inc/TGButtonGroup.h
File length: 4822 byte(s)
Diff to previous 2110
make signal methods virtual.

Revision 2110 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 2 11:45:46 2001 UTC (13 years, 8 months ago) by rdm
Original Path: trunk/gui/inc/TGButtonGroup.h
File length: 4804 byte(s)
Diff to previous 1342
fixes in header files to not use directly static data members as default
arguments. This does not work on Windows due to export problems of these
statics. Use now static Getters instead.

Revision 1342 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 10 14:37:29 2001 UTC (14 years ago) by rdm
Original Path: trunk/gui/inc/TGButtonGroup.h
File length: 4768 byte(s)
Diff to previous 1338
no default ctor, at least parent must be specified.

Revision 1338 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 10 09:35:00 2001 UTC (14 years ago) by rdm
Original Path: trunk/gui/inc/TGButtonGroup.h
File length: 4780 byte(s)
Diff to previous 813
fixed SetTitle() hiding problem.

Revision 813 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 22 19:28:58 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/gui/inc/TGButtonGroup.h
File length: 4750 byte(s)
Diff to previous 796
changed inheritance tree. Move TQObject inheritance from TGWidget to
TGFrame. This allows all frames to emit signals (all widgets were frames,
but not all frames were widgets). Added several missing signals in several
different widgets to get tutorials/guitest.C working.

Revision 796 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 20 12:18:06 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/gui/inc/TGButtonGroup.h
File length: 4818 byte(s)
Diff to previous 780
TGVButtonGroup now uses a TGVerticalLayout manager and TGHButtonGroup
a TGHorizontalLayout manager (these managers take the TGLayoutHints of
the buttons in consideration).

Revision 780 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Oct 17 12:30:14 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/gui/inc/TGButtonGroup.h
File length: 4730 byte(s)
new widget TGButtonGroup, which organizes TGButton widgets in a group.
A button group widget makes it easier to deal with groups of buttons.

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