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

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

Parent Directory Parent Directory


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

Revision 44686 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 14 09:48:27 2012 UTC (2 years, 7 months ago) by bellenot
File length: 72736 byte(s)
Diff to previous 44507
Fix coverity #43042 & #43043: Not restoring ostream format

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 42619 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 13 13:26:27 2012 UTC (3 years ago) by bellenot
File length: 72393 byte(s)
Diff to previous 40205
Fix coverity #37063 (uninitialized scalar field)

Revision 40205 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 13 09:14:34 2011 UTC (3 years, 6 months ago) by bellenot
File length: 72365 byte(s)
Diff to previous 38458
Fix a possible overflow when entering a float having its fraction part exceeding kMaxInt (e.g 9.9999999999). This should fix the bug #84033, TGNumberEntryField (http://savannah.cern.ch/bugs/index.php?84033)
Thanks to Juergen Kattner for the report

Revision 38458 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 16 14:39:48 2011 UTC (3 years, 10 months ago) by bellenot
File length: 72356 byte(s)
Diff to previous 35582
Ignore several secure coding reports (coverity) until proper solution is found

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: 72227 byte(s)
Diff to previous 35527
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 35527 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 21 12:27:01 2010 UTC (4 years, 4 months ago) by brun
File length: 71957 byte(s)
Diff to previous 35518
do not include snprintf.h

Revision 35518 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 21 09:54:10 2010 UTC (4 years, 4 months ago) by bellenot
File length: 71979 byte(s)
Diff to previous 35413
Replace several strncpy and strncat by strlcpy and strlcat

Revision 35413 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 20 06:48:44 2010 UTC (4 years, 4 months ago) by bellenot
File length: 71984 byte(s)
Diff to previous 35334
Replace strcpy by strncpy (coverity)

Revision 35334 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 16 13:51:56 2010 UTC (4 years, 4 months ago) by bellenot
File length: 71978 byte(s)
Diff to previous 35157
Replace sprintf and strcpy by snprintf and strncpy (coverity)

Revision 35157 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 6 09:50:48 2010 UTC (4 years, 4 months ago) by bellenot
File length: 71864 byte(s)
Diff to previous 35156
Fix warning: comparison is always true due to limited range of data type

Revision 35156 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 6 09:47:48 2010 UTC (4 years, 4 months ago) by bellenot
File length: 71865 byte(s)
Diff to previous 35155
Use kMaxLong instead of kMaxULong (to avoid warning: comparison between signed and unsigned integer expressions)

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 33907 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 15 10:26:47 2010 UTC (4 years, 7 months ago) by bellenot
File length: 71863 byte(s)
Diff to previous 32582
Fix potential buffer not null terminated (coverity)

Revision 32582 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 12 09:46:36 2010 UTC (4 years, 10 months ago) by bellenot
File length: 71839 byte(s)
Diff to previous 31681
Fix possible buffer overflow and add protection against possible NULL pointer (coverity)

Revision 31681 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 8 15:58:57 2009 UTC (5 years, 1 month ago) by bellenot
File length: 71833 byte(s)
Diff to previous 29473
- More protections (coverity)

