+//////////////////////////////////////////
+// DlgRef_3Sel2Check3Spin
+//////////////////////////////////////////
+
+DlgRef_3Sel2Check3Spin::DlgRef_3Sel2Check3Spin( QWidget* parent, Qt::WindowFlags f )
+: QWidget( parent, f )
+{
+ setupUi( this );
+}
+
+DlgRef_3Sel2Check3Spin::~DlgRef_3Sel2Check3Spin()
+{
+}
+
+void DlgRef_3Sel2Check3Spin::ShowRows( int fromRow, int toRow, bool toShow )
+{
+ const int maxRows = 8;
+
+ if ( toRow >= fromRow && fromRow >= 0 && toRow <= maxRows ) {
+ int c = gridLayout1->count();
+ for ( int i = 0; i < c; i++ ) {
+ QWidget* w = gridLayout1->itemAt( i )->widget();
+ int row, col, rowspan, colspan;
+ gridLayout1->getItemPosition( i, &row, &col, &rowspan, &colspan );
+ if ( w && row >= fromRow && row <= toRow )
+ w->setVisible( toShow );
+ }
+ }
+}
+