#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) | |
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 |
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 () | |
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 16 of file FWTextTreeCellRenderer.h.
|
inline |
Definition at line 21 of file FWTextTreeCellRenderer.h.
|
inlinestatic |
Definition at line 43 of file FWTextTreeCellRenderer.h.
References coreIcondir().
Referenced by draw().
|
inlinestatic |
Definition at line 33 of file FWTextTreeCellRenderer.h.
References 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 74 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, openedImage(), s_iconOffset, FWTextTableCellRenderer::selected(), findQualityFiles::size, and phase1PixelTopology::xOffset.
Referenced by Vispa.Gui.PortConnection.PointToPointConnection::paintEvent().
|
inlinestatic |
Definition at line 57 of file FWTextTreeCellRenderer.h.
References openedImage(), and s_iconOffset.
Referenced by FWOverlapTableManager::cellRenderer(), FWGeometryTableManager::cellRenderer(), FWPSetTableManager::cellRenderer(), and width().
|
inlinestatic |
Definition at line 50 of file FWTextTreeCellRenderer.h.
References coreIcondir().
Referenced by draw(), and iconWidth().
|
inline |
Definition at line 65 of file FWTextTreeCellRenderer.h.
References m_blackIcon, and relativeConstraints::value.
Referenced by FWGeometryTableManagerBase::setBackgroundToWhite().
|
inlinevirtual |
Definition at line 60 of file FWTextTreeCellRenderer.h.
References m_editor.
Referenced by FWPSetTableManager::setCellValueEditor(), and FWGeometryTableManagerBase::setCellValueEditor().
|
inlinevirtual |
Definition at line 59 of file FWTextTreeCellRenderer.h.
References printContent_cfi::indentation, and m_indentation.
Referenced by FWOverlapTableManager::cellRenderer(), FWGeometryTableManager::cellRenderer(), and FWPSetTableManager::cellRenderer().
|
inline |
Definition at line 64 of file FWTextTreeCellRenderer.h.
References m_isOpen, and relativeConstraints::value.
Referenced by FWOverlapTableManager::cellRenderer(), FWGeometryTableManager::cellRenderer(), and FWPSetTableManager::cellRenderer().
|
inline |
Definition at line 63 of file FWTextTreeCellRenderer.h.
References m_isParent, and relativeConstraints::value.
Referenced by FWOverlapTableManager::cellRenderer(), FWGeometryTableManager::cellRenderer(), and FWPSetTableManager::cellRenderer().
|
inlinevirtual |
Definition at line 61 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 67 of file FWTextTreeCellRenderer.h.
References iconWidth(), m_indentation, m_isParent, w, and FWTextTableCellRenderer::width().
Referenced by Vispa.Main.MainWindow.MainWindow::_saveIni(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), Vispa.Gui.VispaWidget.VispaWidget::contentRect(), Vispa.Gui.VispaWidget.VispaWidget::defineArrowBackgroundShape(), Vispa.Gui.VispaWidget.VispaWidget::defineCircleBackgroundShape(), Vispa.Gui.VispaWidget.VispaWidget::defineRoundRectBackgroundShape(), Vispa.Gui.VispaWidget.VispaWidget::drawHeaderBackground(), Vispa.Gui.ConnectableWidget.ConnectableWidget::drawPortLines(), Vispa.Gui.ConnectableWidget.ConnectableWidget::drawPortNames(), Vispa.Gui.VispaWidget.VispaWidget::imageRectF(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), Vispa.Gui.VispaWidget.VispaWidget::resize(), Vispa.Views.PropertyView.PropertyView::resizeEvent(), Vispa.Views.PropertyView.PropertyView::sectionResized(), Vispa.Gui.VispaWidget.VispaWidget::setZoom(), and Vispa.Main.MainWindow.MainWindow::updateStartupScreenGeometry().
|
private |
Definition at line 139 of file FWTextTreeCellRenderer.h.
Referenced by draw(), and setBlackIcon().
|
private |
Definition at line 135 of file FWTextTreeCellRenderer.h.
Referenced by draw(), and setCellEditor().
|
private |
Definition at line 134 of file FWTextTreeCellRenderer.h.
Referenced by draw(), setIndentation(), and width().
|
private |
Definition at line 138 of file FWTextTreeCellRenderer.h.
Referenced by draw(), and setIsOpen().
|
private |
Definition at line 137 of file FWTextTreeCellRenderer.h.
Referenced by draw(), setIsParent(), and width().
|
private |
Definition at line 136 of file FWTextTreeCellRenderer.h.
Referenced by draw(), and showEditor().
|
staticprotected |
Definition at line 18 of file FWTextTreeCellRenderer.h.
Referenced by draw(), and iconWidth().