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

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

Parent Directory Parent Directory


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

Revision 48992 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 28 15:26:26 2013 UTC (21 months, 3 weeks ago) by rdm
File length: 61710 byte(s)
Diff to previous 44507
From Lifeng Sun:
The attached patchset fixes a bunch of typo in the source:
0001-succes-success.patch
0002-preceed-preced.patch
0003-informations-information.patch
0004-childs-children.patch
0005-avaliable-available.patch
0006-writeable-writable.patch
0007-comand-command.patch
0008-unkown-unknown.patch
0009-wierd-weird.patch
0010-wheter-whether.patch
0011-unecessary-unnecessary.patch
0012-splitted-split.patch
0013-registerd-registered.patch
0014-recieve-receive.patch
0015-processsing-processing.patch
0016-ouput-output.patch
0017-mutiple-multiple.patch
0018-lenght-length.patch
0019-interupted-interrupted.patch
0020-independant-independent.patch
0021-inconsistant-inconsistent.patch
0022-expresion-expression.patch
0023-explicitely-explicitly.patch
0024-enviroment-environment.patch
0025-deafult-default.patch
0026-continous-continuous.patch
0027-completly-completely.patch
0028-commited-committed.patch
0029-choosen-chosen.patch
0030-backgroud-background.patch
0031-auxilliary-auxiliary.patch
0032-authentification-authentication.patch
0033-appropiate-appropriate.patch
0034-an-other-another.patch
0035-environement-environment.patch
0036-targetting-targeting.patch
0037-suppported-supported.patch
0038-paramater-parameter.patch

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: 61710 byte(s)
Diff to previous 43239
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 43239 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 5 15:38:43 2012 UTC (2 years, 10 months ago) by bellenot
File length: 61630 byte(s)
Diff to previous 42641
Solve several issues with text selection and combination of cursor position and text alignment in text entries (thanks Axel for the report)

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: 61194 byte(s)
Diff to previous 42627
Try to silent coverity reports about dereference null return (stat)

Revision 42627 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 13 13:27:07 2012 UTC (3 years ago) by bellenot
File length: 61138 byte(s)
Diff to previous 40418
Silent harmless coverity reports #36013 (dereference null return)

Revision 40418 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 2 10:08:27 2011 UTC (3 years, 5 months ago) by bellenot
File length: 61078 byte(s)
Diff to previous 35582
Add a small offset in the text entry when it is part of a combo box, to make sure the cursor is visible (especially on Windows)

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: 60197 byte(s)
Diff to previous 35518
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 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: 60068 byte(s)
Diff to previous 32830
Replace several strncpy and strncat by strlcpy and strlcat

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: 60083 byte(s)
Diff to previous 32771
- Replace several sprintf by using TString (coverity)

Revision 32771 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 25 17:41:43 2010 UTC (4 years, 10 months ago) by bellenot
File length: 60051 byte(s)
Diff to previous 32694
From Matevz:
Move initialization of the new fDefWidth and fDefHeight members (added by Matevz) towards the beginning of Init() function -- they are accessed in Resize() call soon afterwards. Found with valgrind.

Revision 32694 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 22 09:08:25 2010 UTC (4 years, 10 months ago) by bellenot
File length: 60052 byte(s)
Diff to previous 26509
From Matevz:
Allow default-size of the widget to be set to support shrinking when the container size is reduced.

