From: nds Date: Tue, 10 Nov 2009 05:46:01 +0000 (+0000) Subject: Methods of communication with cell of a table become virtual in order to have opportu... X-Git-Tag: V2_3_0~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=eb8c4d5a5e206ed9bb06dd8644b368fc7f874027;p=modules%2Fgui.git Methods of communication with cell of a table become virtual in order to have opportunity to change their behavior in the table child classes. --- diff --git a/src/Qtx/QtxTable.h b/src/Qtx/QtxTable.h index 0c2e2a33b..283a11bd3 100644 --- a/src/Qtx/QtxTable.h +++ b/src/Qtx/QtxTable.h @@ -92,17 +92,17 @@ public: virtual void setHeaderBackground( const Qt::Orientation, const int, const QColor& ); virtual void setHeaderIcon( const Qt::Orientation, const int, const QIcon& ); - QVariant cellData( const int, const int ) const; - QFont cellFont( const int, const int ) const; - QColor cellForeground( const int, const int ) const; - QColor cellBackground( const int, const int ) const; - QIcon cellIcon( const int, const int ) const; - - void setCellData( const int, const int, const QVariant& ); - void setCellFont( const int, const int, const QFont& ); - void setCellForeground( const int, const int, const QColor& ); - void setCellBackground( const int, const int, const QColor& ); - void setCellIcon( const int, const int, QIcon& ); + virtual QVariant cellData( const int, const int ) const; + virtual QFont cellFont( const int, const int ) const; + virtual QColor cellForeground( const int, const int ) const; + virtual QColor cellBackground( const int, const int ) const; + virtual QIcon cellIcon( const int, const int ) const; + + virtual void setCellData( const int, const int, const QVariant& ); + virtual void setCellFont( const int, const int, const QFont& ); + virtual void setCellForeground( const int, const int, const QColor& ); + virtual void setCellBackground( const int, const int, const QColor& ); + virtual void setCellIcon( const int, const int, QIcon& ); virtual QTableWidgetItem* getItem( const int, const int, const bool = true ); virtual QModelIndexList getSelectedIndexes();