#include <TGListView.h>
Inheritance diagram for TGLVEntry:

Public Member Functions | |
| TGLVEntry (const TGWindow *p=0, const TGPicture *bigpic=0, const TGPicture *smallpic=0, TGString *name=0, TGString **subnames=0, EListViewMode ViewMode=kLVDetails, UInt_t options=kChildFrame, Pixel_t back=GetWhitePixel()) | |
| TGLVEntry (const TGLVContainer *p, const TString &name, const TString &cname, TGString **subnames=0, UInt_t options=kChildFrame, Pixel_t back=GetWhitePixel()) | |
| virtual | ~TGLVEntry () |
| virtual void | SetViewMode (EListViewMode viewMode) |
| virtual void | Activate (Bool_t a) |
| Bool_t | IsActive () const |
| TGString * | GetItemName () const |
| virtual const char * | GetTitle () const |
| virtual void | SetTitle (const char *text) |
| void | SetItemName (const char *name) |
| const TGPicture * | GetPicture () const |
| EListViewMode | GetViewMode () const |
| void | SetUserData (void *userData) |
| void * | GetUserData () const |
| virtual void | SetSubnames (const char *n1="", const char *n2="", const char *n3="", const char *n4="", const char *n5="", const char *n6="", const char *n7="", const char *n8="", const char *n9="", const char *n10="", const char *n11="", const char *n12="") |
| virtual void | SetPictures (const TGPicture *bigpic=0, const TGPicture *smallpic=0) |
| virtual void | SetColumns (Int_t *cpos, Int_t *jmode) |
| virtual void | SetCheckedEntry (Bool_t check=kTRUE) |
| virtual TGDimension | GetDefaultSize () const |
| virtual Int_t | GetSubnameWidth (Int_t idx) const |
| virtual void | DrawCopy (Handle_t id, Int_t x, Int_t y) |
| TGLVEntry (const TGWindow *p=0, const TGPicture *bigpic=0, const TGPicture *smallpic=0, TGString *name=0, TGString **subnames=0, EListViewMode ViewMode=kLVDetails, UInt_t options=kChildFrame, Pixel_t back=GetWhitePixel()) | |
| TGLVEntry (const TGLVContainer *p, const TString &name, const TString &cname, TGString **subnames=0, UInt_t options=kChildFrame, Pixel_t back=GetWhitePixel()) | |
| virtual | ~TGLVEntry () |
| virtual void | SetViewMode (EListViewMode viewMode) |
| virtual void | Activate (Bool_t a) |
| Bool_t | IsActive () const |
| TGString * | GetItemName () const |
| virtual const char * | GetTitle () const |
| virtual void | SetTitle (const char *text) |
| void | SetItemName (const char *name) |
| const TGPicture * | GetPicture () const |
| EListViewMode | GetViewMode () const |
| void | SetUserData (void *userData) |
| void * | GetUserData () const |
| virtual void | SetSubnames (const char *n1="", const char *n2="", const char *n3="", const char *n4="", const char *n5="", const char *n6="", const char *n7="", const char *n8="", const char *n9="", const char *n10="", const char *n11="", const char *n12="") |
| virtual void | SetPictures (const TGPicture *bigpic=0, const TGPicture *smallpic=0) |
| virtual void | SetColumns (Int_t *cpos, Int_t *jmode) |
| virtual void | SetCheckedEntry (Bool_t check=kTRUE) |
| virtual TGDimension | GetDefaultSize () const |
| virtual Int_t | GetSubnameWidth (Int_t idx) const |
| virtual void | DrawCopy (Handle_t id, Int_t x, Int_t y) |
Protected Member Functions | |
| virtual void | DoRedraw () |
| virtual void | DoRedraw () |
Static Protected Member Functions | |
| static FontStruct_t | GetDefaultFontStruct () |
| static const TGGC & | GetDefaultGC () |
| static FontStruct_t | GetDefaultFontStruct () |
| static const TGGC & | GetDefaultGC () |
Protected Attributes | |
| TGString * | fItemName |
| TGString ** | fSubnames |
| Int_t * | fCpos |
| Int_t * | fJmode |
| Int_t * | fCtw |
| UInt_t | fTWidth |
| UInt_t | fTHeight |
| Bool_t | fActive |
| Bool_t | fChecked |
| EListViewMode | fViewMode |
| const TGPicture * | fBigPic |
| const TGPicture * | fSmallPic |
| const TGPicture * | fCurrent |
| const TGPicture * | fCheckMark |
| TGSelectedPicture * | fSelPic |
| GContext_t | fNormGC |
| FontStruct_t | fFontStruct |
| void * | fUserData |
| TGString * | fItemName |
| TGString ** | fSubnames |
| Int_t * | fCpos |
| Int_t * | fJmode |
| Int_t * | fCtw |
| const TGPicture * | fBigPic |
| const TGPicture * | fSmallPic |
| const TGPicture * | fCurrent |
| const TGPicture * | fCheckMark |
| TGSelectedPicture * | fSelPic |
| void * | fUserData |
Static Protected Attributes | |
| static const TGFont * | fgDefaultFont |
| static TGGC * | fgDefaultGC |
| static const TGFont * | fgDefaultFont |
| static TGGC * | fgDefaultGC |
Private Member Functions | |
| TGLVEntry (const TGLVEntry &) | |
| TGLVEntry & | operator= (const TGLVEntry &) |
| TGLVEntry (const TGLVEntry &) | |
| TGLVEntry & | operator= (const TGLVEntry &) |
Definition at line 60 of file TGListView.h.
| TGLVEntry::TGLVEntry | ( | const TGLVEntry & | ) | [private] |
| TGLVEntry::TGLVEntry | ( | const TGWindow * | p = 0, |
|
| const TGPicture * | bigpic = 0, |
|||
| const TGPicture * | smallpic = 0, |
|||
| TGString * | name = 0, |
|||
| TGString ** | subnames = 0, |
|||
| EListViewMode | ViewMode = kLVDetails, |
|||
| UInt_t | options = kChildFrame, |
|||
| Pixel_t | back = GetWhitePixel() | |||
| ) |
| TGLVEntry::TGLVEntry | ( | const TGLVContainer * | p, | |
| const TString & | name, | |||
| const TString & | cname, | |||
| TGString ** | subnames = 0, |
|||
| UInt_t | options = kChildFrame, |
|||
| Pixel_t | back = GetWhitePixel() | |||
| ) |
Definition at line 119 of file TGListView.cxx.
References fActive, fBigPic, fChecked, fCheckMark, TGObject::fClient, fCpos, fCtw, fCurrent, fFontStruct, fItemName, fJmode, fNormGC, fSelPic, fSmallPic, fSubnames, fTHeight, fTWidth, fUserData, fViewMode, GetDefaultFontStruct(), GetDefaultGC(), TGMimeTypes::GetIcon(), TGString::GetLength(), TGClient::GetMimeTypeList(), TGClient::GetPicture(), TGString::GetString(), gVirtualX, i, kFALSE, kTRUE, name, p, and SetViewMode().
| TGLVEntry::~TGLVEntry | ( | ) | [virtual] |
| TGLVEntry::TGLVEntry | ( | const TGLVEntry & | ) | [private] |
| TGLVEntry::TGLVEntry | ( | const TGWindow * | p = 0, |
|
| const TGPicture * | bigpic = 0, |
|||
| const TGPicture * | smallpic = 0, |
|||
| TGString * | name = 0, |
|||
| TGString ** | subnames = 0, |
|||
| EListViewMode | ViewMode = kLVDetails, |
|||
| UInt_t | options = kChildFrame, |
|||
| Pixel_t | back = GetWhitePixel() | |||
| ) |
| TGLVEntry::TGLVEntry | ( | const TGLVContainer * | p, | |
| const TString & | name, | |||
| const TString & | cname, | |||
| TGString ** | subnames = 0, |
|||
| UInt_t | options = kChildFrame, |
|||
| Pixel_t | back = GetWhitePixel() | |||
| ) |
| virtual TGLVEntry::~TGLVEntry | ( | ) | [virtual] |
| void TGLVEntry::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGFrame.
Definition at line 310 of file TGListView.cxx.
References DrawCopy(), and TGObject::fId.
Referenced by Activate(), TGFileItem::DoRedraw(), and TTVLVEntry::SetSmallPic().
| FontStruct_t TGLVEntry::GetDefaultFontStruct | ( | ) | [static, protected] |
Definition at line 470 of file TGListView.cxx.
References fgDefaultFont, gClient, TGFont::GetFontStruct(), TGResourcePool::GetIconFont(), and TGClient::GetResourcePool().
Referenced by DrawCopy(), and TGLVEntry().
| const TGGC & TGLVEntry::GetDefaultGC | ( | ) | [static, protected] |
Definition at line 480 of file TGListView.cxx.
References fgDefaultFont, fgDefaultGC, gClient, TGFont::GetFontHandle(), TGResourcePool::GetFrameGC(), TGClient::GetResourcePool(), and TGGC::SetFont().
Referenced by TGLVEntry().
| void TGLVEntry::SetViewMode | ( | EListViewMode | viewMode | ) | [virtual] |
Definition at line 269 of file TGListView.cxx.
References fActive, fBigPic, TGObject::fClient, fCurrent, TGObject::fId, fSelPic, fSmallPic, fViewMode, gClient, GetDefaultSize(), gVirtualX, kLVLargeIcons, TGClient::NeedRedraw(), and TGFrame::Resize().
Referenced by TGFileItem::SetViewMode(), and TGLVEntry().
| void TGLVEntry::Activate | ( | Bool_t | a | ) | [virtual] |
Reimplemented from TGFrame.
Definition at line 252 of file TGListView.cxx.
References DoRedraw(), fActive, fCurrent, fSelPic, and gClient.
Referenced by TTVLVContainer::HandleButton(), and TTVLVContainer::SelectItem().
| Bool_t TGLVEntry::IsActive | ( | ) | const [inline, virtual] |
| TGString* TGLVEntry::GetItemName | ( | ) | const [inline] |
Definition at line 112 of file TGListView.h.
References fItemName.
Referenced by TGFSFrameElement::Compare(), and TGFileDialog::ProcessMessage().
| virtual const char* TGLVEntry::GetTitle | ( | ) | const [inline, virtual] |
Reimplemented from TObject.
Definition at line 113 of file TGListView.h.
References fItemName, and TGString::GetString().
| virtual void TGLVEntry::SetTitle | ( | const char * | text | ) | [inline, virtual] |
| void TGLVEntry::SetItemName | ( | const char * | name | ) | [inline] |
| const TGPicture* TGLVEntry::GetPicture | ( | ) | const [inline] |
| EListViewMode TGLVEntry::GetViewMode | ( | ) | const [inline] |
| void TGLVEntry::SetUserData | ( | void * | userData | ) | [inline] |
Definition at line 118 of file TGListView.h.
References fUserData.
Referenced by TSessionOutputFrame::AddObject(), TSessionInputFrame::AddObject(), TRootIconBox::AddObjItem(), TRootIconList::Browse(), TRootBrowserLite::ProcessMessage(), and TNewChainDlg::UpdateList().
| void* TGLVEntry::GetUserData | ( | ) | const [inline] |
Definition at line 119 of file TGListView.h.
References fUserData.
Referenced by TTreeViewer::EditExpression(), TTVLVEntry::Empty(), TTreeViewer::Empty(), TTVLVContainer::ExpressionList(), TRootIconBox::FindItem(), TTVLVContainer::HandleButton(), TTreeViewer::ProcessMessage(), TRootBrowserLite::ProcessMessage(), TTreeViewer::RemoveItem(), and TTVLVEntry::SetExpression().
| void TGLVEntry::SetSubnames | ( | const char * | n1 = "", |
|
| const char * | n2 = "", |
|||
| const char * | n3 = "", |
|||
| const char * | n4 = "", |
|||
| const char * | n5 = "", |
|||
| const char * | n6 = "", |
|||
| const char * | n7 = "", |
|||
| const char * | n8 = "", |
|||
| const char * | n9 = "", |
|||
| const char * | n10 = "", |
|||
| const char * | n11 = "", |
|||
| const char * | n12 = "" | |||
| ) | [virtual] |
Definition at line 195 of file TGListView.cxx.
References fCtw, fFontStruct, fSubnames, TGString::GetLength(), TGString::GetString(), gVirtualX, and i.
| void TGLVEntry::SetPictures | ( | const TGPicture * | bigpic = 0, |
|
| const TGPicture * | smallpic = 0 | |||
| ) | [virtual] |
Definition at line 290 of file TGListView.cxx.
References fBigPic, fCurrent, TGObject::fId, fSelPic, fSmallPic, fViewMode, gClient, gVirtualX, kLVLargeIcons, and TGFrame::Resize().
Definition at line 125 of file TGListView.h.
Referenced by TGLVContainer::AddItem(), and TTVLVContainer::AddThisItem().
| TGDimension TGLVEntry::GetDefaultSize | ( | ) | const [virtual] |
Reimplemented from TGFrame.
Definition at line 443 of file TGListView.cxx.
References fCurrent, fTHeight, fTWidth, fViewMode, TGPicture::GetHeight(), TGPicture::GetWidth(), kLVDetails, kLVLargeIcons, kLVList, kLVSmallIcons, TMath::Max(), and size.
Referenced by TTVLVEntry::SetItemName(), and SetViewMode().
Reimplemented from TGFrame.
Definition at line 320 of file TGListView.cxx.
References TGString::Draw(), TGPicture::Draw(), fActive, fChecked, fCheckMark, TGObject::fClient, fCpos, fCtw, fCurrent, fFontStruct, TGFrame::fgBlackPixel, TGFrame::fgDefaultSelectedBackground, TGFrame::fgWhitePixel, TGFrame::fHeight, fItemName, fJmode, fNormGC, fSelPic, fSubnames, fTHeight, fTWidth, fViewMode, TGFrame::fWidth, GetDefaultFontStruct(), TGPicture::GetHeight(), TGString::GetLength(), TGClient::GetResourcePool(), TGResourcePool::GetSelectedFgndColor(), TGString::GetString(), TGPicture::GetWidth(), gVirtualX, i, j, kLVDetails, kLVLargeIcons, kTextCenterX, kTextRight, and TString::Length().
Referenced by DoRedraw().
| virtual void TGLVEntry::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGFrame.
| static FontStruct_t TGLVEntry::GetDefaultFontStruct | ( | ) | [static, protected] |
| static const TGGC& TGLVEntry::GetDefaultGC | ( | ) | [static, protected] |
| virtual void TGLVEntry::SetViewMode | ( | EListViewMode | viewMode | ) | [virtual] |
| Bool_t TGLVEntry::IsActive | ( | ) | const [inline, virtual] |
| TGString* TGLVEntry::GetItemName | ( | ) | const [inline] |
| virtual const char* TGLVEntry::GetTitle | ( | ) | const [inline, virtual] |
Reimplemented from TObject.
Definition at line 113 of file TGListView.h.
References fItemName, and TGString::GetString().
| virtual void TGLVEntry::SetTitle | ( | const char * | text | ) | [inline, virtual] |
| void TGLVEntry::SetItemName | ( | const char * | name | ) | [inline] |
| const TGPicture* TGLVEntry::GetPicture | ( | ) | const [inline] |
| EListViewMode TGLVEntry::GetViewMode | ( | ) | const [inline] |
| void TGLVEntry::SetUserData | ( | void * | userData | ) | [inline] |
| void* TGLVEntry::GetUserData | ( | ) | const [inline] |
| virtual void TGLVEntry::SetSubnames | ( | const char * | n1 = "", |
|
| const char * | n2 = "", |
|||
| const char * | n3 = "", |
|||
| const char * | n4 = "", |
|||
| const char * | n5 = "", |
|||
| const char * | n6 = "", |
|||
| const char * | n7 = "", |
|||
| const char * | n8 = "", |
|||
| const char * | n9 = "", |
|||
| const char * | n10 = "", |
|||
| const char * | n11 = "", |
|||
| const char * | n12 = "" | |||
| ) | [virtual] |
| virtual void TGLVEntry::SetPictures | ( | const TGPicture * | bigpic = 0, |
|
| const TGPicture * | smallpic = 0 | |||
| ) | [virtual] |
| virtual TGDimension TGLVEntry::GetDefaultSize | ( | ) | const [virtual] |
Reimplemented from TGFrame.
Reimplemented from TGFrame.
TGString* TGLVEntry::fItemName [protected] |
Definition at line 67 of file TGListView.h.
Referenced by DrawCopy(), GetItemName(), GetTitle(), SetItemName(), TTVLVEntry::SetItemName(), SetTitle(), TGLVEntry(), and ~TGLVEntry().
TGString** TGLVEntry::fSubnames [protected] |
Definition at line 68 of file TGListView.h.
Referenced by DrawCopy(), TGFileItem::Init(), SetSubnames(), TGLVEntry(), TRootObjItem::TRootObjItem(), and ~TGLVEntry().
Int_t* TGLVEntry::fCpos [protected] |
Definition at line 69 of file TGListView.h.
Referenced by DrawCopy(), SetColumns(), and TGLVEntry().
Int_t* TGLVEntry::fJmode [protected] |
Definition at line 70 of file TGListView.h.
Referenced by DrawCopy(), SetColumns(), and TGLVEntry().
Int_t* TGLVEntry::fCtw [protected] |
Definition at line 71 of file TGListView.h.
Referenced by DrawCopy(), GetSubnameWidth(), TGFileItem::Init(), SetSubnames(), TGLVEntry(), TRootObjItem::TRootObjItem(), and ~TGLVEntry().
UInt_t TGLVEntry::fTWidth [protected] |
Definition at line 72 of file TGListView.h.
Referenced by DrawCopy(), GetDefaultSize(), TTVLVEntry::SetItemName(), and TGLVEntry().
UInt_t TGLVEntry::fTHeight [protected] |
Definition at line 73 of file TGListView.h.
Referenced by DrawCopy(), GetDefaultSize(), TTVLVEntry::SetItemName(), and TGLVEntry().
Bool_t TGLVEntry::fActive [protected] |
Definition at line 74 of file TGListView.h.
Referenced by Activate(), DrawCopy(), TGFileItem::IsActive(), IsActive(), TTVLVEntry::SetSmallPic(), SetViewMode(), and TGLVEntry().
Bool_t TGLVEntry::fChecked [protected] |
Definition at line 75 of file TGListView.h.
Referenced by DrawCopy(), SetCheckedEntry(), and TGLVEntry().
EListViewMode TGLVEntry::fViewMode [protected] |
Definition at line 76 of file TGListView.h.
Referenced by TGFileItem::DoRedraw(), DrawCopy(), GetDefaultSize(), GetViewMode(), TGFileItem::Init(), SetPictures(), SetViewMode(), and TGLVEntry().
const TGPicture* TGLVEntry::fBigPic [protected] |
Definition at line 77 of file TGListView.h.
Referenced by SetPictures(), SetViewMode(), and TGLVEntry().
const TGPicture* TGLVEntry::fSmallPic [protected] |
Definition at line 78 of file TGListView.h.
Referenced by SetPictures(), TTVLVEntry::SetSmallPic(), SetViewMode(), and TGLVEntry().
const TGPicture* TGLVEntry::fCurrent [protected] |
Definition at line 79 of file TGListView.h.
Referenced by Activate(), DrawCopy(), GetDefaultSize(), GetPicture(), SetPictures(), TTVLVEntry::SetSmallPic(), SetViewMode(), and TGLVEntry().
const TGPicture* TGLVEntry::fCheckMark [protected] |
TGSelectedPicture* TGLVEntry::fSelPic [protected] |
Definition at line 81 of file TGListView.h.
Referenced by Activate(), DrawCopy(), SetPictures(), TTVLVEntry::SetSmallPic(), SetViewMode(), TGLVEntry(), and ~TGLVEntry().
GContext_t TGLVEntry::fNormGC [protected] |
Definition at line 82 of file TGListView.h.
Referenced by TGFileItem::DoRedraw(), DrawCopy(), and TGLVEntry().
FontStruct_t TGLVEntry::fFontStruct [protected] |
Definition at line 83 of file TGListView.h.
Referenced by DrawCopy(), TGFileItem::Init(), TTVLVEntry::SetItemName(), SetSubnames(), TGLVEntry(), and TRootObjItem::TRootObjItem().
void* TGLVEntry::fUserData [protected] |
Definition at line 84 of file TGListView.h.
Referenced by GetUserData(), SetUserData(), and TGLVEntry().
const TGFont * TGLVEntry::fgDefaultFont [static, protected] |
Definition at line 86 of file TGListView.h.
Referenced by GetDefaultFontStruct(), and GetDefaultGC().
TGGC * TGLVEntry::fgDefaultGC [static, protected] |
TGString* TGLVEntry::fItemName [protected] |
Definition at line 67 of file TGListView.h.
TGString** TGLVEntry::fSubnames [protected] |
Definition at line 68 of file TGListView.h.
Int_t* TGLVEntry::fCpos [protected] |
Definition at line 69 of file TGListView.h.
Int_t* TGLVEntry::fJmode [protected] |
Definition at line 70 of file TGListView.h.
Int_t* TGLVEntry::fCtw [protected] |
Definition at line 71 of file TGListView.h.
const TGPicture* TGLVEntry::fBigPic [protected] |
Definition at line 77 of file TGListView.h.
const TGPicture* TGLVEntry::fSmallPic [protected] |
Definition at line 78 of file TGListView.h.
const TGPicture* TGLVEntry::fCurrent [protected] |
Definition at line 79 of file TGListView.h.
const TGPicture* TGLVEntry::fCheckMark [protected] |
Definition at line 80 of file TGListView.h.
TGSelectedPicture* TGLVEntry::fSelPic [protected] |
Definition at line 81 of file TGListView.h.
void* TGLVEntry::fUserData [protected] |
Definition at line 84 of file TGListView.h.
const TGFont* TGLVEntry::fgDefaultFont [static, protected] |
Definition at line 86 of file TGListView.h.
TGGC* TGLVEntry::fgDefaultGC [static, protected] |
Definition at line 87 of file TGListView.h.
1.5.1