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

Log of /trunk/gui/gui/src/TGTab.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: 26418 byte(s)
Diff to previous 42625
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 42625 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 13 13:26:56 2012 UTC (3 years ago) by bellenot
File length: 26298 byte(s)
Diff to previous 41214
Fix several dereference null return (coverity)

Revision 41214 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 6 13:07:35 2011 UTC (3 years, 3 months ago) by bellenot
File length: 26201 byte(s)
Diff to previous 41155
Fix coverity reports (dereference null return value)

Revision 41155 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 5 13:47:00 2011 UTC (3 years, 3 months ago) by bellenot
File length: 26159 byte(s)
Diff to previous 35582
Fix coverity reports (dereference null value)

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: 26138 byte(s)
Diff to previous 32830
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 32830 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 30 08:03:46 2010 UTC (4 years, 9 months ago) by bellenot
File length: 26009 byte(s)
Diff to previous 27475
- Replace several sprintf by using TString (coverity)

Revision 27475 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 18 10:04:21 2009 UTC (5 years, 11 months ago) by bellenot
File length: 25977 byte(s)
Diff to previous 26550
Replace Form() by TString::Format()

Revision 26550 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 1 15:31:05 2008 UTC (6 years, 1 month ago) by bellenot
File length: 25928 byte(s)
Diff to previous 26180
- From Matevz: small modifications to avoid resetting state of hidden frames (if any) by calling MapSubwindows() in TGTab::NewTab()

Revision 26180 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 13 15:51:56 2008 UTC (6 years, 2 months ago) by bellenot
File length: 25816 byte(s)
Diff to previous 26142
- Change tab element size depending on the visibility of the close tab icon

Revision 26142 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 11 14:53:11 2008 UTC (6 years, 2 months ago) by bellenot
File length: 25163 byte(s)
Diff to previous 26093
- Added a "Close Tab" icon in TGTabElement, 
  emitting a CloseTab signal. The icon is 
  active only on the actually activated tab
- Implement CloseTab slot usage in TRootBrowser
  and in TGRootIDE
- Added two new icons

Revision 26093 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 7 09:10:49 2008 UTC (6 years, 2 months ago) by bellenot
File length: 23811 byte(s)
Diff to previous 25278
- Fix small bug reported at: https://savannah.cern.ch/bugs/?42431

Revision 25278 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 27 13:45:05 2008 UTC (6 years, 4 months ago) by bellenot
File length: 23671 byte(s)
Diff to previous 23656
- Add protections against potential UInt_t underflows 
  in Layout calculations

Revision 23656 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 6 08:16:07 2008 UTC (6 years, 8 months ago) by antcheva
File length: 23563 byte(s)
Diff to previous 23115
From Bertrand:
Add a new signal Removed(Int_t id) to notify when a tab was removed.

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

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

