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

Log of /trunk/gui/gui/src/TGButtonGroup.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: 30661 byte(s)
Diff to previous 42641
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 42641 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 16 09:06:00 2012 UTC (3 years ago) by bellenot
File length: 30421 byte(s)
Diff to previous 42608
Try to silent coverity reports about dereference null return (stat)

Revision 42608 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 13 13:23:46 2012 UTC (3 years ago) by bellenot
File length: 30244 byte(s)
Diff to previous 36152
Silent several coverity reports (dereference null return)

Revision 36152 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 7 13:52:30 2010 UTC (4 years, 3 months ago) by rdm
File length: 30067 byte(s)
Diff to previous 35582
fix clang warning (warning: operands of ? are integers of different signs).

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: 30087 byte(s)
Diff to previous 32565
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 32565 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 11 16:54:33 2010 UTC (4 years, 10 months ago) by bellenot
File length: 29703 byte(s)
Diff to previous 23115
Remove several sprintf by using TString instead (coverity)

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: 29649 byte(s)
Copied from: trunk/gui/src/TGButtonGroup.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/TGButtonGroup.cxx
File length: 29649 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/TGButtonGroup.cxx
File length: 29649 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/TGButtonGroup.cxx
File length: 29709 byte(s)
Diff to previous 19752
remove :$ from tag line

Revision 19752 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 3 14:54:42 2007 UTC (7 years, 4 months ago) by antcheva
Original Path: trunk/gui/src/TGButtonGroup.cxx
File length: 29719 byte(s)
Diff to previous 19280
Added call to DestroyWindow of the removed button in Remove(TGButton *button) method.