Revision 29473 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 15 15:26:00 2009 UTC (5 years, 6 months ago) by bellenot
File length: 71804 byte(s)
Diff to previous 25233
Solve problem reported on the forum (http://root.cern.ch/phpBB2/viewtopic.php?t=8843):
Entering a value of eg .5 (without leading 0) into a TGNumberEntry was not working for 
kNESRealOne, kNESRealTwo, kNESRealThree, and kNESRealFour options.

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 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: 71758 byte(s)
Copied from: trunk/gui/src/TGNumberEntry.cxx revision 23114
Diff to previous 20982
moved to directory "gui" the following directories:

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

Revision 20982 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 22 13:48:19 2007 UTC (7 years, 2 months ago) by antcheva
Original Path: trunk/gui/src/TGNumberEntry.cxx
File length: 71758 byte(s)
Diff to previous 20882
Handle multi-line tooltips in the generated code.

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/TGNumberEntry.cxx
File length: 71614 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/TGNumberEntry.cxx
File length: 71614 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/TGNumberEntry.cxx
File length: 71674 byte(s)
Diff to previous 17320
remove :$ from tag line

Revision 17320 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 15 11:00:00 2007 UTC (8 years ago) by brun
Original Path: trunk/gui/src/TGNumberEntry.cxx
File length: 71684 byte(s)
Diff to previous 16150
Remove dependency on TMath.h in TGDimension that forced a complete recompilation
of the gui ged geombuilder fitpanel proff, etc packages

Revision 16150 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 28 17:00:56 2006 UTC (8 years, 4 months ago) by antcheva
Original Path: trunk/gui/src/TGNumberEntry.cxx
File length: 71665 byte(s)
Diff to previous 16096
- roll back previous change because of side effects;

Revision 16096 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 23 16:50:32 2006 UTC (8 years, 5 months ago) by antcheva
Original Path: trunk/gui/src/TGNumberEntry.cxx
File length: 71663 byte(s)
Diff to previous 15849
From Reiner Rohlfs:
- fix the truncated real number value in SetNumber(Double_t val) function

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 15742 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 9 05:27:55 2006 UTC (8 years, 6 months ago) by brun
Original Path: trunk/gui/src/TGNumberEntry.cxx
File length: 72888 byte(s)
Diff to previous 15672
From Eddy:
Fix many typos in comments

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 15604 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 28 17:24:34 2006 UTC (8 years, 6 months ago) by antcheva
Original Path: trunk/gui/src/TGNumberEntry.cxx
File length: 72867 byte(s)
Diff to previous 15173
- SavePrimitive implemented for TGNumberEntryField

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/TGNumberEntry.cxx
File length: 69114 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/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 14693 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 13 13:54:21 2006 UTC (8 years, 9 months ago) by antcheva
Original Path: trunk/gui/src/TGNumberEntry.cxx
File length: 67981 byte(s)
Diff to previous 14660
- coding conventions

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 14625 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 11 06:23:44 2006 UTC (8 years, 9 months ago) by antcheva
Original Path: trunk/gui/src/TGNumberEntry.cxx
File length: 67415 byte(s)
Diff to previous 14552
From Valeriy Onuchin:
- disable handling nuber entry buttons during guibuilding

Revision 14552 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 5 14:37:58 2006 UTC (8 years, 9 months ago) by antcheva
Original Path: trunk/gui/src/TGNumberEntry.cxx
File length: 67357 byte(s)
Diff to previous 14398
- added GetToolTip() in TGTextEntry
- tool tips of text and number entries are saved in the generated C++ code

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 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/TGNumberEntry.cxx
File length: 66679 byte(s)
Diff to previous 12968
From Ilka:
code style fixes (comments, descriptions and identation).

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 12662 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 5 14:52:00 2005 UTC (9 years, 4 months ago) by brun
Original Path: trunk/gui/src/TGNumberEntry.cxx
File length: 66208 byte(s)
Diff to previous 12659
Fix a coding convention violation.

Revision 12659 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 5 14:26:43 2005 UTC (9 years, 4 months ago) by rdm
Original Path: trunk/gui/src/TGNumberEntry.cxx
File length: 66208 byte(s)
Diff to previous 12656
From Ilka:
more GUI coding violation fixes.

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/TGNumberEntry.cxx
File length: 66208 byte(s)
Diff to previous 12644
from Ilka:
more coding convention fixes.

Revision 12644 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 5 07:33:37 2005 UTC (9 years, 4 months ago) by rdm
Original Path: trunk/gui/src/TGNumberEntry.cxx
File length: 66208 byte(s)
Diff to previous 12472
From Ilka:
fixing of coding style violations.

Revision 12472 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 12 15:53:05 2005 UTC (9 years, 5 months ago) by rdm
Original Path: trunk/gui/src/TGNumberEntry.cxx
File length: 66206 byte(s)
Diff to previous 10277
From Ilka:
free pixmaps in dtor.

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 2831 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 22 10:04:11 2001 UTC (13 years, 4 months ago) by rdm
Original Path: trunk/gui/src/TGNumberEntry.cxx
File length: 61414 byte(s)
Diff to previous 2810
Widget id of embedded TGTextEntry was always 3, now fixed to be the
id assigned to the TGNumberEntry.

Revision 2810 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 18 15:31:33 2001 UTC (13 years, 4 months ago) by rdm
Original Path: trunk/gui/src/TGNumberEntry.cxx
File length: 61413 byte(s)
Diff to previous 2804
change fabs() to TMath::Abs().

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9