26 #ifndef FIND_SOURCES_DIALOG_QO_H
27 #define FIND_SOURCES_DIALOG_QO_H
32 #include <display/Fit/FindSourcesDialog.ui.h>
37 class QFileSystemModel;
41 class SkyCatOverlayDD;
43 class ColorComboDelegate;
64 bool* errorWritingFile );
76 const QList<double> & world_x,
const QList<double> & world_y,
77 const QList<int> &pixel_x,
const QList<int> &pixel_y,
78 const QString & linecolor,
const QString & text,
const QString & font,
79 int fontsize,
int fontstyle );
81 const QList<double> & world_x,
const QList<double> & world_y,
82 const QList<int> &pixel_x,
const QList<int> &pixel_y );
117 bool screenEstimates =
false,
RegionBox* screeningBox = NULL );
124 std::shared_ptr<const casacore::ImageInterface<float> >
image;
140 Ui::FindSourcesDialogClass
ui;
143 #endif // FIND_SOURCES_DIALOG_QO_H
void setOverlayColor(const QString &colorName)
FindSourcesDialog(QWidget *parent=0, bool displayModeFunctionality=true)
void directoryChanged(const QModelIndex &modelIndex)
static const QStringList colorNames
Displays a dialog that allows the user to find and edit a source list that can be used as estimates f...
void deleteSelectedSource()
QString getRegionString() const
FindSourcesDialog & operator=(const FindSourcesDialog &other)
QFileSystemModel * fileModel
const QString SKY_CATALOG
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the if a human readable name(i.e."black").In many places throughout the plotter
casacore::String getPixelBox() const
casacore::Vector< int > trcVector
void removeOverlay(casacore::String path)
void validateDirectory(const QString &str)
void setSourceResultsVisible(bool visible)
Provides convenient accessors and functionality for a ComponentList.
void setTableValue(int row, int col, const casacore::String &val)
PixelRangeDialog pixelRangeDialog
ComponentListWrapper skyList
void viewerDisplayChanged()
Ui::FindSourcesDialogClass ui
std::string path(const std::string &name)
A hierarchical collection of named fields of various types.
void showOverlay(casacore::String, const QString &)
QString getRemoveOverlayPath() const
bool newRegion(int id, const QString &shape, const QString &name, const QList< double > &world_x, const QList< double > &world_y, const QList< int > &pixel_x, const QList< int > &pixel_y, const QString &linecolor, const QString &text, const QString &font, int fontsize, int fontstyle)
void cutoffModeChanged(bool noise)
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape...
void populateImageBounds()
Written because when a fit of a residual image was being done, the region bounds were larger than the...
void resetCurrentId(int suggestedId)
QMap< int, RegionBox * > regions
casacore::String getScreenedEstimatesFile(const casacore::String &estimatesFileName, bool *errorWritingFile)
Displays a histogram that allows the user to set a include/exclude pixel range for the fit...
casacore::String pixelBox
ColorComboDelegate * colorDelegate
std::shared_ptr< const casacore::ImageInterface< float > > image
void estimateFileSpecified(const QString &fullPath)
bool updateRegion(int id, viewer::region::RegionChanges changes, const QList< double > &world_x, const QList< double > &world_y, const QList< int > &pixel_x, const QList< int > &pixel_y)
String: the storage and methods of handling collections of characters.
void canceledFindSources()
bool writeEstimateFile(QString &filePath, bool screenEstimates=false, RegionBox *screeningBox=NULL)
void setChannel(int channel)
void initializeFileManagement()
casacore::Record makeRegion(bool *valid)
double populateCutOff(bool *valid) const
QString getImagePixelBox() const
void setImage(std::shared_ptr< const casacore::ImageInterface< float > > image)
casacore::Vector< int > blcVector
void setImageMode(bool imageMode)