#include <FWTextTreeCellRenderer.h>
Public Member Functions | |
void | draw (Drawable_t iID, int iX, int iY, unsigned int iWidth, unsigned int iHeight) override |
FWTextTreeCellRenderer (const TGGC *iContext=&(getDefaultGC()), const TGGC *iHighlightContext=&(getDefaultHighlightGC()), Justify iJustify=kJustifyLeft) | |
void | setBlackIcon (bool value) |
virtual void | setCellEditor (TGTextEntry *editor) |
virtual void | setIndentation (int indentation=0) |
void | setIsOpen (bool value) |
void | setIsParent (bool value) |
virtual void | showEditor (bool value) |
UInt_t | width () const override |
returns the minimum width of the cell to which the renderer is representing More... | |
Public Member Functions inherited from FWTextTableCellRenderer | |
const std::string & | data () |
const TGFont * | font () const |
FWTextTableCellRenderer (const TGGC *iContext=&(getDefaultGC()), const TGGC *iHighlightContext=&(getDefaultHighlightGC()), Justify iJustify=kJustifyLeft) | |
FWTextTableCellRenderer (const FWTextTableCellRenderer &)=delete | |
const TGGC * | graphicsContext () const |
UInt_t | height () const override |
returns the minimum height of the cell to which the renderer is representing More... | |
const TGGC * | highlightContext () const |
const FWTextTableCellRenderer & | operator= (const FWTextTableCellRenderer &)=delete |
bool | selected () |
void | setData (const std::string &, bool isSelected) |
void | setData (const char *, bool isSelected) |
void | setGraphicsContext (const TGGC *iContext) |
void | setHighlightContext (const TGGC *context) |
void | setJustify (Justify) |
~FWTextTableCellRenderer () override | |
Public Member Functions inherited from FWTableCellRendererBase | |
virtual void | buttonEvent (Event_t *iClickEvent, int iRelClickX, int iRelClickY) |
FWTableCellRendererBase () | |
FWTableCellRendererBase (const FWTableCellRendererBase &)=delete | |
const FWTableCellRendererBase & | operator= (const FWTableCellRendererBase &)=delete |
virtual | ~FWTableCellRendererBase () |
Static Public Member Functions | |
static const TGPicture * | closedImage (bool isBlack=true) |
static const TString & | coreIcondir () |
static int | iconWidth () |
static const TGPicture * | openedImage (bool isBlack=true) |
Static Public Member Functions inherited from FWTextTableCellRenderer | |
static const TGGC & | getDefaultGC () |
static const TGGC & | getDefaultHighlightGC () |
Static Protected Attributes | |
static const int | s_iconOffset = 2 |
Private Attributes | |
bool | m_blackIcon |
TGTextEntry * | m_editor |
int | m_indentation |
bool | m_isOpen |
bool | m_isParent |
bool | m_showEditor |
Additional Inherited Members | |
Public Types inherited from FWTextTableCellRenderer | |
enum | Justify { kJustifyLeft, kJustifyRight, kJustifyCenter } |
Definition at line 17 of file FWTextTreeCellRenderer.h.
|
inline |
Definition at line 22 of file FWTextTreeCellRenderer.h.
|
inlinestatic |
Definition at line 44 of file FWTextTreeCellRenderer.h.
References coreIcondir().
Referenced by draw().
|
inlinestatic |
Definition at line 34 of file FWTextTreeCellRenderer.h.
References cms::cuda::assert(), and castor_dqm_sourceclient_file_cfg::path.
Referenced by closedImage(), and openedImage().
|
inlineoverridevirtual |
Called to draw a particular cell: arguments iID: the id for the drawable in the window. Needed in order to do calls to gVirtualX or to TGFont iX: screen x position that the cell drawing area starts iY: screen y position that the cell drawing area starts iWidth: width (x dimension) of cell drawing area. May be larger than value returned from width() iHeight: height (x dimension) of cell drawing area. May be larger than value returned from height()
Reimplemented from FWTextTableCellRenderer.
Definition at line 75 of file FWTextTreeCellRenderer.h.
References HltBtagPostValidation_cff::c, closedImage(), FWTextTableCellRenderer::data(), FWTextTableCellRenderer::font(), FWTextTableCellRenderer::getDefaultGC(), FWTextTableCellRenderer::graphicsContext(), FWTextTableCellRenderer::highlightContext(), FWTabularWidget::kTextBuffer, m_blackIcon, m_editor, m_indentation, m_isOpen, m_isParent, m_showEditor, mergeResourcesJson::metrics, openedImage(), s_iconOffset, FWTextTableCellRenderer::selected(), and findQualityFiles::size.
|
inlinestatic |
Definition at line 58 of file FWTextTreeCellRenderer.h.
References openedImage(), and s_iconOffset.
Referenced by FWOverlapTableManager::cellRenderer(), FWGeometryTableManager::cellRenderer(), FWPSetTableManager::cellRenderer(), and width().
|
inlinestatic |
Definition at line 51 of file FWTextTreeCellRenderer.h.
References coreIcondir().
Referenced by draw(), and iconWidth().
|
inline |
Definition at line 66 of file FWTextTreeCellRenderer.h.
References m_blackIcon, and relativeConstraints::value.
Referenced by FWGeometryTableManagerBase::setBackgroundToWhite().
|
inlinevirtual |
Definition at line 61 of file FWTextTreeCellRenderer.h.
References m_editor.
Referenced by FWPSetTableManager::setCellValueEditor(), and FWGeometryTableManagerBase::setCellValueEditor().
|
inlinevirtual |
Definition at line 60 of file FWTextTreeCellRenderer.h.
References printContent_cfi::indentation, and m_indentation.
Referenced by FWOverlapTableManager::cellRenderer(), FWGeometryTableManager::cellRenderer(), and FWPSetTableManager::cellRenderer().
|
inline |
Definition at line 65 of file FWTextTreeCellRenderer.h.
References m_isOpen, and relativeConstraints::value.
Referenced by FWOverlapTableManager::cellRenderer(), FWGeometryTableManager::cellRenderer(), and FWPSetTableManager::cellRenderer().
|
inline |
Definition at line 64 of file FWTextTreeCellRenderer.h.
References m_isParent, and relativeConstraints::value.
Referenced by FWOverlapTableManager::cellRenderer(), FWGeometryTableManager::cellRenderer(), and FWPSetTableManager::cellRenderer().
|
inlinevirtual |
Definition at line 62 of file FWTextTreeCellRenderer.h.
References m_showEditor, and relativeConstraints::value.
Referenced by FWOverlapTableManager::cellRenderer(), FWGeometryTableManager::cellRenderer(), and FWPSetTableManager::cellRenderer().
|
inlineoverridevirtual |
returns the minimum width of the cell to which the renderer is representing
Reimplemented from FWTextTableCellRenderer.
Definition at line 68 of file FWTextTreeCellRenderer.h.
References iconWidth(), m_indentation, m_isParent, w(), and FWTextTableCellRenderer::width().
|
private |
Definition at line 140 of file FWTextTreeCellRenderer.h.
Referenced by draw(), and setBlackIcon().
|
private |
Definition at line 136 of file FWTextTreeCellRenderer.h.
Referenced by draw(), and setCellEditor().
|
private |
Definition at line 135 of file FWTextTreeCellRenderer.h.
Referenced by draw(), setIndentation(), and width().
|
private |
Definition at line 139 of file FWTextTreeCellRenderer.h.
Referenced by draw(), and setIsOpen().
|
private |
Definition at line 138 of file FWTextTreeCellRenderer.h.
Referenced by draw(), setIsParent(), and width().
|
private |
Definition at line 137 of file FWTextTreeCellRenderer.h.
Referenced by draw(), and showEditor().
|
staticprotected |
Definition at line 19 of file FWTextTreeCellRenderer.h.
Referenced by draw(), and iconWidth().