30 #include <casaqt/QtBrowser/TBSlicer.ui.h>
std::vector< int > values
Current slice values.
void colAxisChanged(int newCol)
Slot for when the column axis dimension is changed.
TBSlicer(std::vector< int > d)
Constructor that takes the shape of the array.
void emitSliceChanged()
Collects the slice and emits the sliceChanged() signal.
void rowAxisChanged(int newRow)
Slot for when the row axis dimension is changed.
std::vector< QSpinBox * > spinners
Current spinners.
bool shouldEmit
Flag to indicate whether GUI-generated events are "genuine.".
void valueChanged()
Slot for when one of the spinners changes values.
Widget to display and change the current array slice.
int oldR
Holds the old row index.
int oldC
Holds the old column index.
void sliceChanged(std::vector< int > slice)
This signal is emitted when the user changes the slice.