Log of /trunk/gui/gui/src/TGNumberEntry.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: 72498 byte(s)
Diff to
previous 42619
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
35155 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 6 09:45:15 2010 UTC (4 years, 4 months ago) by
bellenot
File length: 71868 byte(s)
Diff to
previous 34557
Use the correct kMaxULong limit value instead of 100000000
(thanks Matevz for spotting this)
And it would be nice to handle (U)Long64_t values in TGNumberEntry
Revision
34557 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Jul 22 15:12:01 2010 UTC (4 years, 6 months ago) by
rdm
File length: 71868 byte(s)
Diff to
previous 33907
fix cases in ROOT code where we would truncate the TTime (to avoid the
new error messages in TTime operator long on 32-bit platforms).
Revision
25233 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Aug 25 16:48:47 2008 UTC (6 years, 5 months ago) by
bellenot
File length: 71777 byte(s)
Diff to
previous 23115
From Matevz:
Add optional parameter 'Bool_t emit' to TGTextEntry::SetText(const char* text, Bool_t emit = kTRUE);
Make the same extension in sub-class TGNumberEntryField.
Solves the following issue with TGTextEntry:
...it always emits a signal when the text is set so it is really hard to set its value inside a TGedEditor (one has to disable signals, set the value and enable them again).
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/TGNumberEntry.cxx
File length: 71661 byte(s)
Diff to
previous 15742
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/TGNumberEntry.cxx
File length: 72887 byte(s)
Diff to
previous 15604
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
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/TGNumberEntry.cxx
File length: 69049 byte(s)
Diff to
previous 14698
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
14698 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 13 15:32:35 2006 UTC (8 years, 9 months ago) by
brun
Original Path:
trunk/gui/src/TGNumberEntry.cxx
File length: 68036 byte(s)
Diff to
previous 14693
From Valeriy Onuchin:
- TGWindow
o kEditDisableBtnEnable - bit intoduced, which says
"window cannot be edited but can handle mouse button events".
Typical usage is buttons in complex widgets like
buttons in scroll bar, tab elements in TGTab etc.
- TGFrame
o SetBgndColor(const char *hexvalue) method is introduced.
This method allows to set frame background color as
hexvalue e.g. "#0c0c0c", or by color name "white", "blue" etc.
This method was added to guibuilder context menu.
- TGCompositeFrame
o TGLayoutManager *GetLayoutManager() const.
void SetLayoutManager(TGLayoutManager *l) made virtual.
That hepled to fix bugs #15, #16 fronm guibuilder bugs list.
o SetBgndColor(const char *hexvalue) is overloaded in order
to set background color for all subframes.
- TGListBox. Few methods added to context menu.
o New method NewEntry(const char *s = "Entry") -
creates new entry placed next to selected entry.
o void RemoveEntry(Int_t id = -1) - remove selected
entry/entries from listbox
o void SetBgndColor(const char *color) - overloaded to
set background color for list box entries.
o void SetMultipleSelections(Bool_t) - toggle on/off
multiple selection
o TGListBox widget was added to guibuilder widgte palette.
- TGMenu.
o new method was introduced: CheckEntryByData(void *user_data)
It allows to check/uncheck menu entry by specifying
user data associated with entry.
- TGNumberEntry. Few methods added as submemu of context menu
of guibuilder. That greatly simplifies paremeter selection.
o Set fixed height for guibuilding.
- TGScrollBars, TGSliders. Fix height for horizontal bar/slider,
fix width for vertical bar/slider when it is resized during
guibuilding.
- TGTextEntry.
o Several context menu methods are now selected via context
submenu.
o Set fixed height for guibuilding.
- TGComboBox. Changes made in order add
TGComboBox widget to guibuilder.
Revision
14660 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Apr 12 12:56:32 2006 UTC (8 years, 9 months ago) by
antcheva
Original Path:
trunk/gui/src/TGNumberEntry.cxx
File length: 67978 byte(s)
Diff to
previous 14625
From Valeriy Onuchin:
- TGNumberEntry
o several methods added to the context menu
o TGNumberEntryLayout class added to dictionary
o overloaded GetLayoutManager method. It always should return
TGNumberEntryLayout
- TGProgressBar
o several methods added to the context menu
- TGStatusBar
o several methods added to the context menu
- TGTab.
o overloaded GetLayoutManager method. It always should return
TGTabLayout
- TGTextEntry
o several methods are added to context menu
o added new method SetTextColor(const char *hexvalue)
that allows changing the text color by
specifying hex color format, e.g. "#0033FF"
Revision
14398 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 23 15:56:03 2006 UTC (8 years, 10 months ago) by
antcheva
Original Path:
trunk/gui/src/TGNumberEntry.cxx
File length: 67094 byte(s)
Diff to
previous 13666
From Valeriy Onuchin:
Mods in several GUI classes related to the following changes required by
the GUI builder development.
- TGWindow::fEditDisabled converted fron Bool_t to UInt_t
Defined new EEditMode bit flags:
enum EEditMode {
kEditEnable = 0, // allow edit
kEditDisable = BIT(0), // disable edit
kEditDisableEvents = BIT(1), // window events cannot be edited
kEditDisableGrab = BIT(2), // window grab cannot be edited
kEditDisableLayout = BIT(3), // window layout cannot be edited
kEditDisableResize = BIT(4), // window size cannot be edited
kEditDisableHeight = BIT(5), // window height cannot be edited
kEditDisableWidth = BIT(6) // window width cannon be edited
};
- TGWindow::IsEditDisabled renamed as TGWindow::GetEditDisabled
- TGFrame::SavePrimitiveSubframes made public
Revision
13666 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Dec 12 17:54:27 2005 UTC (9 years, 1 month ago) by
rdm
Original Path:
trunk/gui/src/TGNumberEntry.cxx
File length: 66893 byte(s)
Diff to
previous 13278
From Ilka:
the signal InvalidInput(const char *instr) is added in the
TGNumberEntryField class and emitted any time the user input differ
from the valid number check-in in the method
TGNumberEntryField::ReturnPressed(). Requested by Mark Gaber and Reiner Rohlfs.
Revision
12968 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 17 10:20:01 2005 UTC (9 years, 3 months ago) by
brun
Original Path:
trunk/gui/src/TGNumberEntry.cxx
File length: 66326 byte(s)
Diff to
previous 12662
From Ilka:
TAttMarkerEditor.h:
- used a number entry instead of a combo box for marker size;
- changed signature of DoMarkerSize() method;
TAttMarkerEditor.cxx
- code changes according to the number enry in use for marker size;
TGedMarkerSelect.cxx
- predefined set of marker types by adding marker types 6 and 7
for better layout (3x6 types) of the popup window;
TGNumberEntry.cxx
- the status of the number entry was not saved in the generated code;
Revision
10277 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 11 16:25:10 2004 UTC (10 years, 3 months ago) by
rdm
Original Path:
trunk/gui/src/TGNumberEntry.cxx
File length: 66140 byte(s)
Diff to
previous 9909
From Valeriy:
- disable activation of editing when GuiBuillder is not initialized.
- disable editing TRootContainer in TRootCanvas.
- disable editing of buttons in TGNumberEntry.
- use Cleanup method in TGNumberEntry destructor.
Revision
9909 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 6 08:18:47 2004 UTC (10 years, 4 months ago) by
brun
Original Path:
trunk/gui/src/TGNumberEntry.cxx
File length: 66171 byte(s)
Diff to
previous 8655
From valeriy Onuchin
- generate ValueSet signal when Return/Enter key pressed in number entry
- add MapSubwindows to constructor. That is required when number entry is created
on already mapped parent, e.g. during "guibuilding"
Revision
8655 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 22 16:28:29 2004 UTC (10 years, 9 months ago) by
brun
Original Path:
trunk/gui/src/TGNumberEntry.cxx
File length: 66058 byte(s)
Diff to
previous 7755
Mega patch from Ilka:
base/inc/TAttAxis.h
~ SetTitleSize default value was wrong
ged/inc/LinkDef.h
~ included the new classes:
TGedAttAxisFrame,
TGedAttAxisTitle,
TGedAttAxisLabel
ged/inc/TGedAttFrame.h, cxx
~ add comments on data members
~ new classes:
TGedAttAxisFrame - axis attribute frame
TGedAttAxisTitle - axis title attribute frame
TGedAttAxisLabel - axis label attribute frame
~ layout hints changed mostly everywhere to gain space for axis
attribute widgets in the editor window
~ code cleaning
~ added comments everywhere
~ new methods in class TGedAttFrame: ExecuteChar(), Update()
ged/inc/TGedEditor.h, cxx
~ removed fToolBox data member
~ changes required by removing of fToolBox
ged/inc/TGedPropertyFrame.h, cxx
~ added three new property farmes
~ the number of property frames is set via kNPropertyFrames
~ added axis, axis title, axis label attribute frames
ged/src/TGedToolBox.cxx
~ changes in: layout manager and button names
gpad/inc/TCanvas.h, cxx
~ new data members: fSelectedX, fSelectedY keeping the (X,Y)
of selected object + corresponding getters
~ removed '!' from the comments of fShowToolBar, fShowEditor
~ changed class version from 4 to 5
~ changes in SaveSource to save the status of toolbar and pad
editor in .C macro
gui/inc/TGNumberEntry.h, cxx
~ new signal ValueSet() needed by pad editor
gui/inc/TRootCanvas.h, cxx
~ new data members:
fFileSaveMenu // save cascade submenu
fEditClearMenu // clear cascade submenu
fViewWithMenu // view with... cascade submenu
~ menu reorganization
~ keeping the canvas size when showing the pad editor
~ moving the canvas scroll bars according to the (X,Y) of
selected object to make it visible
~ draw primitive buttons added to the tool bar
Revision
7755 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Dec 15 08:54:29 2003 UTC (11 years, 1 month ago) by
brun
Original Path:
trunk/gui/src/TGNumberEntry.cxx
File length: 65534 byte(s)
Diff to
previous 7520
From Valeriy Onuchin
- few improvements from my todo list:
o TGButton, TGLabel
SetTextColor, SetFont methods added.
Font, color can be changed globally (for every frame of some type),
or locally (for some particular frame) - default option
o TGNumberEntry
Accelerate the speed for changing numbers when button is
permanently pressed
o TGPicture (inspired by Ilka's recent changes)
for picture specified by file name mods added:
pname = gSystem->ExpandPathName(gSystem->UnixPathName(pname.Data()));
o TGResourcePool
add current directory to the icon_path for WIN32GDK
o cosmetic changes in WorldMap.C example
This tutorial is now working under win32gdk
o TGWin32, TGWin32ProxyBase
Anather try to fix a problem reported by Ed Oltman recently
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/TGNumberEntry.cxx
File length: 65436 byte(s)
Diff to
previous 5717
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
5717 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Dec 2 18:50:12 2002 UTC (12 years, 1 month ago) by
rdm
Original Path:
trunk/gui/src/TGNumberEntry.cxx
File length: 61419 byte(s)
Diff to
previous 2831
mega patch to remove almost all compiler warnings on MacOS X where the
compiler is by default in pedantic mode (LHCb also like to use this option).
The following issues have been fixed:
- removal of unused arguments
- comparison between signed and unsigned integers
- not calling of base class copy ctor in copy ctor's
To be done, the TGeo classes where we get still many hundred warnings of
the above nature. List forwarded to Andrei.
Revision
2804 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Tue Sep 18 10:55:45 2001 UTC (13 years, 4 months ago) by
rdm
Original Path:
trunk/gui/src/TGNumberEntry.cxx
File length: 61234 byte(s)
important new widget by Daniel Sigg that allows controlled numeric input in
many different formats (int, float, hex, time, date, etc.). An explample
of usage is added to guitest.cxx and guitest.C.
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.