/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Fireworks/Core/src/FWCollectionSummaryModelCellRenderer.h
61 строка
2 KB
Shahzad Malik Muzaffar
[Fireworks][clang-tidy] modernize-use-equals-delete suggests to make deleted member function public
28 июл 2021, 12:33
28 июл 2021, 12:33
68a6350
Код
Авторство
О чём код?
#ifndef Fireworks_Core_FWCollectionSummaryModelCellRenderer_h #define Fireworks_Core_FWCollectionSummaryModelCellRenderer_h // -*- C++ -*- // // Package: Core // Class : FWCollectionSummaryModelCellRenderer // /**\class FWCollectionSummaryModelCellRenderer FWCollectionSummaryModelCellRenderer.h Fireworks/Core/interface/FWCollectionSummaryModelCellRenderer.h Description: <one line class summary> Usage: <usage> */ // // Original Author: Chris Jones // Created: Wed Feb 25 10:03:21 CST 2009 // // system include files // user include files #include "Fireworks/TableWidget/interface/FWTextTableCellRenderer.h" // forward declarations class FWColorBoxIcon; class FWCheckBoxIcon; class FWEventItem; class FWCollectionSummaryModelCellRenderer : public FWTextTableCellRenderer { public: FWCollectionSummaryModelCellRenderer(const TGGC* iContext, const TGGC* iSelectContext); ~FWCollectionSummaryModelCellRenderer() override; enum ClickHit { kMiss, kHitCheck, kHitColor }; // ---------- const member functions --------------------- UInt_t width() const override; // ---------- static member functions -------------------- // ---------- member functions --------------------------- void draw(Drawable_t iID, int iX, int iY, unsigned int iWidth, unsigned int iHeight) override; void setData(const FWEventItem* iItem, int iIndex); ClickHit clickHit(int iX, int iY) const; FWCollectionSummaryModelCellRenderer(const FWCollectionSummaryModelCellRenderer&) = delete; // stop default const FWCollectionSummaryModelCellRenderer& operator=(const FWCollectionSummaryModelCellRenderer&) = delete; // stop default private: // ---------- member data -------------------------------- FWColorBoxIcon* m_colorBox; FWCheckBoxIcon* m_checkBox; TGGC* m_colorContext; }; #endif