Revision 26509 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 28 15:00:08 2008 UTC (6 years, 1 month ago) by bellenot
File length: 59225 byte(s)
Diff to previous 26051
- Remove limitation to 255 characters in TGTextEntry.
  The default maximum lenght is now 4096 and can still 
  be changed with SetMaxLength(). This solve the problem 
  reported on savannah (http://savannah.cern.ch/bugs/?44694)

Revision 26051 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 2 17:18:08 2008 UTC (6 years, 2 months ago) by bellenot
File length: 59272 byte(s)
Diff to previous 25233
- Added protection against accessing out of bounds character in TString.

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: 59241 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: 59212 byte(s)
Copied from: trunk/gui/src/TGTextEntry.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/TGTextEntry.cxx
File length: 59212 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/TGTextEntry.cxx
File length: 59140 byte(s)
Diff to previous 20445
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 20445 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 23 08:08:17 2007 UTC (7 years, 3 months ago) by antcheva
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 59140 byte(s)
Diff to previous 19826
Updated doc about ShiftTabPressed signal.

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/TGTextEntry.cxx
File length: 58894 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/TGTextEntry.cxx
File length: 58952 byte(s)
Diff to previous 19759
remove :$ from tag line

Revision 19759 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 5 14:57:36 2007 UTC (7 years, 4 months ago) by antcheva
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 58962 byte(s)
Diff to previous 19758
Better handling of ShiftTabPressed signal

Revision 19758 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 5 14:24:52 2007 UTC (7 years, 4 months ago) by antcheva
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 58980 byte(s)
Diff to previous 19753
Coding conventions.

Revision 19753 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 4 07:23:24 2007 UTC (7 years, 4 months ago) by antcheva
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 58985 byte(s)
Diff to previous 18974
Added new signal method ShiftTabPressed().
It is emitted when <SHIFT> and <TAB> keys are pressed.

Revision 18974 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 7 08:43:59 2007 UTC (7 years, 7 months ago) by antcheva
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 58527 byte(s)
Diff to previous 18847
From Valeriy O.
In SetTextJustify method set correspondent gravity bits
to minimize repainting of widgets during resizing.

Revision 18847 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 22 08:13:06 2007 UTC (7 years, 8 months ago) by antcheva
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 58162 byte(s)
Diff to previous 17352
From Valeriy Onuchin:
Set gravity bits to make flicker-free painting when
resizing a text entry under X11.

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/TGTextEntry.cxx
File length: 57962 byte(s)
Diff to previous 16616
Remove dependency on TMath.h

Revision 16616 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 25 08:03:31 2006 UTC (8 years, 3 months ago) by antcheva
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 57981 byte(s)
Diff to previous 16549
From Bertrand:
- Implemented HandleSelectionClear() in TGTextEntry and TGTextView
- Fixed issue with copy/paste on KDE (added handling of "TARGETS" atom in HandleSelectionRequest())

Revision 16549 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 18 15:20:56 2006 UTC (8 years, 3 months ago) by antcheva
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 57183 byte(s)
Diff to previous 16187
From Bertrand:
Added automatic copy of highlighted text by the mouse (as in TGTextView)

Revision 16187 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 31 14:59:11 2006 UTC (8 years, 4 months ago) by antcheva
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 57081 byte(s)
Diff to previous 15849
From David Gonzalez Maline:
Implemented Tab keyboard navigation in ROOT dialog
window that pops up via context menu.

- new method TabPressed() and follow up changes in
TGTextEntry and TRootDialog classes

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/TGTextEntry.cxx
File length: 57166 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/TGTextEntry.cxx
File length: 58931 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/TGTextEntry.cxx
File length: 58926 byte(s)
Diff to previous 15191
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 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/TGTextEntry.cxx
File length: 58918 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/TGTextEntry.cxx
File length: 59300 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/TGTextEntry.cxx
File length: 59203 byte(s)
Diff to previous 14815
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 14815 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 24 14:04:41 2006 UTC (8 years, 9 months ago) by antcheva
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 57543 byte(s)
Diff to previous 14698
From Valeriy Onuchin:
- TGTextEntry
   o SetTextColor(const char *hexvalue = "#000000") changed to ChangeTextColor()

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/TGTextEntry.cxx
File length: 57450 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/TGTextEntry.cxx
File length: 57452 byte(s)
Diff to previous 14552
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 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/TGTextEntry.cxx
File length: 57126 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/TGTextEntry.cxx
File length: 56959 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/TGTextEntry.cxx
File length: 56915 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/TGTextEntry.cxx
File length: 56896 byte(s)
Diff to previous 12960
From Ilka:
code style fixes (comments, descriptions and identation).

Revision 12960 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 14 10:59:43 2005 UTC (9 years, 3 months ago) by rdm
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 56687 byte(s)
Diff to previous 12656
white space and typo in comment.

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

Revision 10771 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 14 11:44:42 2004 UTC (10 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 56687 byte(s)
Diff to previous 10747
From valeriy Onuchin:
- set gBlinkingEntry  pointer to zero at TGTextEntry destructor
  if  "this" textentry is gBlinkingEntry.

Revision 10747 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 10 10:57:54 2004 UTC (10 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 56637 byte(s)
Diff to previous 10663
From Valeriy Onuchin:
- correct implementaion of blinking cursor. Now it's has M$ window behavior, i.e.
  only text entry which has a keyboard focus is "blinking" (no activate blinking/focus on
  crossing).

Revision 10663 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 1 17:04:41 2004 UTC (10 years, 1 month ago) by rdm
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 56933 byte(s)
Diff to previous 10418
From Ilka:
fix in TGTextEntry::HandleCrossing() method to avoid two blinking cursors
in TGTextEntry widgets that block the keyboard input in text entries and
in number enties widgets.

Revision 10418 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 28 11:01:42 2004 UTC (10 years, 2 months ago) by rdm
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 56913 byte(s)
Diff to previous 10163
From Ilka:
fix the blinking cursor appearence in a disabled text entry.
Thanks to Lutz (Root talk forum).

Revision 10163 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 24 15:55:55 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 56812 byte(s)
Diff to previous 9983
From Valeriy Onuchin:
- fix in TGTextEntry::SetFont to draw text entry with correct width

Revision 9983 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 11 16:27:09 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 57076 byte(s)
Diff to previous 9974
From Valeriy Onuchin:
- overload TObject's SetTitle method in classes which display  text label
- TGWindow::fEditDisabled was not initiated
- set text in default constructors for windows containing text labels

Revision 9974 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 10 16:25:03 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 57045 byte(s)
Diff to previous 9404
From Valeriy Onuchin:
- new methods added to allow to set  color and font in TGTextEntry

Revision 9404 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 6 13:23:27 2004 UTC (10 years, 6 months ago) by brun
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 55422 byte(s)
Diff to previous 9283
From Valeri Onuchin:
- this fix makes highlight area in the TGTextEntry to be nicely centered

Revision 9283 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 22 15:36:42 2004 UTC (10 years, 7 months ago) by brun
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 55523 byte(s)
Diff to previous 9192
From Valeriy Onuchin:
- this patch allows to set draw option while  browsing TFiles/TTrees

Revision 9192 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 14 10:28:52 2004 UTC (10 years, 7 months ago) by rdm
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 55372 byte(s)
Diff to previous 8588
SetFocus() calls directly the new TGWindow::RequestFocus() method.

Revision 8588 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 15 10:13:41 2004 UTC (10 years, 9 months ago) by rdm
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 55586 byte(s)
Diff to previous 8228
fix several white space issues. Everybody, please use editors that strip spaces and
tabs at end of lines.

Revision 8228 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 18 16:17:33 2004 UTC (10 years, 11 months ago) by rdm
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 55589 byte(s)
Diff to previous 7761
From Valeriy:
use gClient->GetDefaultRoot() instead of GetRoot(). This allows the widgets
to be embedded but ensures popups to still be a child of the real X11 root
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/TGTextEntry.cxx
File length: 55575 byte(s)
Diff to previous 7547
From Ilka:

Better initialisation of variables ParGC and ParFont.

Revision 7547 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 7 22:47:53 2003 UTC (11 years, 2 months ago) by brun
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 55610 byte(s)
Diff to previous 7520
Add missing parenthesis in expressions like
      if (GetOptions() == (kSunkenFrame | kDoubleBorder)) {

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/TGTextEntry.cxx
File length: 55608 byte(s)
Diff to previous 6868
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 6868 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 9 09:58:13 2003 UTC (11 years, 6 months ago) by rdm
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 52779 byte(s)
Diff to previous 6663
remove ifdef case for GDK_WIN32 since it works with X11 too.

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/TGTextEntry.cxx
File length: 52840 byte(s)
Diff to previous 3317
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 3317 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 28 16:05:42 2001 UTC (13 years, 1 month ago) by rdm
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 52202 byte(s)
Diff to previous 3047
win32gdk case added

Revision 3047 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 16 17:28:35 2001 UTC (13 years, 3 months ago) by rdm
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 52113 byte(s)
Diff to previous 2776
change kPointerMotionMask to kButtonMotionMask.

Revision 2776 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 31 17:49:44 2001 UTC (13 years, 4 months ago) by rdm
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 52114 byte(s)
Diff to previous 2755
support system wide clipboard (like TGTextEdit). When doing ctl-x (cut)
or ctrl-v (copy) text is put in global clipboard and can be pasted in any
other window. Mods by Daniel Sigg <sigg_d@ligo.caltech.edu>.

Revision 2755 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 27 11:07:55 2001 UTC (13 years, 5 months ago) by rdm
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 50828 byte(s)
Diff to previous 2711
another small esthetic correction for right hand alignment.

Revision 2711 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 21 17:33:18 2001 UTC (13 years, 5 months ago) by rdm
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 50792 byte(s)
Diff to previous 2685
correction of offset calculation in case of right text alignment.
Improved focus and cursor mangement for enter/leave and focus events.

Revision 2685 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 15 11:43:03 2001 UTC (13 years, 5 months ago) by rdm
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 50261 byte(s)
Diff to previous 1462
add new signal "TabPressed()" (and event TE_TAB). Using this signal one
can easily implement focus changing by connecting the signal to a method
that changes the focus to the next TGTextEntry.

Revision 1462 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 25 14:01:32 2001 UTC (14 years ago) by rdm
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 49394 byte(s)
Diff to previous 799
remove cursor when disabling widget. Fix by Jens Paetzold.

Revision 799 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 20 15:51:03 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 49277 byte(s)
Diff to previous 781
added some more signals and made a number of protected methods public.
Also added tooltip support.

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/TGTextEntry.cxx
File length: 46025 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/TGTextEntry.cxx
File length: 46031 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/TGTextEntry.cxx
File length: 46066 byte(s)
Diff to previous 349
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 349 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 11 09:29:10 2000 UTC (14 years, 6 months ago) by rdm
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 45706 byte(s)
Diff to previous 335
mods for the text edit widget. Use the new search, print and goto dialogs.

Revision 335 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 6 16:50:55 2000 UTC (14 years, 6 months ago) by rdm
Original Path: trunk/gui/src/TGTextEntry.cxx
File length: 45560 byte(s)
Diff to previous 3
use common clipboard with the new text edit widget.

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/TGTextEntry.cxx
File length: 45260 byte(s)
Copied from: branches/rdm/gui/src/TGTextEntry.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/TGTextEntry.cxx
File length: 45260 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