[root] / trunk / gui / gui / inc / TGListView.h Repository:
ViewVC logotype

Log of /trunk/gui/gui/inc/TGListView.h

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: 11843 byte(s)
Diff to previous 26097
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 26097 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 7 10:02:53 2008 UTC (6 years, 2 months ago) by bellenot
File length: 11833 byte(s)
Diff to previous 23115
- Fix gcc compilation warnings

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: 11833 byte(s)
Copied from: trunk/gui/inc/TGListView.h revision 23114
Diff to previous 20882
moved to directory "gui" the following directories:

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

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/inc/TGListView.h
File length: 11833 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/inc/TGListView.h
File length: 11833 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/inc/TGListView.h
File length: 11888 byte(s)
Diff to previous 19665
remove :$ from tag line

Revision 19665 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 22 08:50:02 2007 UTC (7 years, 5 months ago) by antcheva
Original Path: trunk/gui/inc/TGListView.h
File length: 11898 byte(s)
Diff to previous 18774
From Valeriy Onuchin (tested by Bertrand):

o TGLayoutManager::IsModified method was overloaded.
  This method is used to indicate that sub frames
  changed/unchanged their positions/sizes after layout.

  For example, in some cases positions&sizes of sub frames
  can be unchanged after calling Layout method
  (e.g. for TGTileLayout manager).
  TGLayoutManager::IsModified will return kFALSE.

o  TGListBox.h,cxx, TGCanvas.h,cxx, TGListTree.h,cxx,
   TGListView.h,cxx

   - new painting technique was implemented:
     1. repaint only exposed/dirty regions.
        Previously the whole view port (or even container frame)
        was repainted.
     2. use double-buffering (using back plane pixmap) during
        repainting.
     That allows to eliminate flickering during resizing,
     scrolling, exposing/overlapping.
   - several bugs were fixed:
     o keyboard navigation in list view, list box, list tree
     o resizing columns (details view) in list view
       when  horizontal scroll bar not in zero position.
     o in list view (details view) buttons were moved when
       it was resized.
     o extra unnecessary repainting in list view, list tree
       were removed.
     o probably I missed something to mention .

o  TGScrollBar
  - bug fix: increment value was reset to 1 after button release.
  - do not redraw scroll button if it's width/height was unchanged.
    That reduces flickering

Revision 18774 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 14 13:29:09 2007 UTC (7 years, 8 months ago) by antcheva
Original Path: trunk/gui/inc/TGListView.h
File length: 11583 byte(s)
Diff to previous 17820
Fixed typos in comments

Revision 17820 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 9 11:51:09 2007 UTC (7 years, 11 months ago) by rdm
Original Path: trunk/gui/inc/TGListView.h
File length: 11580 byte(s)
Diff to previous 17280
From Federico:
effc++ corrections.

Revision 17280 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 10 14:54:30 2007 UTC (8 years ago) by antcheva
Original Path: trunk/gui/inc/TGListView.h
File length: 11194 byte(s)
Diff to previous 15879
- Added new method ResizeColumns() for backward compatibilities.
Use this method after all entries are on place. It will resize column
headers showing whole items' names.

Revision 15879 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 1 10:54:37 2006 UTC (8 years, 5 months ago) by rdm
Original Path: trunk/gui/inc/TGListView.h
File length: 11159 byte(s)
Diff to previous 15844
From David Gonzalez Maline and Bertrand:
- Implemented resizable TGListView headers.
- Implemented files sorting by clicking header buttons in TGFileDialog
  and TRootBrowser.

Revision 15844 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 24 16:11:45 2006 UTC (8 years, 6 months ago) by rdm
Original Path: trunk/gui/inc/TGListView.h
File length: 10403 byte(s)
Diff to previous 15672
From David Gonzalez Maline and Bertrand:
A bunch of modifications in TGFileDialog (mainly user requests):
- Sort files by name and not by type anymore.
- Increased the vertical scroll size.
- Implemented multiple file selection; can be turned on/off with a
  checkbox on the TGFileDialog.

