Log of /trunk/gui/gui/src/TGButtonGroup.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: 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
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
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
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
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
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
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.
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.