Revision 21088 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 28 08:36:08 2007 UTC (7 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGTab.cxx
File length: 23491 byte(s)
Diff to previous 20904
From Bertrand:
Add TGTab::AddTab with TGCompositeFrame in argument as requested 
by the feature request at: https://savannah.cern.ch/bugs/?31668

Revision 20904 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 16:19:48 2007 UTC (7 years, 2 months ago) by antcheva
Original Path: trunk/gui/src/TGTab.cxx
File length: 22876 byte(s)
Diff to previous 20882
From Bertrand:
Fixed identation.

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/TGTab.cxx
File length: 22864 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/TGTab.cxx
File length: 22864 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/TGTab.cxx
File length: 22916 byte(s)
Diff to previous 17352
remove :$ from tag line

Revision 17352 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 16 07:57:59 2007 UTC (8 years ago) by brun
Original Path: trunk/gui/src/TGTab.cxx
File length: 22926 byte(s)
Diff to previous 16749
Remove dependency on TMath.h

Revision 16749 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 10 17:00:23 2006 UTC (8 years, 2 months ago) by antcheva
Original Path: trunk/gui/src/TGTab.cxx
File length: 22945 byte(s)
Diff to previous 16062
- save the tab status in the genetated code

Revision 16062 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 21 13:25:32 2006 UTC (8 years, 5 months ago) by antcheva
Original Path: trunk/gui/src/TGTab.cxx
File length: 22817 byte(s)
Diff to previous 16006
From Matevz:
- In SetTab(const char *name) do not assume that any tabs are
actually created (it was causing crashes when the tab was empty)

Revision 16006 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 15 10:06:51 2006 UTC (8 years, 5 months ago) by antcheva
Original Path: trunk/gui/src/TGTab.cxx
File length: 22735 byte(s)
Diff to previous 15849
From Alja and Matevz:
- added optional argument to block signals and deletion of removed tab

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/TGTab.cxx
File length: 22587 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/TGTab.cxx
File length: 24620 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/TGTab.cxx
File length: 24609 byte(s)
Diff to previous 15220
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 15220 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 30 06:40:10 2006 UTC (8 years, 7 months ago) by antcheva
Original Path: trunk/gui/src/TGTab.cxx
File length: 24589 byte(s)
Diff to previous 15191
From Valeriy Onuchin:
- remove the GUI builder specific code from TGShutter,
TGTextEdit, TGTab, TGListBox constructors

Revision 15191 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 28 20:08:00 2006 UTC (8 years, 7 months ago) by brun
Original Path: trunk/gui/src/TGTab.cxx
File length: 24730 byte(s)
Diff to previous 15173
From valeriy Onuchine:

- TImage, TASImage
 o Change return type of Vectorize method  from "void" to "Double_t*".
 o Implement FromWindow method under X11. This method allows to
   create "snapshot image" from any ROOT window or frame.

- config/Makefile.depend
 Add dependency of libGuiBld lib on libGraf.
 GuiBuilder uses internally TImage/TASImage class.

- GX11Gui.cxx

 X11 error handler was slightly modified.
 Many X11 errors lead to freezing X11 server and
 did not allow debugging.
 To prevent freezing, a "forced seg.violation" was added
 to the error handler.

 The usage of the new "feature" is the following:
 0. run "gdb root.exe"
 1. set "gDebug = (int)gVirtualX" - that activates the new error handling.
 2. run application which has X11 errors.

On X11 error the application was stopped by the "forced seg.violation".

 3. "gdb>bt" - backtrace the problem.



!!! A big list of changes in libGui initiated by gui builder development !!!

- TGButton.h, TGButton.cxx
  TGButton class:
   o SetDown methods removed from context menu.
   o SetEnabled method of context menu changed to TOGGLE.
     Setting fWidgetFlags was added.

- TGTextButton class
   o GetNormGC(), GetFontStruct() methods are introduced.
   o SetFont removed from context menu.
   o ChangeText(const char *title) was introduced and added to context menu.
   o fixed an error in SetFont method which set font globally instead of
     locally.
   o SavePrimitive - save text justification

- TGPictureButton
   o added getter method GetDisabledPicture()

- TGCanvas
   o added to GuiBuilder widgets palette.

- TGColorDialog
   o new methods:
     - TGColorPalette *GetPalette(),
     - TGColorPalette *GetCustomPalette(),
     - void SetCurrentColor(Pixel_t col)
   o new signal:
      - void ColorSelected(Pixel_t)
   o new parameter added to contructor "Bool_t wait".
     If "wait" is kTRUE, "gClient->WaitForUnmap" is called internally
     (normal/old usage). If "wait" is kFALSE - "gClient->WaitForUnmap"
     should be called by user.
   o few "usefull" colors added to "custom" palette.

- TGColorSelect
   o added to GuiBuilder widgets palette.

- TGComboBox
   o new methods:
     - SortByName - allows to sort combobox entries by names.
     - SetEnabled, IsEnabled.

- TGFontDialog was rewritten.
   o Previous version worked under win32 only,
      now it works on X11 also.
      It allows to select any font available on the system.

  o new parameter added to contructor "Bool_t wait".
     If "wait" is kTRUE, "gClient->WaitForUnmap" is called internally
     (normal/old usage). If "wait" is kFALSE - "gClient->WaitForUnmap"
     should be called by user.

  o new methods:
      void SetFont(TGFont *font);
      void SetColor(Pixel_t color);
      void SetAlign(Int_t align);
      void EnableAlign(Bool_t on = kTRUE);
      void UpdateStyleSize(const char *family);

 o new signals:
   - FontSelected(char *font)
   - AlignSelected(Int_t a)
   - ColorSelected(Pixel_t c)

- TGFrame
   o unused static member fgContextMenu removed.

- TGCompositeFrame
   o TGCompositeFrame::SetEditDisabled modified. It is used for setting
     fEditDisableXX attribute during gui buildind.

   o ChangeSubframesBackground helper method was introduced.

- TGGroupFrame
   o SetTextFont, SetTextColor methods were corrected for
     "local" changing of the font.

- TGWindow
   o kEditDisableKeyEnable added to EEditMode enum.
     If this flag is set - window can handle keyboard events during gui
     building.

- TGLabel
   o new methods:
    - GetNormGC, GetFontStruct
   o fixed bugs in setting label's "local" text font.
   o SavePrimitive - saving text justification added.

- TGListBox
  o new methods:
     - SortByName - allow to sort listbox entries by names.
     - new auxilary/internal class TGLBFrameElement created.
        It's used for ascending/descending sort of list box entries.

  o reimplemented methods:
   ChangeBackground, Layout, GetDefaultWidth

  o disable changing layout manager in SetLayoutManager method.
    Layout manager is not used for layout of list box.

- TGIcon
   o SetImagePath method was corrected.

- TGScrollBarElement
   o new methods:
     - SetEnabled, IsEnabled. These methods are used in enabling/disabling
       TGNumberEntry objects.

- TGScrollBar
   o new getter methods:
      - GetHead, GetTail, GetSlider
   o new signals:
      - PositionChanged, RangeChanged, PageSizeChanged
   o ChangeBackground was reimplemented.

- TGShutter
   o new methods:
      - AddPage, RemovePage, RenamePage
   o new signal Selected.
   o disable changing layout manager in SetLayoutManager method.
     Layout manager is not used for layout.

- TGView
   o disable changing layout manager by SetLayoutManager method.
     Layout manager is not used for layout.
   o ChangeBackground(Pixel_t col) method added which changes background
     color only of the canvas frame.

- TGNumberEntry
   o more options added to context menu.

- TGProgressBar
   o new getter/setter methods:
    - GetBarColor, GetNormGC, GetFontStruct, SetForegroundColor.

- TGTab
   o disable SetEditDisabled method to avoid changing "edit disable
     attribute".

- TGTextEdit, TGTextView, TGView
   o fixed bug - "character replace" mode didn't work
   o setting insert mode added to context menu.
   o setting "read only" mode added to context menu.
   o new method which enable/disable "popup menu for edit actions" added.
   o few corrections to SavePrimitive method.

- TGTextEntry
   o guibuilder specific code was removed.

-  TGuiBuilder.h, TGuiBldAction
   o possibility to set picture for context menu entry added.

- treeviewer/inc/TSessionViewer.h
  o forward declaration of TContextMenu class added.

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/TGTab.cxx
File length: 24731 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/TGTab.cxx
File length: 24560 byte(s)
Diff to previous 14736
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 14736 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 18 12:33:13 2006 UTC (8 years, 9 months ago) by antcheva
Original Path: trunk/gui/src/TGTab.cxx
File length: 22733 byte(s)
Diff to previous 14698
- optimized code generation

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/TGTab.cxx
File length: 22392 byte(s)
Diff to previous 14660
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/TGTab.cxx
File length: 22368 byte(s)
Diff to previous 14593
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 14593 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 7 14:22:34 2006 UTC (8 years, 9 months ago) by antcheva
Original Path: trunk/gui/src/TGTab.cxx
File length: 21907 byte(s)
Diff to previous 14592
From Valeri Onuchin:

- TGTab::SetEnabled(Int_t tabIndex, Bool_t on = kTRUE) method added to the context menu
- new method SetText allows changing the current tab title

Revision 14592 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 7 13:28:07 2006 UTC (8 years, 9 months ago) by antcheva
Original Path: trunk/gui/src/TGTab.cxx
File length: 21702 byte(s)
Diff to previous 14579
- make SavePrimitive working as before after changes in TGTab

Revision 14579 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 7 08:23:54 2006 UTC (8 years, 9 months ago) by antcheva
Original Path: trunk/gui/src/TGTab.cxx
File length: 21525 byte(s)
Diff to previous 14398
From Valeriy Onuchin:
- new method NewTab(const char *text = 0); introduced in order
  to use it in context menu during guibuilding.
- TGTab::RemoveTab - default value is set to -1 (was 0);
   if negtive tab id is specified that means the currently selected tab is removed.

 It is possible to specify an icon for a context menu entry, which will be assotiated
 with the correspondent method by:
 virtual void NewTab(const char *text = "tab");   // *MENU*bld_newtab.png*

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/TGTab.cxx
File length: 21182 byte(s)
Diff to previous 14336
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 14336 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 20 21:43:44 2006 UTC (8 years, 10 months ago) by pcanal
Original Path: trunk/gui/src/TGTab.cxx
File length: 21470 byte(s)
Diff to previous 13278
Reduce direct dependencies on TClass.h, TROOT.h and TStreamerInfo.h.
Warning:  This means that some file that relied on the indirect
inclusion of these header file might now fail to compile with
an error message mention that gROOT is no known or that TClass,
TROOT or TStreamerInfo is incompletely defined.  Simply add the
proper include directive.

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/TGTab.cxx
File length: 21451 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/TGTab.cxx
File length: 21376 byte(s)
Diff to previous 12525
from Ilka:
more coding convention fixes.

Revision 12525 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 23 17:00:41 2005 UTC (9 years, 5 months ago) by brun
Original Path: trunk/gui/src/TGTab.cxx
File length: 21376 byte(s)
Diff to previous 11625
From Bertrand:
Added several protections in TGXXX class constructors,
used when browsing ROOT classes.

Revision 11625 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 19 09:10:59 2005 UTC (9 years, 9 months ago) by brun
Original Path: trunk/gui/src/TGTab.cxx
File length: 21358 byte(s)
Diff to previous 11340
From Valeriy Onuchin:
-  TGCompositeFrame *TGTab::GetTabContainer(const char *name) const
   Bool_t TGTab::SetTab(const char *name)
   TGTabElement *TGTab::GetTabTab(const char *name) const

   methods added (proposed by  Thomas Bretz )

Revision 11340 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 15 09:38:09 2005 UTC (9 years, 10 months ago) by rdm
Original Path: trunk/gui/src/TGTab.cxx
File length: 19515 byte(s)
Diff to previous 10378
From Daniel Sigg and Ilka:
TGTab was setting the input mask for button press for its entire window.
This then interferes with combo boxes that are located inside a TGTab
and makes it that none of the mouse clicks outside the pop-up are sent
to the combo box. This is particular annoying if you have a tabbed
application.

Revision 10378 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 21 14:25:30 2004 UTC (10 years, 3 months ago) by rdm
Original Path: trunk/gui/src/TGTab.cxx
File length: 19371 byte(s)
Diff to previous 10110
From Valeriy:
- add protection against objects double deletion during hierarchical
  cleaning, aka SetCleanup(kDeepCleanup);

Revision 10110 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 20 19:11:54 2004 UTC (10 years, 4 months ago) by rdm
Original Path: trunk/gui/src/TGTab.cxx
File length: 19534 byte(s)
Diff to previous 10109
TGSplitte: add IsLeft() and IsAbove() (in addition to GetLeft() and
GetAbove() which are not a correct names for a boolean getters).

Revision 10109 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 20 19:07:23 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/gui/src/TGTab.cxx
File length: 19529 byte(s)
Diff to previous 9848
From Valeriy Onuchin
- add new signals to TGToolTip class
 Show(Int_t x, Int_t y), Hide(), Reset()
- disable editting of TGTabElement
- show help in GUI builder's status bar

Revision 9848 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 26 17:03:17 2004 UTC (10 years, 5 months ago) by rdm
Original Path: trunk/gui/src/TGTab.cxx
File length: 19505 byte(s)
Diff to previous 9566
From Ilka:
The tab element was not redrawn when it is enabled/disabled.

Revision 9566 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 21 13:53:42 2004 UTC (10 years, 6 months ago) by brun
Original Path: trunk/gui/src/TGTab.cxx
File length: 19467 byte(s)
Diff to previous 7761
From Valeriy Onuchin:
 - in response to http://root.cern.ch/phpBB2/viewtopic.php?t=944
   new methods added TGTabElement::SetEnabled, TGTabElement::IsEnabled,
  TGTab::SetEnabled, TGTab::IsEnabled.

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/TGTab.cxx
File length: 18693 byte(s)
Diff to previous 7604
From Ilka:

Better initialisation of variables ParGC and ParFont.

Revision 7604 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 17 09:49:15 2003 UTC (11 years, 2 months ago) by brun
Original Path: trunk/gui/src/TGTab.cxx
File length: 18728 byte(s)
Diff to previous 7529
From valeriy Onuchin:

- Fix bug in TGTab::RemoveTab method.
  RemoveFrame(elTab->fFrame)  deletes elTab,
  so reference elTab->fFrame causes seg.violation
  Fix by Alexei Krasnoperov.

Revision 7529 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 6 10:44:00 2003 UTC (11 years, 2 months ago) by rdm
Original Path: trunk/gui/src/TGTab.cxx
File length: 18703 byte(s)
Diff to previous 7520
From Ilka:
support the saving of the color of TGTabElement.

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/TGTab.cxx
File length: 18364 byte(s)
Diff to previous 7001
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 7001 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 24 16:00:00 2003 UTC (11 years, 6 months ago) by brun
Original Path: trunk/gui/src/TGTab.cxx
File length: 14878 byte(s)
Diff to previous 6883
From Valeriy Onuchin:
- TGTab::RemoveTab(Int_t tabIndex)

  o change order of tab windows destroy
  o unmap, do not destroy container window.
    container window is destroyed/deleted
    later in TGTab destructor

Revision 6883 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 10 15:58:06 2003 UTC (11 years, 6 months ago) by rdm
Original Path: trunk/gui/src/TGTab.cxx
File length: 14845 byte(s)
Diff to previous 6663
correction in method description, by Ilka.

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/src/TGTab.cxx
File length: 14839 byte(s)
Diff to previous 6070
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 6070 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 7 18:20:17 2003 UTC (11 years, 11 months ago) by rdm
Original Path: trunk/gui/src/TGTab.cxx
File length: 14520 byte(s)
Diff to previous 4078
correct typo in comment of RemoveTab(). Thanks Ilka.

Revision 4078 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 23 16:05:11 2002 UTC (12 years, 11 months ago) by brun
Original Path: trunk/gui/src/TGTab.cxx
File length: 14522 byte(s)
Diff to previous 781
Correct some typos in comments

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/TGTab.cxx
File length: 14522 byte(s)
Diff to previous 714
added signal/slot capability for most widgets. TGWidget now derives from
TQObject.

Revision 714 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 4 23:40:08 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/gui/src/TGTab.cxx
File length: 14501 byte(s)
Diff to previous 685
remove some compiler warnings and replace gVirtualX->SelectInput() calls
by TGFrame::AddInput().

Revision 685 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 29 08:57:05 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/gui/src/TGTab.cxx
File length: 14524 byte(s)
Diff to previous 3
many change connected with the introduction of the TGGC (graphics context)
class (all backward compatible). Also many of the static default GC's and
fontstructs are now available to the user. This can simplify code in many
places. See change in guitest.cxx.

Revision 3 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: trunk/gui/src/TGTab.cxx
File length: 14161 byte(s)
Copied from: branches/rdm/gui/src/TGTab.cxx revision 2
Diff to previous 2
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.

Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: branches/rdm/gui/src/TGTab.cxx
File length: 14161 byte(s)
Initial import of ROOT into CVS

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