Here is an example of how to use multiple selection:

  TGFileInfo fi;
  new TGFileDialog(fClient->GetDefaultRoot(), this, kFDOpen,&fi);
  if (fi.fMultipleSelection && fi.fFileNamesList) {
     TObjString *el;
     TIter next(fi.fFileNamesList);
     while ((el = (TObjString *) next())) {
        new TFile(el->GetString(), "update");
     }
  }
  else if (fi.fFilename) {
     new TFile(fi.fFilename, "update");
  }

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/inc/TGListView.h
File length: 10003 byte(s)
Diff to previous 15351
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 15351 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 6 14:44:59 2006 UTC (8 years, 7 months ago) by antcheva
Original Path: trunk/gui/inc/TGListView.h
File length: 9990 byte(s)
Diff to previous 13278
From Bertrand:
- fix in TGListView: the column titles move with the horizontal scroll bar in detailed view mode
- added new data member
   TGFrame *fHeader; // frame used as container for column headers

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/inc/TGListView.h
File length: 9867 byte(s)
Diff to previous 12658
From Ilka:
code style fixes (comments, descriptions and identation).

Revision 12658 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 5 14:21:53 2005 UTC (9 years, 4 months ago) by rdm
Original Path: trunk/gui/inc/TGListView.h
File length: 9863 byte(s)
Diff to previous 12372
from Bertrand:
add new check box feature to TGListTree widget. This option allows checkboxes
on the tree nodes to turn on/off pieces of the tree hierarchy. Used in the
ROOT browser to toggle visibility of geometries.
In TGListTree see for example the new methods:
   void  CheckItem(TGListTreeItem *item, Bool_t check = kTRUE);
   void  SetCheckBox(TGListTreeItem *item, Bool_t on = kTRUE);
   void  ToggleItem(TGListTreeItem *item);
   void  Checked(TObject *obj, Bool_t check);  //*SIGNAL*
and the checkbox option in:
   AddItem(..., Bool_t checkbox);

Revision 12372 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 24 09:55:52 2005 UTC (9 years, 6 months ago) by rdm
Original Path: trunk/gui/inc/TGListView.h
File length: 9667 byte(s)
Diff to previous 11862
fName in TGLVEntry was hidden by fName in TGWindow, now renamed to fItemName.

Revision 11862 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 24 20:05:10 2005 UTC (9 years, 8 months ago) by brun
Original Path: trunk/gui/inc/TGListView.h
File length: 9646 byte(s)
Diff to previous 10726
From Valeriy Onuchin:
- root.mimes. Default actions changed for some image types (*.png, *.gif,
*.jpg etc.)
  Drawing images in canvas is better than  drawing it as TGPictureButton.
  Image drawn in canvas can be processed via context menu,  scaled, resized
etc.

- TPad::Print - roll-back recent changes in GIF saving. Use again
TVirtualX::WriteGIF
    method for saving GIF files which produces much smaller  files.
   BTW,  the patent on LZW compression  was expired july 2004. So, making
GIF is now legal.

- TGMimeTypes - fix nasty typo-bug in GetIcon method.  The  effect of the
bug was appeared as
   no large icons were displayed for  qq.png, qq.gif etc.  files types.

- TGPicture - minory mods

-   TGFileContainer::GetFilePictures - optimised for speed. To test a gain
in performance -
     run TBrowser on slow computer and open up $ROOTSYS/icons directory.
     New data member TGFileContainer::fCachePictures was added which allows
     to switch on/off this mechanism.

- TRootBrowser.  Weired "refresh behavior" was fixed - when some macro was
   browsed/executed and then canvas was deleted, browser's icon box was
refreshed and
   currrent "page position" was changed to the most upper one.
   Now page position remains on the same place.

- Refresh TBrowser on F5 pressed action added.

- TGLVEntry - SetPictures method added, whic allows to change  list view
entry pictures  dynamically.