Revision 19280 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 9 12:13:09 2007 UTC (7 years, 6 months ago) by antcheva
Original Path: trunk/gui/src/TGButtonGroup.cxx
File length: 29688 byte(s)
Diff to previous 19256
From Roel Aaij:
Fix in TGButtonGroup::ReleaseButtons related to the following case:
if a button group contains check and radio exclusive buttons, any click
on a check button made the selected radio button unselected.

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/src/TGButtonGroup.cxx
File length: 29603 byte(s)
Diff to previous 17477
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 17477 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 23 14:22:45 2007 UTC (8 years ago) by rdm
Original Path: trunk/gui/src/TGButtonGroup.cxx
File length: 25426 byte(s)
Diff to previous 16733
From Ilka:
fixes in TGButton and TGButtonGroup classes related to double emitted
signals (bug #23011).
In addition are follow-up changes in different GUI classes where a
work-around was used by connecting the slots to the signals Released or
Pressed instead of Clicked.

Revision 16733 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 10 10:47:38 2006 UTC (8 years, 2 months ago) by antcheva
Original Path: trunk/gui/src/TGButtonGroup.cxx
File length: 25383 byte(s)
Diff to previous 15672
- saving applied layout hints in the generated code

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/TGButtonGroup.cxx
File length: 25199 byte(s)
Diff to previous 13278
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 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/TGButtonGroup.cxx
File length: 25175 byte(s)
Diff to previous 12656
From Ilka:
code style fixes (comments, descriptions and identation).

Revision 12656 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 5 13:33:08 2005 UTC (9 years, 4 months ago) by rdm
Original Path: trunk/gui/src/TGButtonGroup.cxx
File length: 25174 byte(s)
Diff to previous 12504
from Ilka:
more coding convention fixes.

Revision 12504 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 18 11:54:27 2005 UTC (9 years, 5 months ago) by rdm
Original Path: trunk/gui/src/TGButtonGroup.cxx
File length: 25175 byte(s)
Diff to previous 11049
From Ilka:
TGButtonGroup.cxx:
  - SavePrimitive methods generate the code for any widget included in
    a button group, not only for buttons.
TGLayout.cxx
  - default layout hints need to be generated in the code for AddPopup()
    methods of menu bar.

Revision 11049 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 7 22:47:43 2005 UTC (9 years, 11 months ago) by brun
Original Path: trunk/gui/src/TGButtonGroup.cxx
File length: 24476 byte(s)
Diff to previous 11014
From valeriy Onuchin:
- corrections for TGCheckButton, TGRadioButton IsDown, IsOn methods.
- protection against possible recursivity in TGButtonGroup::SetButton method

Revision 11014 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 31 17:20:30 2005 UTC (9 years, 11 months ago) by brun
Original Path: trunk/gui/src/TGButtonGroup.cxx
File length: 24437 byte(s)
Diff to previous 10504
From Valeriy and checked by Ilka:
- emit signals and change button state on release

Revision 10504 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 9 12:30:45 2004 UTC (10 years, 2 months ago) by brun
Original Path: trunk/gui/src/TGButtonGroup.cxx
File length: 24476 byte(s)
Diff to previous 10141
From Ilka:
fix in TGButtonGroup::SavePrimitive
- the layout manager was not saved if different from vertical/horizontal one.

Revision 10141 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 22 12:34:10 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/gui/src/TGButtonGroup.cxx
File length: 24318 byte(s)
Diff to previous 10065
From Valeriy Onuchin:
- add emit parameter to TGButton methods - SetDown, SetOn, Toggle.
  If emit kTRUE - signal emitted.
- fix gui builder after latest TGButton, TGButtonGroup changes

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/src/TGButtonGroup.cxx
File length: 24311 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/src/TGButtonGroup.cxx
File length: 24302 byte(s)
Diff to previous 7761
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 7761 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 15 18:04:27 2003 UTC (11 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGButtonGroup.cxx
File length: 24281 byte(s)
Diff to previous 7520
From Ilka:

Better initialisation of variables ParGC and ParFont.

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/TGButtonGroup.cxx
File length: 24389 byte(s)
Diff to previous 6767
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 6767 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 23 22:18:37 2003 UTC (11 years, 7 months ago) by rdm
Original Path: trunk/gui/src/TGButtonGroup.cxx
File length: 17054 byte(s)
Diff to previous 6603
new method TMap::GetTable() to get const access to the hashtable containing
the (key,value) pairs. Using the pointer to this table one can easily
iterate over the TPairs stored in the table. Changed the internal TAssoc
class to TPair to be more inline with STL naming. Provide simple TAssoc
typedef for backward compatibility.

Revision 6603 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 12 16:44:08 2003 UTC (11 years, 8 months ago) by rdm
Original Path: trunk/gui/src/TGButtonGroup.cxx
File length: 17062 byte(s)
Diff to previous 5879
correct several typos found in comments by Ilka.

Revision 5879 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 12 11:06:35 2003 UTC (12 years ago) by rdm
Original Path: trunk/gui/src/TGButtonGroup.cxx
File length: 17062 byte(s)
Diff to previous 5750
remove R__RTTI option which was only used for systems not supporting
dynamic_cast<>. All systems now support this standard C++ feature.

Revision 5750 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 5 15:55:34 2002 UTC (12 years, 1 month ago) by rdm
Original Path: trunk/gui/src/TGButtonGroup.cxx
File length: 17214 byte(s)
Diff to previous 5681
fix in ButtonRelease() by Valeriy. Radiobuttons were not toggled correctly.

Revision 5681 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 27 15:23:03 2002 UTC (12 years, 1 month ago) by rdm
Original Path: trunk/gui/src/TGButtonGroup.cxx
File length: 17116 byte(s)
Diff to previous 3740
remove compiler warning on 64bit machines (int to pointer cast).

Revision 3740 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 23 15:48:05 2002 UTC (13 years ago) by rdm
Original Path: trunk/gui/src/TGButtonGroup.cxx
File length: 17103 byte(s)
Diff to previous 3147
add TList.h where needed (so these classes compile fine if we decide to
remove TList.h from TNamed.h).

Revision 3147 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 1 11:43:04 2001 UTC (13 years, 2 months ago) by rdm
Original Path: trunk/gui/src/TGButtonGroup.cxx
File length: 17084 byte(s)
Diff to previous 1972
added extra comment on how buttons are to be added to the button group
(no need to call AddFrame() and the use of SetLayoutHints()).

Revision 1972 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 12 08:13:19 2001 UTC (13 years, 9 months ago) by rdm
Original Path: trunk/gui/src/TGButtonGroup.cxx
File length: 16723 byte(s)
Diff to previous 1964
use Long_t instead of long.

Revision 1964 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 11 17:25:41 2001 UTC (13 years, 9 months ago) by brun
Original Path: trunk/gui/src/TGButtonGroup.cxx
File length: 16723 byte(s)
Diff to previous 1338
Several casts to avoid compiler warnings (Philippe)

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/src/TGButtonGroup.cxx
File length: 16693 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/src/TGButtonGroup.cxx
File length: 16211 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/src/TGButtonGroup.cxx
File length: 17205 byte(s)
Diff to previous 781
TGVButtonGroup now uses a TGVerticalLayout manager and TGHButtonGroup
a TGHorizontalLayout manager (these managers take the TGLayoutHints of
the buttons in consideration).

Revision 781 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 17 12:34:53 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/gui/src/TGButtonGroup.cxx
File length: 15544 byte(s)
Diff to previous 780
added signal/slot capability for most widgets. TGWidget now derives from
TQObject.

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/src/TGButtonGroup.cxx
File length: 15519 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