// $Id: QtSCT/SctViewAggTVert.hpp 2014/09/29 13:48:59 philw $ // Qt SCT View -- Series Slot Tab Content -- Qt3 Specialization // // class SctViewAggTVert : public SctView // // - Horizontal Time // - Timestep Aggregation // // For the Qt4 port, the implementation of this SctView sublass has been // MOVED mostly to the SctTableModel_TVertAgg Qt4 QAbstractItemModel. // // SEE NOTES in SctView.cpp //--- #ifndef SctViewAggTVertINCLUDED #define SctViewAggTVertINCLUDED #ifndef SctViewINCLUDED #include "SctView.hpp" #endif #ifndef CallbackINCLUDED #include "Callback.hpp" #endif // ***************** // *** Slot View *** // ***************** class SctViewAggTVert : public SctView { Q_OBJECT private: // Slot callbacks for slots used by Custom Summary Slot References. QMap _slotCallbackMap; // MultiMap from Slot to SCT Columns QMultiMap _customSummarySlotRefColMap; // Map from (Custom Summary Item Index / SCT Column) to Slot typedef QPair CustSumSlotInxColPair; QMap _custSumSlotColSlotMap; public: SctViewAggTVert (SctDialog*, QWidget*); virtual ~SctViewAggTVert(); bool isAggregated() const override { return true; } bool tstepAxisIsVertical() const override { return true; } bool tstepAxisIsHorizontal() const override { return false; } // Special for Aggregated Vertical Time View const QList getOpenTimeAggDateTimes() const override; void setOpenTimeAggFromDateTimes ( const QList&, bool doGuiRefresh) override; void updateCustomSummaryCellsForSctSlotTimestep ( int sinx, int tinx) override; }; #endif //--- (end SctViewAggTVert.hpp) ---