- TSystemFile. SetIconName, GetIconName methods addd

Revision 10726 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 8 17:13:41 2004 UTC (10 years, 1 month ago) by brun
Original Path: trunk/gui/inc/TGListView.h
File length: 9536 byte(s)
Diff to previous 9945
From Valeriy Onuchin:
- since TGLBContainer is now derived from TGContainer, it's possible to
  "reuse" key handling, e.g. arrow key navigation, "Page Up/Down", "Home/End" and
  invocation of "Search Dialog" via "Ctrl-F" (usefull when one has 100000 entries in list box;-)

Revision 9945 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 8 08:13:11 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/gui/inc/TGListView.h
File length: 9471 byte(s)
Diff to previous 7520
From Valeriy Onuchin:
- provide default constructors for most TGxxx classes.
  The goal:
    1.  required for  guibuilder
     2. providing  ROOT I/O for GUI classes.
  In all default constructors parent window is NULL,
  that means that parent window is currently editted window.

Revision 7520 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 5 13:08:26 2003 UTC (11 years, 2 months ago) by rdm
Original Path: trunk/gui/inc/TGListView.h
File length: 9424 byte(s)
Diff to previous 7075
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 7075 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 11 14:23:17 2003 UTC (11 years, 5 months ago) by rdm
Original Path: trunk/gui/inc/TGListView.h
File length: 9292 byte(s)
Diff to previous 7074
added GetViewMode() to TGListView.

Revision 7074 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 11 12:51:31 2003 UTC (11 years, 5 months ago) by rdm
Original Path: trunk/gui/inc/TGListView.h
File length: 9232 byte(s)
Diff to previous 6913
added some Getters needed by Ilka.

Revision 6913 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 14 12:22:48 2003 UTC (11 years, 6 months ago) by brun
Original Path: trunk/gui/inc/TGListView.h
File length: 9163 byte(s)
Diff to previous 6869
From Valeriy Onuchin

 o add sanity checks to
   - several places inside TGLisView class
   - TGContainer::GetLastActive
 o increment fTotal in TGLVContainer::AddItem method

Revision 6869 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 9 12:34:36 2003 UTC (11 years, 6 months ago) by rdm
Original Path: trunk/gui/inc/TGListView.h
File length: 9154 byte(s)
Diff to previous 6863
Some mods by Valeriy:
- new method TGLVEntry::SetSubnames added simplifies setting entry
  subnames (for detail view layout)
- new method TGLVContainer::SetColHeaders added
  simplifies setting column names (for detail view layout)
- minor mods in TGLVContainer class
- guitest.C/guitest.cxx
  fix detail view layout in TestFileList widget
- add an example of usage of TGLVEntry::SetSubnames,TGLVcontainer::SetSubnames
  methods in TestFileList widget

Revision 6863 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 8 19:42:07 2003 UTC (11 years, 6 months ago) by brun
Original Path: trunk/gui/inc/TGListView.h
File length: 8080 byte(s)
Diff to previous 6663
From Valery Onuchin
- I added new example to guitest which demonstrates
   how to use TGFileContainer/TGContainer classes.

   This example along with TestListDir example added previously
   reproduces general functionality of TRootBrowser

- added new simplified constructor to TGLVEntry class

- add new method

TGMenuBar::AddPopup(const TString &s, Int_t padleft, Int_t padright,
                   Int_t padtop, Int_t padbottom)

which also simplifies adding of popup-menus

- mods in TGFSContainer.h which allow to make #include <TGFSContainer.h>
  during ROOT session

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/inc/TGListView.h
File length: 7864 byte(s)
Diff to previous 5581
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 5581 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 15 13:24:59 2002 UTC (12 years, 2 months ago) by brun
Original Path: trunk/gui/inc/TGListView.h
File length: 7698 byte(s)
Diff to previous 5420
Several improvements and bug fixes in the browser by Valery Onuchin

