#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 23 of file FWTextTreeCellRenderer.h.
|
inlinestatic |
Definition at line 47 of file FWTextTreeCellRenderer.h.
References coreIcondir().
Referenced by draw().
|
inlinestatic |
Definition at line 36 of file FWTextTreeCellRenderer.h.
References callgraph::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 87 of file FWTextTreeCellRenderer.h.
References EnergyCorrector::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(), and findQualityFiles::size.
Referenced by Vispa.Gui.PortConnection.PointToPointConnection::paintEvent().
|
inlinestatic |
Definition at line 66 of file FWTextTreeCellRenderer.h.
References openedImage(), and s_iconOffset.
Referenced by FWOverlapTableManager::cellRenderer(), FWGeometryTableManager::cellRenderer(), FWPSetTableManager::cellRenderer(), and width().
|
inlinestatic |
Definition at line 56 of file FWTextTreeCellRenderer.h.
References coreIcondir().
Referenced by draw(), and iconWidth().
|
inline |
Definition at line 78 of file FWTextTreeCellRenderer.h.
References m_blackIcon, and relativeConstraints::value.
Referenced by FWGeometryTableManagerBase::setBackgroundToWhite().
|
inlinevirtual |
Definition at line 72 of file FWTextTreeCellRenderer.h.
References idDealer::editor, and m_editor.
Referenced by FWPSetTableManager::setCellValueEditor(), and FWGeometryTableManagerBase::setCellValueEditor().
|
inlinevirtual |
Definition at line 71 of file FWTextTreeCellRenderer.h.
References m_indentation.
Referenced by FWOverlapTableManager::cellRenderer(), FWGeometryTableManager::cellRenderer(), and FWPSetTableManager::cellRenderer().
|
inline |
Definition at line 77 of file FWTextTreeCellRenderer.h.
References m_isOpen, and relativeConstraints::value.
Referenced by FWOverlapTableManager::cellRenderer(), FWGeometryTableManager::cellRenderer(), and FWPSetTableManager::cellRenderer().
|
inline |
Definition at line 76 of file FWTextTreeCellRenderer.h.
References m_isParent, and relativeConstraints::value.
Referenced by FWOverlapTableManager::cellRenderer(), FWGeometryTableManager::cellRenderer(), and FWPSetTableManager::cellRenderer().
|
inlinevirtual |
Definition at line 73 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 80 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::drawPortNames(), Vispa.Gui.VispaWidget.VispaWidget::imageRectF(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), 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 147 of file FWTextTreeCellRenderer.h.
Referenced by draw(), and setBlackIcon().
|
private |
Definition at line 143 of file FWTextTreeCellRenderer.h.
Referenced by draw(), and setCellEditor().
|
private |
Definition at line 142 of file FWTextTreeCellRenderer.h.
Referenced by draw(), setIndentation(), and width().
|
private |
Definition at line 146 of file FWTextTreeCellRenderer.h.
Referenced by draw(), and setIsOpen().
|
private |
Definition at line 145 of file FWTextTreeCellRenderer.h.
Referenced by draw(), setIsParent(), and width().
|
private |
Definition at line 144 of file FWTextTreeCellRenderer.h.
Referenced by draw(), and showEditor().
|
staticprotected |
Definition at line 19 of file FWTextTreeCellRenderer.h.
Referenced by draw(), and iconWidth().