Skip to content

Commit

Permalink
apps/radar/Qucid - working on field menu
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-dixon committed Feb 25, 2024
1 parent f3f735d commit b816dee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions codebase/apps/radar/src/Qucid/CartManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
#include <QTimer>
#include <QDesktopServices>
#include <QTableWidget>
#include <QHeaderView>

#include <fstream>
#include <toolsa/toolsa_macros.h>
Expand Down Expand Up @@ -1952,8 +1953,6 @@ void CartManager::_createFieldMenu()
int nfields = _params.fields_n;
int nrows = (int) ((double) (nfields - 1) / ncols) + 1;

cerr << "111111111111 ncols, nrows: " << ncols << ", " << nrows << endl;

_fieldTable->setRowCount(nrows);
_fieldTable->setColumnCount(ncols);
// _fieldMenu->setHorizontalHeaderLabels("Fields");
Expand All @@ -1971,6 +1970,9 @@ void CartManager::_createFieldMenu()
} // irow
} // icol

_fieldTable->verticalHeader()->setVisible(false);
_fieldTable->horizontalHeader()->setVisible(false);

}

/////////////////////////////////////
Expand Down

0 comments on commit b816dee

Please sign in to comment.