Revision 5420 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 12 10:49:38 2002 UTC (12 years, 3 months ago) by rdm
Original Path: trunk/gui/inc/TGListView.h
File length: 7483 byte(s)
Diff to previous 5413
revert to previous version. Valeriy's mods still has some severe bugs and
needs much more testing.

Revision 5413 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 10 17:09:06 2002 UTC (12 years, 3 months ago) by rdm
Original Path: trunk/gui/inc/TGListView.h
File length: 7698 byte(s)
Diff to previous 4973
widget improvements by Valeriy Onuchin. In particular the TGListTree
should now be able to handle very large tree's (not limited anymore by
the bitmap size). Added key navigation options to TGListTree and some
new signals.

Revision 4973 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 18 10:34:25 2002 UTC (12 years, 6 months ago) by rdm
Original Path: trunk/gui/inc/TGListView.h
File length: 7483 byte(s)
Diff to previous 4695
fix TreeViewer re-run problem. fLastActive was not correctly initialized.
In addition some small code reformatting.

Revision 4695 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 12 17:56:25 2002 UTC (12 years, 7 months ago) by rdm
Original Path: trunk/gui/inc/TGListView.h
File length: 7445 byte(s)
Diff to previous 4692
remove TGLVEntry *TGListView::GetNextSelected(void**) since it had only
a different return type from TGFrame *TGContainer::GetNextSelected(void**).
In two cases where a TGLVEntry* as return type was expected now as cast to
TGLVEntry* has to be made.

Revision 4692 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 12 16:46:12 2002 UTC (12 years, 7 months ago) by rdm
Original Path: trunk/gui/inc/TGListView.h
File length: 7567 byte(s)
Diff to previous 3207
major improvements in TGListTree by Valeriy Onuchin. The TGListTree can
now display >100k's of items in a very efficient way. This is used now
in the ROOT browser.

Revision 3207 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 12 14:17:02 2001 UTC (13 years, 2 months ago) by rdm
Original Path: trunk/gui/inc/TGListView.h
File length: 8236 byte(s)
Diff to previous 2110
add new signals for Clicked() and DoubleClicked() that also report
the x and y position of the mouse at time of click.

Revision 2110 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 2 11:45:46 2001 UTC (13 years, 8 months ago) by rdm
Original Path: trunk/gui/inc/TGListView.h
File length: 8062 byte(s)
Diff to previous 813
fixes in header files to not use directly static data members as default
arguments. This does not work on Windows due to export problems of these
statics. Use now static Getters instead.

Revision 813 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 22 19:28:58 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/gui/inc/TGListView.h
File length: 8053 byte(s)
Diff to previous 781
changed inheritance tree. Move TQObject inheritance from TGWidget to
TGFrame. This allows all frames to emit signals (all widgets were frames,
but not all frames were widgets). Added several missing signals in several
different widgets to get tutorials/guitest.C working.

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/inc/TGListView.h
File length: 8070 byte(s)
Diff to previous 755
added signal/slot capability for most widgets. TGWidget now derives from
TQObject.

Revision 755 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 12 16:53:38 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/gui/inc/TGListView.h
File length: 7835 byte(s)
Diff to previous 685
added support for wheel mice. Via the mouse wheel you can scroll most
windows that have a scrollbar. How to enable it for your own containers
is shown in guitest (see TileFrame).

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/inc/TGListView.h
File length: 7673 byte(s)
Diff to previous 624
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 624 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 11 17:37:20 2000 UTC (14 years, 4 months ago) by rdm
Original Path: trunk/gui/inc/TGListView.h
File length: 7683 byte(s)
Diff to previous 3
new methods SetHeaders() and SetHeader() to customize the header
that is shown in the TGListBox. The fixed default was only suitable for
listing system files (like ls -l).

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/inc/TGListView.h
File length: 7284 byte(s)
Copied from: branches/rdm/gui/inc/TGListView.h 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/inc/TGListView.h
File length: 7284 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