Install SeisComP and scanloc ARM64 nightly packages
This commit is contained in:
@ -164,6 +164,7 @@ class SC_GUI_API AmplitudeRecordLabel : public StandardRecordLabel {
|
||||
public:
|
||||
double latitude;
|
||||
double longitude;
|
||||
double elevation;
|
||||
const DataModel::SensorLocation *location;
|
||||
|
||||
Core::TimeWindow timeWindow;
|
||||
@ -204,6 +205,7 @@ class SC_GUI_API AmplitudeView : public QMainWindow {
|
||||
|
||||
QString recordURL;
|
||||
FilterList filters;
|
||||
AuxiliaryChannelProfiles auxiliaryChannelProfiles;
|
||||
|
||||
bool showAllComponents;
|
||||
bool loadStrongMotionData;
|
||||
@ -220,6 +222,11 @@ class SC_GUI_API AmplitudeView : public QMainWindow {
|
||||
Core::TimeSpan preOffset;
|
||||
Core::TimeSpan postOffset;
|
||||
|
||||
double defaultNoiseBegin{-30};
|
||||
double defaultNoiseEnd{0};
|
||||
double defaultSignalBegin{0};
|
||||
double defaultSignalEnd{30};
|
||||
|
||||
Config();
|
||||
|
||||
void addFilter(const QString &f, const QString &n) {
|
||||
@ -385,17 +392,19 @@ class SC_GUI_API AmplitudeView : public QMainWindow {
|
||||
|
||||
void openConnectionInfo(const QPoint &);
|
||||
|
||||
void ttInterfaceChanged(QString);
|
||||
void ttTableChanged(QString);
|
||||
void ttInterfaceChanged(int);
|
||||
void ttTableChanged(int);
|
||||
|
||||
|
||||
protected:
|
||||
void showEvent(QShowEvent* event);
|
||||
void changeEvent(QEvent *e) override;
|
||||
|
||||
RecordLabel* createLabel(RecordViewItem*) const;
|
||||
|
||||
|
||||
private:
|
||||
void applyThemeColors();
|
||||
void figureOutTravelTimeTable();
|
||||
|
||||
void init();
|
||||
|
||||
@ -21,6 +21,7 @@
|
||||
#ifndef SEISCOMP_GUI_EVENTEDIT_H
|
||||
#define SEISCOMP_GUI_EVENTEDIT_H
|
||||
|
||||
|
||||
#include <QWidget>
|
||||
#include <string>
|
||||
#include <list>
|
||||
@ -36,16 +37,25 @@
|
||||
#endif
|
||||
#include <seiscomp/gui/qt.h>
|
||||
#include <seiscomp/gui/datamodel/originsymbol.h>
|
||||
#include <seiscomp/gui/datamodel/stationsymbol.h>
|
||||
#include <seiscomp/gui/datamodel/tensorsymbol.h>
|
||||
#include <seiscomp/gui/map/mapwidget.h>
|
||||
|
||||
#include <seiscomp/gui/datamodel/ui_eventedit.h>
|
||||
|
||||
|
||||
namespace Seiscomp {
|
||||
namespace Gui {
|
||||
|
||||
namespace Map {
|
||||
|
||||
class AnnotationLayer;
|
||||
|
||||
}
|
||||
|
||||
|
||||
// Extends tensor symbol by label and reference position
|
||||
class SC_GUI_API ExtTensorSymbol : public TensorSymbol {
|
||||
class SC_GUI_API ExtTensorSymbol : public TensorSymbol {
|
||||
public:
|
||||
ExtTensorSymbol(const Math::Tensor2Sd &t,
|
||||
const DataModel::FocalMechanism *fm,
|
||||
@ -57,28 +67,29 @@ class SC_GUI_API ExtTensorSymbol : public TensorSymbol {
|
||||
void setDrawAgency(bool enabled) { _drawAgency = enabled; }
|
||||
void setDrawMagnitude(bool enabled) { _drawMagnitude = enabled; }
|
||||
void setDrawDepth(bool enabled) { _drawDepth = enabled; }
|
||||
void setReferencePositionEnabled(bool enabled) { _refPosEnabled = enabled; }
|
||||
void setReferencePosition(const QPointF &refPos) { _refPos = refPos; }
|
||||
QPointF referencePosition() const { return _refPos; }
|
||||
|
||||
const QString& agencyID() const { return _agency; }
|
||||
const Core::Time& created() const { return _created; }
|
||||
const DataModel::FocalMechanism *model() const { return _fm.get(); }
|
||||
const QString &agencyID() const { return _agency; }
|
||||
OPT(Core::Time) created() const { return _created; }
|
||||
|
||||
protected:
|
||||
virtual void customDraw(const Map::Canvas *canvas, QPainter &painter);
|
||||
|
||||
private:
|
||||
bool _selected;
|
||||
bool _refPosEnabled;
|
||||
QPointF _refPos;
|
||||
DataModel::FocalMechanismCPtr _fm;
|
||||
bool _selected;
|
||||
QPointF _refPos;
|
||||
|
||||
QString _agency;
|
||||
QString _magnitude;
|
||||
QString _depth;
|
||||
Core::Time _created;
|
||||
QString _agency;
|
||||
QString _magnitude;
|
||||
QString _depth;
|
||||
OPT(Core::Time) _created;
|
||||
|
||||
bool _drawAgency;
|
||||
bool _drawMagnitude;
|
||||
bool _drawDepth;
|
||||
bool _drawAgency;
|
||||
bool _drawMagnitude;
|
||||
bool _drawDepth;
|
||||
};
|
||||
|
||||
|
||||
@ -102,23 +113,29 @@ class SC_GUI_API FMMap : public MapWidget {
|
||||
void setCurrentFM(const std::string &id);
|
||||
void setEvent(const DataModel::Event *event);
|
||||
|
||||
void setDrawStations(bool draw);
|
||||
void setDrawStationAnnotations(bool draw);
|
||||
|
||||
protected:
|
||||
void contextMenuEvent(QContextMenuEvent *e);
|
||||
|
||||
private:
|
||||
void init();
|
||||
void updateSmartLayout();
|
||||
void updateStations(const DataModel::FocalMechanism *fm);
|
||||
|
||||
private:
|
||||
typedef std::map<std::string, ExtTensorSymbol*> FMSymbols;
|
||||
using FMSymbols = std::map<std::string, ExtTensorSymbol*>;
|
||||
|
||||
FMSymbols _fmSymbols;
|
||||
OriginSymbol *_originSymbol;
|
||||
Map::Layer *_symbolLayer;
|
||||
Map::AnnotationLayer *_annotationLayer;
|
||||
std::string _currentFMID;
|
||||
|
||||
bool _drawAgency;
|
||||
bool _drawMagnitude;
|
||||
bool _drawDepth;
|
||||
bool _drawStations;
|
||||
bool _smartLayout;
|
||||
bool _groupByAgency;
|
||||
|
||||
@ -163,6 +180,8 @@ class SC_GUI_API EventEdit : public QWidget, public DataModel::Observer {
|
||||
void updateFM(Seiscomp::DataModel::FocalMechanism*);
|
||||
|
||||
void showTab(int);
|
||||
void drawStations(bool);
|
||||
void drawStationAnnotations(bool);
|
||||
|
||||
|
||||
private slots:
|
||||
@ -320,4 +339,5 @@ class SC_GUI_API EventEdit : public QWidget, public DataModel::Observer {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@ -18,15 +18,17 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef SEISCOMP_GUI_EVENTLISTVIEW_H
|
||||
#define SEISCOMP_GUI_EVENTLISTVIEW_H
|
||||
|
||||
#ifndef SEISCOMP_GUI_ORIGINLISTVIEW_H
|
||||
#define SEISCOMP_GUI_ORIGINLISTVIEW_H
|
||||
|
||||
#include <seiscomp/gui/core/connectiondialog.h>
|
||||
#include <seiscomp/gui/core/utils.h>
|
||||
#include <seiscomp/gui/qt.h>
|
||||
#include <seiscomp/datamodel/databasequery.h>
|
||||
#include <seiscomp/datamodel/station.h>
|
||||
#include <seiscomp/datamodel/eventparameters_package.h>
|
||||
#ifndef Q_MOC_RUN
|
||||
#include <seiscomp/core/baseobject.h>
|
||||
#include <seiscomp/core/timewindow.h>
|
||||
#include <seiscomp/geo/boundingbox.h>
|
||||
#endif
|
||||
@ -38,6 +40,7 @@
|
||||
class QTreeWidget;
|
||||
class QTreeWidgetItem;
|
||||
|
||||
|
||||
namespace Ui {
|
||||
class EventListView;
|
||||
class EventListViewRegionFilterDialog;
|
||||
@ -46,21 +49,6 @@ namespace Ui {
|
||||
|
||||
namespace Seiscomp {
|
||||
|
||||
namespace DataModel {
|
||||
|
||||
|
||||
DEFINE_SMARTPOINTER(Event);
|
||||
DEFINE_SMARTPOINTER(Origin);
|
||||
DEFINE_SMARTPOINTER(FocalMechanism);
|
||||
DEFINE_SMARTPOINTER(Pick);
|
||||
DEFINE_SMARTPOINTER(Station);
|
||||
DEFINE_SMARTPOINTER(Amplitude);
|
||||
class OriginReference;
|
||||
class DatabaseQuery;
|
||||
class Notifier;
|
||||
|
||||
}
|
||||
|
||||
namespace Client {
|
||||
|
||||
DEFINE_SMARTPOINTER(Connection);
|
||||
@ -87,6 +75,7 @@ class EventFilterWidget;
|
||||
|
||||
|
||||
class CommandMessage;
|
||||
class EventListViewPrivate;
|
||||
|
||||
|
||||
class SC_GUI_API EventListView : public QWidget {
|
||||
@ -107,11 +96,20 @@ class SC_GUI_API EventListView : public QWidget {
|
||||
OPT(float) minLongitude, maxLongitude;
|
||||
OPT(float) minDepth, maxDepth;
|
||||
OPT(float) minMagnitude, maxMagnitude;
|
||||
OPT(int) minPhaseCount, maxPhaseCount;
|
||||
std::string eventID;
|
||||
|
||||
bool isNull() const;
|
||||
};
|
||||
|
||||
struct Region {
|
||||
QString name;
|
||||
Geo::GeoBoundingBox bbox;
|
||||
const Geo::GeoFeature *poly{nullptr};
|
||||
};
|
||||
|
||||
using FilterRegions = QList<Region>;
|
||||
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
// X'truction
|
||||
@ -142,8 +140,8 @@ class SC_GUI_API EventListView : public QWidget {
|
||||
|
||||
QList<Seiscomp::DataModel::Event*> selectedEvents();
|
||||
|
||||
QTreeWidget *eventTree() { return _treeWidget; }
|
||||
Seiscomp::DataModel::Event *eventFromTreeItem(QTreeWidgetItem *item) const;
|
||||
QTreeWidget *eventTree();
|
||||
static Seiscomp::DataModel::Event *eventFromTreeItem(QTreeWidgetItem *item);
|
||||
|
||||
int eventCount() const;
|
||||
|
||||
@ -236,6 +234,8 @@ class SC_GUI_API EventListView : public QWidget {
|
||||
void onShowOtherEvents(int checked);
|
||||
void onShowForeignEvents(int checked);
|
||||
void onHideOutsideRegion(int checked);
|
||||
void onHideFinalRejectedEvents(int checked);
|
||||
void onHideNewEvents(int checked);
|
||||
void onFilterRegionModeChanged(int mode);
|
||||
|
||||
void updateAgencyState();
|
||||
@ -263,6 +263,8 @@ class SC_GUI_API EventListView : public QWidget {
|
||||
const QString &script,
|
||||
int error);
|
||||
|
||||
//! \since 17.0.0
|
||||
void updateOTimeAgo();
|
||||
|
||||
protected:
|
||||
bool eventFilter(QObject *obj, QEvent *event);
|
||||
@ -291,72 +293,11 @@ class SC_GUI_API EventListView : public QWidget {
|
||||
|
||||
void loadItem(QTreeWidgetItem*);
|
||||
|
||||
|
||||
public:
|
||||
struct ProcessColumn {
|
||||
int pos;
|
||||
QString script;
|
||||
};
|
||||
|
||||
struct ItemConfig {
|
||||
ItemConfig() : createFMLink(false) {}
|
||||
|
||||
QColor disabledColor;
|
||||
|
||||
bool createFMLink;
|
||||
QStringList header;
|
||||
QVector<int> columnMap;
|
||||
int customColumn;
|
||||
std::string originCommentID;
|
||||
std::string eventCommentID;
|
||||
QString customDefaultText;
|
||||
QMap<std::string, QColor> customColorMap;
|
||||
QVector<ProcessColumn> originScriptColumns;
|
||||
QVector<ProcessColumn> eventScriptColumns;
|
||||
QSet<int> eventScriptPositions;
|
||||
QHash<QString, int> originScriptColumnMap;
|
||||
QHash<QString, int> eventScriptColumnMap;
|
||||
QSet<int> hiddenEventTypes;
|
||||
QSet<QString> preferredAgencies;
|
||||
};
|
||||
|
||||
struct Region {
|
||||
QString name;
|
||||
Geo::GeoBoundingBox bbox;
|
||||
const Geo::GeoFeature *poly{nullptr};
|
||||
};
|
||||
|
||||
typedef QList<Region> FilterRegions;
|
||||
//! \since 17.0.0
|
||||
void updateOTimeAgoTimer();
|
||||
|
||||
private:
|
||||
::Ui::EventListView *_ui;
|
||||
Private::EventFilterWidget *_filterWidget;
|
||||
ItemConfig _itemConfig;
|
||||
FilterRegions _filterRegions;
|
||||
QTreeWidget *_treeWidget;
|
||||
QTreeWidgetItem *_unassociatedEventItem;
|
||||
QWidget *_commandWaitDialog;
|
||||
QMovie *_busyIndicator;
|
||||
QLabel *_busyIndicatorLabel;
|
||||
//StationMap _associatedStations;
|
||||
Seiscomp::DataModel::DatabaseQuery *_reader;
|
||||
Seiscomp::Core::TimeSpan _timeAgo;
|
||||
Filter _filter;
|
||||
bool _autoSelect;
|
||||
bool _withOrigins;
|
||||
bool _withFocalMechanisms;
|
||||
bool _updateLocalEPInstance;
|
||||
//bool _withComments;
|
||||
bool _blockSelection;
|
||||
bool _blockRemovingOfExpiredEvents;
|
||||
bool _blockCountSignal;
|
||||
bool _hideOtherEvents;
|
||||
bool _hideForeignEvents;
|
||||
bool _hideOutsideRegion;
|
||||
bool _checkEventAgency;
|
||||
bool _showOnlyLatestPerAgency;
|
||||
int _regionIndex;
|
||||
mutable int _visibleEventCount;
|
||||
EventListViewPrivate *_d_ptr;
|
||||
};
|
||||
|
||||
|
||||
@ -383,7 +324,7 @@ class SC_GUI_API EventListViewRegionFilterDialog : public QDialog {
|
||||
// Slots
|
||||
// ------------------------------------------------------------------
|
||||
private slots:
|
||||
void regionSelectionChanged(const QString &);
|
||||
void regionSelectionChanged(int idx);
|
||||
void showError(const QString &);
|
||||
|
||||
|
||||
|
||||
@ -116,7 +116,7 @@ class SC_GUI_API MagRow : public QWidget
|
||||
class SC_GUI_API MagList : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
public:
|
||||
MagList(QWidget *parent = 0);
|
||||
~MagList();
|
||||
@ -168,6 +168,10 @@ class SC_GUI_API EventSummaryView : public QWidget
|
||||
QWidget * parent = 0);
|
||||
~EventSummaryView();
|
||||
|
||||
|
||||
public:
|
||||
void setCache(DataModel::PublicObjectCache *cache);
|
||||
|
||||
void setToolButtonText(const QString&);
|
||||
|
||||
void setScript0(const std::string&, bool oldStyle, bool exportMap);
|
||||
@ -186,6 +190,7 @@ class SC_GUI_API EventSummaryView : public QWidget
|
||||
void addObject(const QString &parentID, Seiscomp::DataModel::Object *obj);
|
||||
void updateObject(const QString &parentID, Seiscomp::DataModel::Object *obj);
|
||||
void removeObject(const QString &parentID, Seiscomp::DataModel::Object *obj);
|
||||
void setDrawStationAnnotations(bool);
|
||||
void showEvent(Seiscomp::DataModel::Event* event, Seiscomp::DataModel::Origin* org = nullptr);
|
||||
//! Shows an origin that maybe does not belong to an event yet
|
||||
void showOrigin(Seiscomp::DataModel::Origin* origin);
|
||||
@ -266,22 +271,23 @@ class SC_GUI_API EventSummaryView : public QWidget
|
||||
|
||||
|
||||
private:
|
||||
Ui::EventSummaryView *_ui;
|
||||
Ui::Hypocenter *_uiHypocenter;
|
||||
MagList *_magList;
|
||||
Ui::EventSummaryView *_ui;
|
||||
Ui::Hypocenter *_uiHypocenter;
|
||||
MagList *_magList;
|
||||
DataModel::PublicObjectCache *_cache{nullptr};
|
||||
|
||||
Seiscomp::DataModel::EventPtr _currentEvent;
|
||||
Seiscomp::DataModel::EventPtr _lastEvent;
|
||||
Seiscomp::DataModel::OriginPtr _currentOrigin;
|
||||
Seiscomp::DataModel::OriginPtr _lastAutomaticOrigin;
|
||||
Seiscomp::DataModel::FocalMechanismPtr _currentFocalMechanism;
|
||||
Seiscomp::DataModel::FocalMechanismPtr _lastAutomaticFocalMechanism;
|
||||
Seiscomp::DataModel::MagnitudePtr _currentNetMag;
|
||||
DataModel::EventPtr _currentEvent;
|
||||
DataModel::EventPtr _lastEvent;
|
||||
DataModel::OriginPtr _currentOrigin;
|
||||
DataModel::OriginPtr _lastAutomaticOrigin;
|
||||
DataModel::FocalMechanismPtr _currentFocalMechanism;
|
||||
DataModel::FocalMechanismPtr _lastAutomaticFocalMechanism;
|
||||
DataModel::MagnitudePtr _currentNetMag;
|
||||
|
||||
Seiscomp::Gui::Map::ImageTreePtr _maptree;
|
||||
Map::ImageTreePtr _maptree;
|
||||
OriginLocatorMap *_map;
|
||||
|
||||
Seiscomp::DataModel::DatabaseQuery* _reader;
|
||||
DataModel::DatabaseQuery *_reader;
|
||||
|
||||
QColor _automaticOriginColor;
|
||||
QColor _automaticFMColor;
|
||||
@ -299,7 +305,7 @@ class SC_GUI_API EventSummaryView : public QWidget
|
||||
bool _enableFullTensor;
|
||||
int _maxMinutesSecondDisplay;
|
||||
|
||||
QTimer* _mapTimer;
|
||||
QTimer *_mapTimer;
|
||||
|
||||
double _maxHotspotDist;
|
||||
double _minHotspotPopulation;
|
||||
|
||||
@ -18,17 +18,22 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
|
||||
#ifndef SEISCOMP_GUI_IMPORTPICKS_H
|
||||
#define SEISCOMP_GUI_IMPORTPICKS_H
|
||||
|
||||
#include <QtGui>
|
||||
#include <seiscomp/gui/datamodel/ui_importpicks.h>
|
||||
|
||||
#include <seiscomp/utils/stringfirewall.h>
|
||||
#include <seiscomp/gui/qt.h>
|
||||
|
||||
namespace Seiscomp {
|
||||
#include <QDialog>
|
||||
#include <set>
|
||||
#include <string>
|
||||
|
||||
namespace Gui {
|
||||
|
||||
namespace Seiscomp::Gui {
|
||||
|
||||
|
||||
class ImportPicksPrivate;
|
||||
|
||||
|
||||
class SC_GUI_API ImportPicksDialog : public QDialog {
|
||||
@ -42,25 +47,45 @@ class SC_GUI_API ImportPicksDialog : public QDialog {
|
||||
AllOrigins
|
||||
};
|
||||
|
||||
enum CBSelection {
|
||||
CBUndefined = -1,
|
||||
CBNone = 0,
|
||||
CBImportAllPicks = 1 << 0,
|
||||
CBImportAllPhases = 1 << 1,
|
||||
CBPreferTargetPhases = 1 << 2,
|
||||
};
|
||||
|
||||
|
||||
public:
|
||||
ImportPicksDialog(QWidget * parent = 0, Qt::WindowFlags f = Qt::WindowFlags());
|
||||
|
||||
|
||||
public:
|
||||
static void setDefaultAcceptedPhases(QString phases);
|
||||
static void setDefaultSelection(Selection sel);
|
||||
static void setDefaultOptions(int options);
|
||||
|
||||
void accept() override;
|
||||
|
||||
Selection currentSelection() const;
|
||||
bool importAllPicks() const;
|
||||
bool importAllPhases() const;
|
||||
bool preferTargetPhases() const;
|
||||
Util::StringFirewall allowedPhases() const;
|
||||
|
||||
|
||||
private:
|
||||
::Ui::ImportPicks _ui;
|
||||
int currentCBSelection() const;
|
||||
|
||||
private:
|
||||
ImportPicksPrivate *_d_ptr;
|
||||
static Selection _lastSelection;
|
||||
static int _lastCBSelection;
|
||||
static QString _lastPhases;
|
||||
};
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@ -26,6 +26,7 @@
|
||||
#include <seiscomp/gui/map/mapwidget.h>
|
||||
#ifndef Q_MOC_RUN
|
||||
#include <seiscomp/datamodel/origin.h>
|
||||
#include <seiscomp/datamodel/publicobjectcache.h>
|
||||
#endif
|
||||
#include <seiscomp/gui/qt.h>
|
||||
|
||||
@ -58,6 +59,10 @@ class SC_GUI_API OriginLocatorMap : public MapWidget {
|
||||
OriginLocatorMap(Map::ImageTree* mapTree,
|
||||
QWidget *parent = 0, Qt::WindowFlags f = Qt::WindowFlags());
|
||||
|
||||
|
||||
public:
|
||||
void setCache(DataModel::PublicObjectCache *cache);
|
||||
|
||||
//! Sets the maximum distance for stations to be displayed
|
||||
//! if they are not part of the origin
|
||||
void setStationsMaxDist(double);
|
||||
@ -113,15 +118,16 @@ class SC_GUI_API OriginLocatorMap : public MapWidget {
|
||||
|
||||
|
||||
private:
|
||||
DataModel::OriginPtr _origin;
|
||||
OriginSymbol *_originSymbol;
|
||||
Map::Layer *_symbolLayer;
|
||||
Map::AnnotationLayer *_annotationLayer;
|
||||
bool _waveformPropagation{false};
|
||||
bool _enabledCreateOrigin{false};
|
||||
QVector<int> _arrivals;
|
||||
std::map<std::string, int> _stationCodes;
|
||||
double _stationsMaxDist{-1};
|
||||
DataModel::PublicObjectCache *_cache{nullptr};
|
||||
DataModel::OriginPtr _origin;
|
||||
OriginSymbol *_originSymbol;
|
||||
Map::Layer *_symbolLayer;
|
||||
Map::AnnotationLayer *_annotationLayer;
|
||||
bool _waveformPropagation{false};
|
||||
bool _enabledCreateOrigin{false};
|
||||
QVector<int> _arrivals;
|
||||
std::map<std::string, int> _stationCodes;
|
||||
double _stationsMaxDist{-1};
|
||||
};
|
||||
|
||||
|
||||
|
||||
@ -102,6 +102,7 @@ class SC_GUI_API ArrivalModel : public QAbstractTableModel {
|
||||
void setRowEnabled(int row, bool enabled);
|
||||
bool isRowEnabled(int row) const;
|
||||
|
||||
void setDistance(int row, const QVariant &val);
|
||||
void setTakeOffAngle(int row, const QVariant &val);
|
||||
|
||||
bool useNoArrivals() const;
|
||||
@ -126,11 +127,13 @@ class SC_GUI_API ArrivalModel : public QAbstractTableModel {
|
||||
QVector<int> _used;
|
||||
QVector<int> _hoverState;
|
||||
QVector<QVariant> _takeOffs;
|
||||
QVector<QVariant> _distances;
|
||||
QVector<bool> _enableState;
|
||||
QVector<QVariant> _backgroundColors;
|
||||
QColor _disabledForeground;
|
||||
QStringList _header;
|
||||
std::string _pickTimeFormat;
|
||||
std::string _pickCTimeFormat;
|
||||
};
|
||||
|
||||
|
||||
@ -211,6 +214,7 @@ class SC_GUI_API OriginLocatorPlot : public DiagramWidget {
|
||||
|
||||
|
||||
class OriginLocatorViewPrivate;
|
||||
class ProcessManager;
|
||||
|
||||
|
||||
class SC_GUI_API OriginLocatorView : public QWidget {
|
||||
@ -386,6 +390,7 @@ class SC_GUI_API OriginLocatorView : public QWidget {
|
||||
|
||||
void runScript0();
|
||||
void runScript1();
|
||||
void commandStart();
|
||||
|
||||
void evalResultAvailable(const QString &originID,
|
||||
const QString &className,
|
||||
@ -417,7 +422,7 @@ class SC_GUI_API OriginLocatorView : public QWidget {
|
||||
|
||||
void updateOrigin(Seiscomp::DataModel::Origin*);
|
||||
void updateContent();
|
||||
void addArrival(int idx, DataModel::Arrival* arrival, const Core::Time &, const QColor&);
|
||||
void addArrival(int idx, const DataModel::Arrival* arrival, const DataModel::Pick* pick, const QColor&);
|
||||
|
||||
void readPicks(Seiscomp::DataModel::Origin*);
|
||||
|
||||
@ -467,7 +472,6 @@ class SC_GUI_API OriginLocatorView : public QWidget {
|
||||
|
||||
void commitWithOptions(const void *options);
|
||||
|
||||
|
||||
private:
|
||||
OriginLocatorViewPrivate *_d_ptr;
|
||||
};
|
||||
|
||||
@ -137,9 +137,9 @@ class SC_GUI_API PickerRecordLabel : public StandardRecordLabel {
|
||||
|
||||
|
||||
protected:
|
||||
void visibilityChanged(bool);
|
||||
void resizeEvent(QResizeEvent *e);
|
||||
void paintEvent(QPaintEvent *e);
|
||||
void visibilityChanged(bool) override;
|
||||
void resizeEvent(QResizeEvent *e) override;
|
||||
void paintEvent(QPaintEvent *e) override;
|
||||
|
||||
|
||||
public slots:
|
||||
@ -150,24 +150,28 @@ class SC_GUI_API PickerRecordLabel : public StandardRecordLabel {
|
||||
|
||||
|
||||
private:
|
||||
bool _isLinkedItem;
|
||||
bool _isExpanded;
|
||||
QPushButton *_btnExpand;
|
||||
RecordViewItem *_linkedItem;
|
||||
bool _hasLabelColor;
|
||||
QColor _labelColor;
|
||||
bool _isLinkedItem;
|
||||
bool _isExpanded;
|
||||
QPushButton *_btnExpand;
|
||||
RecordViewItem *_linkedItem;
|
||||
bool _hasLabelColor;
|
||||
QColor _labelColor;
|
||||
|
||||
private:
|
||||
double latitude;
|
||||
double longitude;
|
||||
int unit;
|
||||
QString gainUnit[3];
|
||||
ThreeComponentTrace data;
|
||||
Math::Matrix3d orientationZNE;
|
||||
Math::Matrix3d orientationZRT;
|
||||
double latitude;
|
||||
double longitude;
|
||||
double elevation;
|
||||
int unit;
|
||||
QString gainUnit[3];
|
||||
double gainToSI[3];
|
||||
ThreeComponentTrace data;
|
||||
Math::Matrix3d orientationZNE;
|
||||
Math::Matrix3d orientationZRT;
|
||||
Math::Matrix3d orientationLQT;
|
||||
|
||||
bool hasGotData;
|
||||
bool isEnabledByConfig;
|
||||
bool hasGotData;
|
||||
bool isEnabledByConfig;
|
||||
const AuxiliaryChannelProfile *auxiliaryProfile{nullptr};
|
||||
|
||||
friend class Gui::PickerView;
|
||||
};
|
||||
@ -224,6 +228,40 @@ class SC_GUI_API PickerView : public QMainWindow {
|
||||
typedef QList<QString> StringList;
|
||||
typedef StringList PhaseList;
|
||||
|
||||
MAKEENUM(
|
||||
RotationType,
|
||||
EVALUES(
|
||||
RT_123,
|
||||
RT_ZNE,
|
||||
RT_ZRT,
|
||||
RT_LQT,
|
||||
RT_ZH
|
||||
),
|
||||
ENAMES(
|
||||
"123",
|
||||
"ZNE",
|
||||
"ZRT",
|
||||
"LQT",
|
||||
"ZH(L2)"
|
||||
)
|
||||
);
|
||||
|
||||
MAKEENUM(
|
||||
UnitType,
|
||||
EVALUES(
|
||||
UT_RAW,
|
||||
UT_ACC,
|
||||
UT_VEL,
|
||||
UT_DISP
|
||||
),
|
||||
ENAMES(
|
||||
"Sensor",
|
||||
"Acceleration",
|
||||
"Velocity",
|
||||
"Displacement"
|
||||
)
|
||||
);
|
||||
|
||||
struct PhaseGroup {
|
||||
QString name;
|
||||
QList<PhaseGroup> childs;
|
||||
@ -238,11 +276,12 @@ class SC_GUI_API PickerView : public QMainWindow {
|
||||
|
||||
QString recordURL;
|
||||
ChannelMap channelMap;
|
||||
AuxiliaryChannelProfiles auxiliaryChannelProfiles;
|
||||
|
||||
FilterList filters;
|
||||
|
||||
QString integrationFilter;
|
||||
bool onlyApplyIntegrationFilterOnce;
|
||||
bool onlyApplyIntegrationFilterOnce{true};
|
||||
|
||||
GroupList phaseGroups;
|
||||
PhaseList favouritePhases;
|
||||
@ -252,45 +291,47 @@ class SC_GUI_API PickerView : public QMainWindow {
|
||||
UncertaintyProfiles uncertaintyProfiles;
|
||||
QString uncertaintyProfile;
|
||||
|
||||
bool showCrossHair;
|
||||
bool showCrossHair{false};
|
||||
|
||||
bool ignoreUnconfiguredStations;
|
||||
bool ignoreDisabledStations;
|
||||
bool loadAllComponents;
|
||||
bool loadAllPicks;
|
||||
bool loadStrongMotionData;
|
||||
bool usePerStreamTimeWindows;
|
||||
bool limitStations;
|
||||
bool showAllComponents;
|
||||
bool hideStationsWithoutData;
|
||||
bool hideDisabledStations;
|
||||
bool ignoreUnconfiguredStations{false};
|
||||
bool ignoreDisabledStations{true};
|
||||
bool loadAllComponents{true};
|
||||
bool loadAllPicks{true};
|
||||
bool loadStrongMotionData{false};
|
||||
bool usePerStreamTimeWindows{false};
|
||||
bool limitStations{false};
|
||||
bool showAllComponents{false};
|
||||
bool hideStationsWithoutData{false};
|
||||
bool hideDisabledStations{false};
|
||||
bool showDataInSensorUnit{false};
|
||||
bool limitFilterToZoomTrace{false};
|
||||
|
||||
int limitStationCount;
|
||||
double allComponentsMaximumStationDistance;
|
||||
double defaultAddStationsDistance;
|
||||
RotationType initialRotation{RT_123};
|
||||
UnitType initialUnit{UT_RAW};
|
||||
|
||||
double defaultDepth;
|
||||
int limitStationCount{10};
|
||||
double allComponentsMaximumStationDistance{10.0};
|
||||
double defaultAddStationsDistance{15.0};
|
||||
bool loadStationsWithinDistanceInitially{false};
|
||||
|
||||
bool removeAutomaticStationPicks;
|
||||
bool removeAutomaticPicks;
|
||||
double defaultDepth{10.0};
|
||||
|
||||
Core::TimeSpan preOffset;
|
||||
Core::TimeSpan postOffset;
|
||||
Core::TimeSpan minimumTimeWindow;
|
||||
bool removeAutomaticStationPicks{false};
|
||||
bool removeAutomaticPicks{false};
|
||||
|
||||
double alignmentPosition;
|
||||
double offsetWindowStart;
|
||||
double offsetWindowEnd;
|
||||
Core::TimeSpan preOffset{60, 0};
|
||||
Core::TimeSpan postOffset{120, 0};
|
||||
Core::TimeSpan minimumTimeWindow{1800, 0};
|
||||
|
||||
QColor timingQualityLow;
|
||||
QColor timingQualityMedium;
|
||||
QColor timingQualityHigh;
|
||||
double alignmentPosition{0.5};
|
||||
|
||||
QColor timingQualityLow{Qt::darkRed};
|
||||
QColor timingQualityMedium{Qt::yellow};
|
||||
QColor timingQualityHigh{Qt::darkGreen};
|
||||
|
||||
OPT(double) repickerSignalStart;
|
||||
OPT(double) repickerSignalEnd;
|
||||
|
||||
Config();
|
||||
|
||||
void addFilter(const QString &f, const QString &n) {
|
||||
filters.push_back(QPair<QString, QString>(f, n));
|
||||
}
|
||||
@ -332,9 +373,6 @@ class SC_GUI_API PickerView : public QMainWindow {
|
||||
void setBroadBandCodes(const std::vector<std::string> &codes);
|
||||
void setStrongMotionCodes(const std::vector<std::string> &codes);
|
||||
|
||||
void setAuxiliaryChannels(const std::vector<std::string> &patterns,
|
||||
double minimumDistance, double maximumDistance);
|
||||
|
||||
//! Sets an origin an inserts the traces for each arrival
|
||||
//! in the view.
|
||||
bool setOrigin(Seiscomp::DataModel::Origin*,
|
||||
@ -399,12 +437,8 @@ class SC_GUI_API PickerView : public QMainWindow {
|
||||
void updateRecordValue(Seiscomp::Core::Time);
|
||||
void showTraceScaleToggled(bool);
|
||||
|
||||
void specLogToggled(bool);
|
||||
void specSmoothToggled(bool);
|
||||
void specMinValue(double);
|
||||
void specMaxValue(double);
|
||||
void specTimeWindow(double);
|
||||
void specApply();
|
||||
void specAmplitudesChanged(double, double);
|
||||
|
||||
void limitFilterToZoomTrace(bool);
|
||||
|
||||
@ -471,7 +505,9 @@ class SC_GUI_API PickerView : public QMainWindow {
|
||||
void setCurrentRowDisabled(bool);
|
||||
|
||||
void loadNextStations();
|
||||
void loadAuxiliaryStations(QAction *action);
|
||||
void showUsedStations(bool);
|
||||
void showAuxiliaryStations(QAction *action);
|
||||
|
||||
void moveTraces(double offset);
|
||||
void move(double offset);
|
||||
@ -515,18 +551,22 @@ class SC_GUI_API PickerView : public QMainWindow {
|
||||
void openConnectionInfo(const QPoint &);
|
||||
void destroyedSpectrumWidget(QObject *);
|
||||
|
||||
void ttInterfaceChanged(QString);
|
||||
void ttTableChanged(QString);
|
||||
void ttInterfaceChanged(int);
|
||||
void ttTableChanged(int);
|
||||
|
||||
|
||||
protected:
|
||||
void showEvent(QShowEvent* event);
|
||||
void showEvent(QShowEvent* event) override;
|
||||
void changeEvent(QEvent *e) override;
|
||||
|
||||
RecordLabel* createLabel(RecordViewItem*) const;
|
||||
|
||||
|
||||
private:
|
||||
void applyThemeColors();
|
||||
void announceAmplitude();
|
||||
void figureOutTravelTimeTable();
|
||||
void updateTransformations(PrivatePickerView::PickerRecordLabel *label);
|
||||
|
||||
void init();
|
||||
void initPhases();
|
||||
@ -571,6 +611,8 @@ class SC_GUI_API PickerView : public QMainWindow {
|
||||
void updateOriginInformation();
|
||||
|
||||
void loadNextStations(float distance);
|
||||
void loadAuxiliaryStationProfile(const AuxiliaryChannelProfile &profile);
|
||||
void showAuxiliaryStationProfile(const AuxiliaryChannelProfile &profile);
|
||||
|
||||
void setCursorText(const QString&);
|
||||
void setCursorPos(const Seiscomp::Core::Time&, bool always = false);
|
||||
@ -588,6 +630,7 @@ class SC_GUI_API PickerView : public QMainWindow {
|
||||
//! the time range will be left aligned.
|
||||
void ensureVisibility(double &tmin, double &tmax);
|
||||
void ensureVisibility(const Seiscomp::Core::Time &time, int pixelMargin);
|
||||
bool getVisibilityState(RecordViewItem *item);
|
||||
|
||||
void updatePhaseMarker(Seiscomp::Gui::RecordWidget*, const Seiscomp::Core::Time&);
|
||||
void declareArrival(Seiscomp::Gui::RecordMarker *m, const QString &phase, bool);
|
||||
|
||||
@ -50,20 +50,22 @@ class SC_GUI_API SelectStation : public QDialog {
|
||||
explicit SelectStation(Core::Time time, bool ignoreDisabledStations,
|
||||
const QSet<QString> &blackList,
|
||||
QWidget* parent = 0, Qt::WindowFlags f = Qt::WindowFlags());
|
||||
~SelectStation();
|
||||
|
||||
QList<DataModel::Station*> selectedStations() const;
|
||||
|
||||
void setReferenceLocation(double lat, double lon);
|
||||
|
||||
|
||||
protected:
|
||||
void keyPressEvent(QKeyEvent *event) override;
|
||||
|
||||
private slots:
|
||||
void listMatchingStations();
|
||||
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
// Private Interface
|
||||
// ------------------------------------------------------------------
|
||||
private slots:
|
||||
void listMatchingStations(const QString& substr);
|
||||
|
||||
|
||||
private:
|
||||
void init(Core::Time, bool ignoreDisabledStations,
|
||||
const QSet<QString> *blackList);
|
||||
|
||||
@ -86,7 +86,6 @@ class SC_GUI_API StationSymbol : public Map::Symbol {
|
||||
|
||||
protected:
|
||||
QPolygon generateShape(int posX, int posY, int radius);
|
||||
|
||||
const QPolygon &stationPolygon() const;
|
||||
|
||||
|
||||
|
||||
@ -10,7 +10,6 @@
|
||||
#define UI_AMPLITUDEVIEW_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QIcon>
|
||||
#include <QtWidgets/QAction>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QFrame>
|
||||
@ -59,7 +58,7 @@ public:
|
||||
QAction *actionMaximizeAmplitudes;
|
||||
QAction *actionComputeMagnitudes;
|
||||
QAction *actionShowTheoreticalArrivals;
|
||||
QAction *actionShowAllStations;
|
||||
QAction *actionAddStationsInDistanceRange;
|
||||
QAction *actionShowUsedStations;
|
||||
QAction *actionShowZComponent;
|
||||
QAction *actionShowNComponent;
|
||||
@ -136,24 +135,12 @@ public:
|
||||
AmplitudeView->setIconSize(QSize(16, 16));
|
||||
actionIncreaseAmplitudeScale = new QAction(AmplitudeView);
|
||||
actionIncreaseAmplitudeScale->setObjectName(QString::fromUtf8("actionIncreaseAmplitudeScale"));
|
||||
QIcon icon;
|
||||
icon.addFile(QString::fromUtf8(":/icons/icons/vzoomin.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionIncreaseAmplitudeScale->setIcon(icon);
|
||||
actionDecreaseAmplitudeScale = new QAction(AmplitudeView);
|
||||
actionDecreaseAmplitudeScale->setObjectName(QString::fromUtf8("actionDecreaseAmplitudeScale"));
|
||||
QIcon icon1;
|
||||
icon1.addFile(QString::fromUtf8(":/icons/icons/vzoomout.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionDecreaseAmplitudeScale->setIcon(icon1);
|
||||
actionTimeScaleUp = new QAction(AmplitudeView);
|
||||
actionTimeScaleUp->setObjectName(QString::fromUtf8("actionTimeScaleUp"));
|
||||
QIcon icon2;
|
||||
icon2.addFile(QString::fromUtf8(":/icons/icons/zoomout.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionTimeScaleUp->setIcon(icon2);
|
||||
actionTimeScaleDown = new QAction(AmplitudeView);
|
||||
actionTimeScaleDown->setObjectName(QString::fromUtf8("actionTimeScaleDown"));
|
||||
QIcon icon3;
|
||||
icon3.addFile(QString::fromUtf8(":/icons/icons/zoomin.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionTimeScaleDown->setIcon(icon3);
|
||||
actionScrollLeft = new QAction(AmplitudeView);
|
||||
actionScrollLeft->setObjectName(QString::fromUtf8("actionScrollLeft"));
|
||||
actionScrollRight = new QAction(AmplitudeView);
|
||||
@ -168,16 +155,12 @@ public:
|
||||
actionScrollFineRight->setObjectName(QString::fromUtf8("actionScrollFineRight"));
|
||||
actionIncreaseRowHeight = new QAction(AmplitudeView);
|
||||
actionIncreaseRowHeight->setObjectName(QString::fromUtf8("actionIncreaseRowHeight"));
|
||||
actionIncreaseRowHeight->setIcon(icon);
|
||||
actionDecreaseRowHeight = new QAction(AmplitudeView);
|
||||
actionDecreaseRowHeight->setObjectName(QString::fromUtf8("actionDecreaseRowHeight"));
|
||||
actionDecreaseRowHeight->setIcon(icon1);
|
||||
actionIncreaseRowTimescale = new QAction(AmplitudeView);
|
||||
actionIncreaseRowTimescale->setObjectName(QString::fromUtf8("actionIncreaseRowTimescale"));
|
||||
actionIncreaseRowTimescale->setIcon(icon3);
|
||||
actionDecreaseRowTimescale = new QAction(AmplitudeView);
|
||||
actionDecreaseRowTimescale->setObjectName(QString::fromUtf8("actionDecreaseRowTimescale"));
|
||||
actionDecreaseRowTimescale->setIcon(icon2);
|
||||
actionSelectFirstRow = new QAction(AmplitudeView);
|
||||
actionSelectFirstRow->setObjectName(QString::fromUtf8("actionSelectFirstRow"));
|
||||
actionSelectLastRow = new QAction(AmplitudeView);
|
||||
@ -186,87 +169,48 @@ public:
|
||||
actionResetDefaultConfig->setObjectName(QString::fromUtf8("actionResetDefaultConfig"));
|
||||
actionAlignOnPArrival = new QAction(AmplitudeView);
|
||||
actionAlignOnPArrival->setObjectName(QString::fromUtf8("actionAlignOnPArrival"));
|
||||
actionAlignOnPArrival->setCheckable(false);
|
||||
actionAlignOnPArrival->setCheckable(true);
|
||||
actionAlignOnPArrival->setChecked(false);
|
||||
QIcon icon4;
|
||||
icon4.addFile(QString::fromUtf8(":/icons/icons/align_p.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionAlignOnPArrival->setIcon(icon4);
|
||||
actionAlignOnOriginTime = new QAction(AmplitudeView);
|
||||
actionAlignOnOriginTime->setObjectName(QString::fromUtf8("actionAlignOnOriginTime"));
|
||||
actionAlignOnOriginTime->setCheckable(false);
|
||||
QIcon icon5;
|
||||
icon5.addFile(QString::fromUtf8(":/icons/icons/align_t.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionAlignOnOriginTime->setIcon(icon5);
|
||||
actionAlignOnOriginTime->setCheckable(true);
|
||||
actionDefaultView = new QAction(AmplitudeView);
|
||||
actionDefaultView->setObjectName(QString::fromUtf8("actionDefaultView"));
|
||||
QIcon icon6;
|
||||
icon6.addFile(QString::fromUtf8(":/icons/icons/home.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionDefaultView->setIcon(icon6);
|
||||
actionSortAlphabetically = new QAction(AmplitudeView);
|
||||
actionSortAlphabetically->setObjectName(QString::fromUtf8("actionSortAlphabetically"));
|
||||
actionSortAlphabetically->setCheckable(true);
|
||||
QIcon icon7;
|
||||
icon7.addFile(QString::fromUtf8(":/icons/icons/sort_abc.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionSortAlphabetically->setIcon(icon7);
|
||||
actionSortByDistance = new QAction(AmplitudeView);
|
||||
actionSortByDistance->setObjectName(QString::fromUtf8("actionSortByDistance"));
|
||||
actionSortByDistance->setCheckable(true);
|
||||
actionSortByDistance->setChecked(true);
|
||||
QIcon icon8;
|
||||
icon8.addFile(QString::fromUtf8(":/icons/icons/sort_dist.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionSortByDistance->setIcon(icon8);
|
||||
actionToggleFilter = new QAction(AmplitudeView);
|
||||
actionToggleFilter->setObjectName(QString::fromUtf8("actionToggleFilter"));
|
||||
actionToggleFilter->setCheckable(false);
|
||||
actionToggleFilter->setChecked(false);
|
||||
QIcon icon9;
|
||||
icon9.addFile(QString::fromUtf8(":/icons/icons/filter.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionToggleFilter->setIcon(icon9);
|
||||
actionMaximizeAmplitudes = new QAction(AmplitudeView);
|
||||
actionMaximizeAmplitudes->setObjectName(QString::fromUtf8("actionMaximizeAmplitudes"));
|
||||
QIcon icon10;
|
||||
icon10.addFile(QString::fromUtf8(":/icons/icons/vmax.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionMaximizeAmplitudes->setIcon(icon10);
|
||||
actionComputeMagnitudes = new QAction(AmplitudeView);
|
||||
actionComputeMagnitudes->setObjectName(QString::fromUtf8("actionComputeMagnitudes"));
|
||||
QIcon icon11;
|
||||
icon11.addFile(QString::fromUtf8(":/icons/icons/locate.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionComputeMagnitudes->setIcon(icon11);
|
||||
actionShowTheoreticalArrivals = new QAction(AmplitudeView);
|
||||
actionShowTheoreticalArrivals->setObjectName(QString::fromUtf8("actionShowTheoreticalArrivals"));
|
||||
actionShowTheoreticalArrivals->setCheckable(true);
|
||||
actionShowTheoreticalArrivals->setChecked(true);
|
||||
actionShowAllStations = new QAction(AmplitudeView);
|
||||
actionShowAllStations->setObjectName(QString::fromUtf8("actionShowAllStations"));
|
||||
actionShowAllStations->setCheckable(false);
|
||||
QIcon icon12;
|
||||
icon12.addFile(QString::fromUtf8(":/icons/icons/mindistance.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionShowAllStations->setIcon(icon12);
|
||||
actionAddStationsInDistanceRange = new QAction(AmplitudeView);
|
||||
actionAddStationsInDistanceRange->setObjectName(QString::fromUtf8("actionAddStationsInDistanceRange"));
|
||||
actionAddStationsInDistanceRange->setCheckable(false);
|
||||
actionShowUsedStations = new QAction(AmplitudeView);
|
||||
actionShowUsedStations->setObjectName(QString::fromUtf8("actionShowUsedStations"));
|
||||
actionShowUsedStations->setCheckable(true);
|
||||
QIcon icon13;
|
||||
icon13.addFile(QString::fromUtf8(":/icons/icons/withpick.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionShowUsedStations->setIcon(icon13);
|
||||
actionShowZComponent = new QAction(AmplitudeView);
|
||||
actionShowZComponent->setObjectName(QString::fromUtf8("actionShowZComponent"));
|
||||
actionShowZComponent->setCheckable(true);
|
||||
actionShowZComponent->setChecked(true);
|
||||
QIcon icon14;
|
||||
icon14.addFile(QString::fromUtf8(":/icons/icons/channelZ.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionShowZComponent->setIcon(icon14);
|
||||
actionShowNComponent = new QAction(AmplitudeView);
|
||||
actionShowNComponent->setObjectName(QString::fromUtf8("actionShowNComponent"));
|
||||
actionShowNComponent->setCheckable(true);
|
||||
QIcon icon15;
|
||||
icon15.addFile(QString::fromUtf8(":/icons/icons/channelN.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionShowNComponent->setIcon(icon15);
|
||||
actionShowEComponent = new QAction(AmplitudeView);
|
||||
actionShowEComponent->setObjectName(QString::fromUtf8("actionShowEComponent"));
|
||||
actionShowEComponent->setCheckable(true);
|
||||
QIcon icon16;
|
||||
icon16.addFile(QString::fromUtf8(":/icons/icons/channelE.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionShowEComponent->setIcon(icon16);
|
||||
actionGotoNextMarker = new QAction(AmplitudeView);
|
||||
actionGotoNextMarker->setObjectName(QString::fromUtf8("actionGotoNextMarker"));
|
||||
actionGotoPreviousMarker = new QAction(AmplitudeView);
|
||||
@ -299,24 +243,14 @@ public:
|
||||
actionDisablePicking->setObjectName(QString::fromUtf8("actionDisablePicking"));
|
||||
actionRecalculateAmplitudes = new QAction(AmplitudeView);
|
||||
actionRecalculateAmplitudes->setObjectName(QString::fromUtf8("actionRecalculateAmplitudes"));
|
||||
QIcon icon17;
|
||||
icon17.addFile(QString::fromUtf8(":/icons/icons/ok.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionRecalculateAmplitudes->setIcon(icon17);
|
||||
actionPickAmplitude = new QAction(AmplitudeView);
|
||||
actionPickAmplitude->setObjectName(QString::fromUtf8("actionPickAmplitude"));
|
||||
QIcon icon18;
|
||||
icon18.addFile(QString::fromUtf8(":/icons/icons/pick_p.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionPickAmplitude->setIcon(icon18);
|
||||
actionRecalculateAmplitude = new QAction(AmplitudeView);
|
||||
actionRecalculateAmplitude->setObjectName(QString::fromUtf8("actionRecalculateAmplitude"));
|
||||
QIcon icon19;
|
||||
icon19.addFile(QString::fromUtf8(":/icons/icons/ok_single.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionRecalculateAmplitude->setIcon(icon19);
|
||||
actionSetAmplitude = new QAction(AmplitudeView);
|
||||
actionSetAmplitude->setObjectName(QString::fromUtf8("actionSetAmplitude"));
|
||||
actionResetScale = new QAction(AmplitudeView);
|
||||
actionResetScale->setObjectName(QString::fromUtf8("actionResetScale"));
|
||||
actionResetScale->setIcon(icon6);
|
||||
centralwidget = new QWidget(AmplitudeView);
|
||||
centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
|
||||
vboxLayout = new QVBoxLayout(centralwidget);
|
||||
@ -462,7 +396,6 @@ public:
|
||||
btnRowAccept->setSizePolicy(sizePolicy5);
|
||||
btnRowAccept->setMinimumSize(QSize(32, 32));
|
||||
btnRowAccept->setMaximumSize(QSize(32, 32));
|
||||
btnRowAccept->setIcon(icon17);
|
||||
btnRowAccept->setIconSize(QSize(24, 24));
|
||||
btnRowAccept->setCheckable(true);
|
||||
btnRowAccept->setFlat(false);
|
||||
@ -475,9 +408,6 @@ public:
|
||||
btnRowRemove->setSizePolicy(sizePolicy5);
|
||||
btnRowRemove->setMinimumSize(QSize(32, 32));
|
||||
btnRowRemove->setMaximumSize(QSize(32, 32));
|
||||
QIcon icon20;
|
||||
icon20.addFile(QString::fromUtf8(":/icons/icons/remove.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
btnRowRemove->setIcon(icon20);
|
||||
btnRowRemove->setIconSize(QSize(24, 24));
|
||||
btnRowRemove->setCheckable(true);
|
||||
|
||||
@ -489,9 +419,6 @@ public:
|
||||
btnRowReset->setSizePolicy(sizePolicy5);
|
||||
btnRowReset->setMinimumSize(QSize(32, 32));
|
||||
btnRowReset->setMaximumSize(QSize(32, 32));
|
||||
QIcon icon21;
|
||||
icon21.addFile(QString::fromUtf8(":/icons/icons/erase.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
btnRowReset->setIcon(icon21);
|
||||
btnRowReset->setIconSize(QSize(24, 24));
|
||||
|
||||
hboxLayout3->addWidget(btnRowReset);
|
||||
@ -605,23 +532,21 @@ public:
|
||||
toolBarComputeMagnitudes->setIconSize(QSize(24, 24));
|
||||
AmplitudeView->addToolBar(Qt::TopToolBarArea, toolBarComputeMagnitudes);
|
||||
|
||||
toolBarScale->addAction(actionDefaultView);
|
||||
toolBarScale->addSeparator();
|
||||
toolBarScale->addAction(actionIncreaseRowHeight);
|
||||
toolBarScale->addAction(actionDecreaseRowHeight);
|
||||
toolBarScale->addSeparator();
|
||||
toolBarScale->addAction(actionIncreaseRowTimescale);
|
||||
toolBarScale->addAction(actionDecreaseRowTimescale);
|
||||
toolBarScale->addSeparator();
|
||||
toolBarScale->addAction(actionIncreaseRowHeight);
|
||||
toolBarScale->addAction(actionDecreaseRowHeight);
|
||||
toolBarScale->addAction(actionMaximizeAmplitudes);
|
||||
toolBarScale->addSeparator();
|
||||
toolBarScale->addAction(actionDefaultView);
|
||||
toolBarSort->addAction(actionSortByDistance);
|
||||
toolBarSort->addAction(actionSortAlphabetically);
|
||||
toolBarAlign->addAction(actionAlignOnPArrival);
|
||||
toolBarAlign->addAction(actionAlignOnOriginTime);
|
||||
toolBarAlign->addAction(actionAlignOnPArrival);
|
||||
toolBarComponent->addAction(actionShowZComponent);
|
||||
toolBarComponent->addAction(actionShowNComponent);
|
||||
toolBarComponent->addAction(actionShowEComponent);
|
||||
toolBarStations->addAction(actionShowAllStations);
|
||||
toolBarStations->addAction(actionAddStationsInDistanceRange);
|
||||
toolBarStations->addAction(actionShowUsedStations);
|
||||
toolBarPicking->addAction(actionPickAmplitude);
|
||||
menuBar->addAction(menuView->menuAction());
|
||||
@ -636,10 +561,10 @@ public:
|
||||
menuView->addAction(menuZoomtrace->menuAction());
|
||||
menuView->addAction(menuTraces->menuAction());
|
||||
menuView->addAction(menuComponents->menuAction());
|
||||
menuZoomtrace->addAction(actionIncreaseAmplitudeScale);
|
||||
menuZoomtrace->addAction(actionDecreaseAmplitudeScale);
|
||||
menuZoomtrace->addAction(actionTimeScaleUp);
|
||||
menuZoomtrace->addAction(actionTimeScaleDown);
|
||||
menuZoomtrace->addAction(actionIncreaseAmplitudeScale);
|
||||
menuZoomtrace->addAction(actionDecreaseAmplitudeScale);
|
||||
menuZoomtrace->addAction(actionResetScale);
|
||||
menuZoomtrace->addSeparator();
|
||||
menuZoomtrace->addAction(actionClipComponentsToViewport);
|
||||
@ -652,8 +577,8 @@ public:
|
||||
menuTraces->addAction(actionResetDefaultConfig);
|
||||
menuTraces->addSeparator();
|
||||
menuTraces->addAction(menuAlignArrival->menuAction());
|
||||
menuAlignArrival->addAction(actionAlignOnPArrival);
|
||||
menuAlignArrival->addAction(actionAlignOnOriginTime);
|
||||
menuAlignArrival->addAction(actionAlignOnPArrival);
|
||||
menuComponents->addAction(actionShowZComponent);
|
||||
menuComponents->addAction(actionShowNComponent);
|
||||
menuComponents->addAction(actionShowEComponent);
|
||||
@ -669,7 +594,6 @@ public:
|
||||
toolBarFilter->addAction(actionToggleFilter);
|
||||
toolBarSetup->addAction(actionRecalculateAmplitude);
|
||||
toolBarSetup->addAction(actionRecalculateAmplitudes);
|
||||
toolBarComputeMagnitudes->addAction(actionComputeMagnitudes);
|
||||
|
||||
retranslateUi(AmplitudeView);
|
||||
|
||||
@ -680,7 +604,6 @@ public:
|
||||
{
|
||||
AmplitudeView->setWindowTitle(QCoreApplication::translate("AmplitudeView", "Amplitude picker", nullptr));
|
||||
actionIncreaseAmplitudeScale->setText(QCoreApplication::translate("AmplitudeView", "Scale amplitudes up", nullptr));
|
||||
actionIncreaseAmplitudeScale->setIconText(QCoreApplication::translate("AmplitudeView", "Scale amplitudes up", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionIncreaseAmplitudeScale->setToolTip(QCoreApplication::translate("AmplitudeView", "Increase amplitude scale of current trace", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
@ -688,7 +611,6 @@ public:
|
||||
actionIncreaseAmplitudeScale->setShortcut(QCoreApplication::translate("AmplitudeView", "Ctrl+Up", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionDecreaseAmplitudeScale->setText(QCoreApplication::translate("AmplitudeView", "Scale amplitudes down", nullptr));
|
||||
actionDecreaseAmplitudeScale->setIconText(QCoreApplication::translate("AmplitudeView", "Scale amplitudes down", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionDecreaseAmplitudeScale->setToolTip(QCoreApplication::translate("AmplitudeView", "Descrease amplitude scale of current trace", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
@ -703,7 +625,6 @@ public:
|
||||
actionTimeScaleUp->setShortcut(QCoreApplication::translate("AmplitudeView", "Ctrl+Right", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionTimeScaleDown->setText(QCoreApplication::translate("AmplitudeView", "Decrease visible timespan", nullptr));
|
||||
actionTimeScaleDown->setIconText(QCoreApplication::translate("AmplitudeView", "Decrease visible timespan", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionTimeScaleDown->setToolTip(QCoreApplication::translate("AmplitudeView", "Decrease visible timespan", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
@ -725,17 +646,14 @@ public:
|
||||
actionScrollRight->setShortcut(QCoreApplication::translate("AmplitudeView", "Shift+Right", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionSelectNextTrace->setText(QCoreApplication::translate("AmplitudeView", "Next trace", nullptr));
|
||||
actionSelectNextTrace->setIconText(QCoreApplication::translate("AmplitudeView", "Next trace", nullptr));
|
||||
#if QT_CONFIG(shortcut)
|
||||
actionSelectNextTrace->setShortcut(QCoreApplication::translate("AmplitudeView", "Down", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionSelectPreviousTrace->setText(QCoreApplication::translate("AmplitudeView", "Previous trace", nullptr));
|
||||
actionSelectPreviousTrace->setIconText(QCoreApplication::translate("AmplitudeView", "Previous trace", nullptr));
|
||||
#if QT_CONFIG(shortcut)
|
||||
actionSelectPreviousTrace->setShortcut(QCoreApplication::translate("AmplitudeView", "Up", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionScrollFineLeft->setText(QCoreApplication::translate("AmplitudeView", "Scroll fine left", nullptr));
|
||||
actionScrollFineLeft->setIconText(QCoreApplication::translate("AmplitudeView", "Scroll fine left", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionScrollFineLeft->setToolTip(QCoreApplication::translate("AmplitudeView", "Scroll current trace left with finer steps", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
@ -743,7 +661,6 @@ public:
|
||||
actionScrollFineLeft->setShortcut(QCoreApplication::translate("AmplitudeView", "Left", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionScrollFineRight->setText(QCoreApplication::translate("AmplitudeView", "Scroll fine right", nullptr));
|
||||
actionScrollFineRight->setIconText(QCoreApplication::translate("AmplitudeView", "Scroll fine right", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionScrollFineRight->setToolTip(QCoreApplication::translate("AmplitudeView", "Scroll current trace right with finer steps", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
@ -791,7 +708,6 @@ public:
|
||||
actionResetDefaultConfig->setShortcut(QCoreApplication::translate("AmplitudeView", "Shift+W", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionAlignOnPArrival->setText(QCoreApplication::translate("AmplitudeView", "Align on trigger time", nullptr));
|
||||
actionAlignOnPArrival->setIconText(QCoreApplication::translate("AmplitudeView", "Align on trigger time", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionAlignOnPArrival->setToolTip(QCoreApplication::translate("AmplitudeView", "Align on trigger time", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
@ -799,7 +715,6 @@ public:
|
||||
actionAlignOnPArrival->setShortcut(QCoreApplication::translate("AmplitudeView", "Ctrl+1", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionAlignOnOriginTime->setText(QCoreApplication::translate("AmplitudeView", "Align on origin time", nullptr));
|
||||
actionAlignOnOriginTime->setIconText(QCoreApplication::translate("AmplitudeView", "Align on origin time", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionAlignOnOriginTime->setToolTip(QCoreApplication::translate("AmplitudeView", "Align on origin time (Ctrl+0)", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
@ -814,7 +729,6 @@ public:
|
||||
actionDefaultView->setShortcut(QCoreApplication::translate("AmplitudeView", "Shift+N", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionSortAlphabetically->setText(QCoreApplication::translate("AmplitudeView", "Sort by names", nullptr));
|
||||
actionSortAlphabetically->setIconText(QCoreApplication::translate("AmplitudeView", "Sort by names", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionSortAlphabetically->setToolTip(QCoreApplication::translate("AmplitudeView", "Sorts the traces by name (Alt+A)", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
@ -836,15 +750,13 @@ public:
|
||||
actionToggleFilter->setShortcut(QCoreApplication::translate("AmplitudeView", "F", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionMaximizeAmplitudes->setText(QCoreApplication::translate("AmplitudeView", "Maximize visible amplitudes", nullptr));
|
||||
actionMaximizeAmplitudes->setIconText(QCoreApplication::translate("AmplitudeView", "Maximize visible amplitudes", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionMaximizeAmplitudes->setToolTip(QCoreApplication::translate("AmplitudeView", "Maximize visible amplitudes (S)", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
#if QT_CONFIG(shortcut)
|
||||
actionMaximizeAmplitudes->setShortcut(QCoreApplication::translate("AmplitudeView", "S", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionComputeMagnitudes->setText(QCoreApplication::translate("AmplitudeView", "&Apply", nullptr));
|
||||
actionComputeMagnitudes->setIconText(QCoreApplication::translate("AmplitudeView", "Apply", nullptr));
|
||||
actionComputeMagnitudes->setText(QCoreApplication::translate("AmplitudeView", "&Apply all", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionComputeMagnitudes->setToolTip(QCoreApplication::translate("AmplitudeView", "Compute the magnitude and update it in the origin.", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
@ -855,25 +767,21 @@ public:
|
||||
actionComputeMagnitudes->setShortcut(QCoreApplication::translate("AmplitudeView", "F5", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionShowTheoreticalArrivals->setText(QCoreApplication::translate("AmplitudeView", "Show theoretical arrivals", nullptr));
|
||||
actionShowTheoreticalArrivals->setIconText(QCoreApplication::translate("AmplitudeView", "Show theoretical arrivals", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionShowTheoreticalArrivals->setToolTip(QCoreApplication::translate("AmplitudeView", "Shows theoretical arrivals as blue bars in the traces", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
#if QT_CONFIG(shortcut)
|
||||
actionShowTheoreticalArrivals->setShortcut(QCoreApplication::translate("AmplitudeView", "Ctrl+T", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionShowAllStations->setText(QCoreApplication::translate("AmplitudeView", "Add stations in range", nullptr));
|
||||
actionShowAllStations->setIconText(QCoreApplication::translate("AmplitudeView", "Add stations in range", nullptr));
|
||||
actionAddStationsInDistanceRange->setText(QCoreApplication::translate("AmplitudeView", "Add stations in range", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionShowAllStations->setToolTip(QCoreApplication::translate("AmplitudeView", "Adds all stations next to the origin with distance lower or equal than the entered value that haven't triggered. When view mode is \"used stations only\" you won't see the new stations until leaving this mode.", nullptr));
|
||||
actionAddStationsInDistanceRange->setToolTip(QCoreApplication::translate("AmplitudeView", "Adds all stations next to the origin with distance lower or equal than the entered value that haven't triggered. When view mode is \"used stations only\" you won't see the new stations until leaving this mode.", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
actionShowUsedStations->setText(QCoreApplication::translate("AmplitudeView", "&Show used stations only", nullptr));
|
||||
actionShowUsedStations->setIconText(QCoreApplication::translate("AmplitudeView", "Used stations only", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionShowUsedStations->setToolTip(QCoreApplication::translate("AmplitudeView", "Toggles between hiding unpicked and deactivated stations and showing all stations", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
actionShowZComponent->setText(QCoreApplication::translate("AmplitudeView", "Vertical", nullptr));
|
||||
actionShowZComponent->setIconText(QCoreApplication::translate("AmplitudeView", "Vertical", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionShowZComponent->setToolTip(QCoreApplication::translate("AmplitudeView", "Show Vertical Component (Z)", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
@ -881,7 +789,6 @@ public:
|
||||
actionShowZComponent->setShortcut(QCoreApplication::translate("AmplitudeView", "Z", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionShowNComponent->setText(QCoreApplication::translate("AmplitudeView", "North", nullptr));
|
||||
actionShowNComponent->setIconText(QCoreApplication::translate("AmplitudeView", "North", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionShowNComponent->setToolTip(QCoreApplication::translate("AmplitudeView", "Show North Component (N)", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
@ -889,7 +796,6 @@ public:
|
||||
actionShowNComponent->setShortcut(QCoreApplication::translate("AmplitudeView", "N", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionShowEComponent->setText(QCoreApplication::translate("AmplitudeView", "East", nullptr));
|
||||
actionShowEComponent->setIconText(QCoreApplication::translate("AmplitudeView", "East", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionShowEComponent->setToolTip(QCoreApplication::translate("AmplitudeView", "Show East Component (E)", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
@ -897,7 +803,6 @@ public:
|
||||
actionShowEComponent->setShortcut(QCoreApplication::translate("AmplitudeView", "E", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionGotoNextMarker->setText(QCoreApplication::translate("AmplitudeView", "Goto next marker", nullptr));
|
||||
actionGotoNextMarker->setIconText(QCoreApplication::translate("AmplitudeView", "Goto next marker", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionGotoNextMarker->setToolTip(QCoreApplication::translate("AmplitudeView", "Goto next marker", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
@ -905,7 +810,6 @@ public:
|
||||
actionGotoNextMarker->setShortcut(QCoreApplication::translate("AmplitudeView", "Alt+Right", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionGotoPreviousMarker->setText(QCoreApplication::translate("AmplitudeView", "Goto previous marker", nullptr));
|
||||
actionGotoPreviousMarker->setIconText(QCoreApplication::translate("AmplitudeView", "Goto previous marker", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionGotoPreviousMarker->setToolTip(QCoreApplication::translate("AmplitudeView", "Goto previous marker", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
@ -913,7 +817,6 @@ public:
|
||||
actionGotoPreviousMarker->setShortcut(QCoreApplication::translate("AmplitudeView", "Alt+Left", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionSwitchFullscreen->setText(QCoreApplication::translate("AmplitudeView", "Toggle fullscreen", nullptr));
|
||||
actionSwitchFullscreen->setIconText(QCoreApplication::translate("AmplitudeView", "Toggle fullscreen", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionSwitchFullscreen->setToolTip(QCoreApplication::translate("AmplitudeView", "Toggle fullscreen", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
@ -938,13 +841,12 @@ public:
|
||||
#if QT_CONFIG(shortcut)
|
||||
actionLimitFilterToZoomTrace->setShortcut(QCoreApplication::translate("AmplitudeView", "Shift+F", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionShowTraceValuesInNmS->setText(QCoreApplication::translate("AmplitudeView", "Show trace values in nm/s", nullptr));
|
||||
actionShowTraceValuesInNmS->setText(QCoreApplication::translate("AmplitudeView", "Show trace values in nano units", nullptr));
|
||||
actionClipComponentsToViewport->setText(QCoreApplication::translate("AmplitudeView", "Clip components to viewport", nullptr));
|
||||
#if QT_CONFIG(shortcut)
|
||||
actionClipComponentsToViewport->setShortcut(QCoreApplication::translate("AmplitudeView", "C", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionCreateAmplitude->setText(QCoreApplication::translate("AmplitudeView", "Create amplitude", nullptr));
|
||||
actionCreateAmplitude->setIconText(QCoreApplication::translate("AmplitudeView", "Create amplitude", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionCreateAmplitude->setToolTip(QCoreApplication::translate("AmplitudeView", "Create amplitude", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
@ -952,7 +854,6 @@ public:
|
||||
actionCreateAmplitude->setShortcut(QCoreApplication::translate("AmplitudeView", "Enter", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionConfirmAmplitude->setText(QCoreApplication::translate("AmplitudeView", "Confirm amplitude", nullptr));
|
||||
actionConfirmAmplitude->setIconText(QCoreApplication::translate("AmplitudeView", "Confirm amplitude", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionConfirmAmplitude->setToolTip(QCoreApplication::translate("AmplitudeView", "Confirm amplitude", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
@ -960,7 +861,6 @@ public:
|
||||
actionConfirmAmplitude->setShortcut(QCoreApplication::translate("AmplitudeView", "Shift+Return", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionDeleteAmplitude->setText(QCoreApplication::translate("AmplitudeView", "Delete amplitude", nullptr));
|
||||
actionDeleteAmplitude->setIconText(QCoreApplication::translate("AmplitudeView", "Delete amplitude", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionDeleteAmplitude->setToolTip(QCoreApplication::translate("AmplitudeView", "Delete amplitude (Del)", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
@ -968,7 +868,6 @@ public:
|
||||
actionDeleteAmplitude->setShortcut(QCoreApplication::translate("AmplitudeView", "Del", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionDisablePicking->setText(QCoreApplication::translate("AmplitudeView", "Leave picking mode", nullptr));
|
||||
actionDisablePicking->setIconText(QCoreApplication::translate("AmplitudeView", "Leave picking mode", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionDisablePicking->setToolTip(QCoreApplication::translate("AmplitudeView", "Leave picking mode (Esc)", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
@ -976,15 +875,13 @@ public:
|
||||
actionDisablePicking->setShortcut(QCoreApplication::translate("AmplitudeView", "Esc", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionRecalculateAmplitudes->setText(QCoreApplication::translate("AmplitudeView", "Remeasure all amplitudes", nullptr));
|
||||
actionRecalculateAmplitudes->setIconText(QCoreApplication::translate("AmplitudeView", "Remeasure all amplitudes", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionRecalculateAmplitudes->setToolTip(QCoreApplication::translate("AmplitudeView", "Remeasure all amplitudes", nullptr));
|
||||
actionRecalculateAmplitudes->setToolTip(QCoreApplication::translate("AmplitudeView", "Remeasure all amplitudes (Shift+R)", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
#if QT_CONFIG(shortcut)
|
||||
actionRecalculateAmplitudes->setShortcut(QCoreApplication::translate("AmplitudeView", "Shift+R", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionPickAmplitude->setText(QCoreApplication::translate("AmplitudeView", "Pick amplitudes", nullptr));
|
||||
actionPickAmplitude->setIconText(QCoreApplication::translate("AmplitudeView", "Pick amplitudes", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionPickAmplitude->setToolTip(QCoreApplication::translate("AmplitudeView", "Drag time window for measuring amplitudes", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
@ -992,9 +889,8 @@ public:
|
||||
actionPickAmplitude->setShortcut(QCoreApplication::translate("AmplitudeView", "1", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionRecalculateAmplitude->setText(QCoreApplication::translate("AmplitudeView", "Remeasure amplitude of selected waveform", nullptr));
|
||||
actionRecalculateAmplitude->setIconText(QCoreApplication::translate("AmplitudeView", "Remeasure amplitude of selected waveform", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionRecalculateAmplitude->setToolTip(QCoreApplication::translate("AmplitudeView", "Remeasure amplitude of selected waveform", nullptr));
|
||||
actionRecalculateAmplitude->setToolTip(QCoreApplication::translate("AmplitudeView", "Remeasure amplitude of selected waveform (R)", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
#if QT_CONFIG(shortcut)
|
||||
actionRecalculateAmplitude->setShortcut(QCoreApplication::translate("AmplitudeView", "R", nullptr));
|
||||
|
||||
@ -171,7 +171,7 @@ public:
|
||||
{
|
||||
if (EventEdit->objectName().isEmpty())
|
||||
EventEdit->setObjectName(QString::fromUtf8("EventEdit"));
|
||||
EventEdit->resize(835, 795);
|
||||
EventEdit->resize(1415, 1094);
|
||||
hboxLayout = new QHBoxLayout(EventEdit);
|
||||
hboxLayout->setSpacing(0);
|
||||
hboxLayout->setContentsMargins(0, 0, 0, 0);
|
||||
@ -226,6 +226,9 @@ public:
|
||||
hboxLayout1->addWidget(frameMap);
|
||||
|
||||
treeMagnitudes = new QTreeWidget(originWidget);
|
||||
QTreeWidgetItem *__qtreewidgetitem = new QTreeWidgetItem();
|
||||
__qtreewidgetitem->setText(0, QString::fromUtf8("1"));
|
||||
treeMagnitudes->setHeaderItem(__qtreewidgetitem);
|
||||
treeMagnitudes->setObjectName(QString::fromUtf8("treeMagnitudes"));
|
||||
QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Expanding);
|
||||
sizePolicy2.setHorizontalStretch(0);
|
||||
@ -261,9 +264,7 @@ public:
|
||||
#ifndef Q_OS_MAC
|
||||
gridLayout1->setSpacing(6);
|
||||
#endif
|
||||
#ifndef Q_OS_MAC
|
||||
gridLayout1->setContentsMargins(9, 9, 9, 9);
|
||||
#endif
|
||||
gridLayout1->setContentsMargins(0, 0, 0, 0);
|
||||
gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
|
||||
comboTypes = new QComboBox(frameInformation);
|
||||
comboTypes->setObjectName(QString::fromUtf8("comboTypes"));
|
||||
@ -272,7 +273,6 @@ public:
|
||||
sizePolicy4.setVerticalStretch(0);
|
||||
sizePolicy4.setHeightForWidth(comboTypes->sizePolicy().hasHeightForWidth());
|
||||
comboTypes->setSizePolicy(sizePolicy4);
|
||||
comboTypes->setSizeAdjustPolicy(QComboBox::AdjustToMinimumContentsLength);
|
||||
comboTypes->setMinimumContentsLength(9);
|
||||
|
||||
gridLayout1->addWidget(comboTypes, 2, 1, 1, 3);
|
||||
@ -479,9 +479,7 @@ public:
|
||||
#ifndef Q_OS_MAC
|
||||
gridLayout2->setSpacing(6);
|
||||
#endif
|
||||
#ifndef Q_OS_MAC
|
||||
gridLayout2->setContentsMargins(9, 9, 9, 9);
|
||||
#endif
|
||||
gridLayout2->setContentsMargins(0, 0, 0, 0);
|
||||
gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
|
||||
buttonReleaseMagnitudeType = new QPushButton(frameInformationM);
|
||||
buttonReleaseMagnitudeType->setObjectName(QString::fromUtf8("buttonReleaseMagnitudeType"));
|
||||
@ -599,6 +597,9 @@ public:
|
||||
#endif
|
||||
hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
|
||||
fmTree = new QTreeWidget(fmTop);
|
||||
QTreeWidgetItem *__qtreewidgetitem1 = new QTreeWidgetItem();
|
||||
__qtreewidgetitem1->setText(0, QString::fromUtf8("1"));
|
||||
fmTree->setHeaderItem(__qtreewidgetitem1);
|
||||
fmTree->setObjectName(QString::fromUtf8("fmTree"));
|
||||
sizePolicy.setHeightForWidth(fmTree->sizePolicy().hasHeightForWidth());
|
||||
fmTree->setSizePolicy(sizePolicy);
|
||||
@ -619,9 +620,7 @@ public:
|
||||
#ifndef Q_OS_MAC
|
||||
gridLayout3->setSpacing(6);
|
||||
#endif
|
||||
#ifndef Q_OS_MAC
|
||||
gridLayout3->setContentsMargins(9, 9, 9, 9);
|
||||
#endif
|
||||
gridLayout3->setContentsMargins(0, 0, 0, 0);
|
||||
gridLayout3->setObjectName(QString::fromUtf8("gridLayout3"));
|
||||
fmDist = new QLabel(fmInfo);
|
||||
fmDist->setObjectName(QString::fromUtf8("fmDist"));
|
||||
@ -1046,6 +1045,9 @@ public:
|
||||
|
||||
retranslateUi(EventEdit);
|
||||
|
||||
tabWidget->setCurrentIndex(0);
|
||||
|
||||
|
||||
QMetaObject::connectSlotsByName(EventEdit);
|
||||
} // setupUi
|
||||
|
||||
@ -1115,7 +1117,7 @@ public:
|
||||
fmNP2L->setText(QCoreApplication::translate("EventEdit", "NP2:", nullptr));
|
||||
fmMethodL->setText(QCoreApplication::translate("EventEdit", "Method:", nullptr));
|
||||
fmCountL->setText(QCoreApplication::translate("EventEdit", "Count:", nullptr));
|
||||
fmFixButton->setText(QCoreApplication::translate("EventEdit", "Fix FM", nullptr));
|
||||
fmFixButton->setText(QCoreApplication::translate("EventEdit", "Fix", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
fmGap->setToolTip(QCoreApplication::translate("EventEdit", "Azimuthal Gap", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
@ -1141,7 +1143,7 @@ public:
|
||||
fmMethod->setToolTip(QCoreApplication::translate("EventEdit", "Method ID", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
fmMethod->setText(QString());
|
||||
fmAutoButton->setText(QCoreApplication::translate("EventEdit", "Automatic FM selection", nullptr));
|
||||
fmAutoButton->setText(QCoreApplication::translate("EventEdit", "Unfix focal mechanism", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
fmMisfit->setToolTip(QCoreApplication::translate("EventEdit", "Misfit", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
|
||||
@ -27,32 +27,38 @@ class Ui_EventFilter
|
||||
public:
|
||||
QVBoxLayout *vboxLayout;
|
||||
QGridLayout *gridLayout;
|
||||
Seiscomp::Gui::OptionalDoubleSpinBox *toLatitude;
|
||||
QFrame *frame;
|
||||
QLineEdit *editEventID;
|
||||
Seiscomp::Gui::OptionalDoubleSpinBox *fromLatitude;
|
||||
QLabel *label_11;
|
||||
QLabel *label_14;
|
||||
Seiscomp::Gui::OptionalDoubleSpinBox *fromMagnitude;
|
||||
QLabel *label_4;
|
||||
QFrame *frame_3;
|
||||
QFrame *frame_4;
|
||||
Seiscomp::Gui::OptionalDoubleSpinBox *fromLongitude;
|
||||
QLabel *label_15;
|
||||
Seiscomp::Gui::OptionalDoubleSpinBox *toLongitude;
|
||||
Seiscomp::Gui::OptionalDoubleSpinBox *fromDepth;
|
||||
QFrame *frame_2;
|
||||
QLabel *label;
|
||||
Seiscomp::Gui::OptionalDoubleSpinBox *toDepth;
|
||||
QLabel *label_5;
|
||||
QFrame *frame_3;
|
||||
QLabel *label_14;
|
||||
QLabel *label_11;
|
||||
QLabel *label_8;
|
||||
QLabel *label_10;
|
||||
QLabel *label_6;
|
||||
QLabel *label_12;
|
||||
QLabel *label_9;
|
||||
Seiscomp::Gui::OptionalDoubleSpinBox *fromLatitude;
|
||||
QLabel *label_6;
|
||||
QLabel *label_7;
|
||||
QLabel *label_8;
|
||||
Seiscomp::Gui::OptionalDoubleSpinBox *fromDepth;
|
||||
QLabel *label_4;
|
||||
Seiscomp::Gui::OptionalDoubleSpinBox *toMagnitude;
|
||||
Seiscomp::Gui::OptionalDoubleSpinBox *fromLongitude;
|
||||
QFrame *frame;
|
||||
QLabel *label_2;
|
||||
QLabel *label_5;
|
||||
QFrame *frame_2;
|
||||
QLabel *label_10;
|
||||
Seiscomp::Gui::OptionalDoubleSpinBox *toDepth;
|
||||
Seiscomp::Gui::OptionalDoubleSpinBox *toLatitude;
|
||||
QLabel *label_7;
|
||||
QLabel *label;
|
||||
QLabel *label_13;
|
||||
QFrame *frame_4;
|
||||
QLineEdit *editEventID;
|
||||
QFrame *frame_6;
|
||||
QLabel *label_3;
|
||||
QLabel *label_16;
|
||||
Seiscomp::Gui::OptionalDoubleSpinBox *fromPhase;
|
||||
Seiscomp::Gui::OptionalDoubleSpinBox *toPhase;
|
||||
QFrame *frame_5;
|
||||
QToolButton *btnReset;
|
||||
|
||||
@ -62,29 +68,136 @@ public:
|
||||
EventFilter->setObjectName(QString::fromUtf8("EventFilter"));
|
||||
EventFilter->resize(407, 419);
|
||||
vboxLayout = new QVBoxLayout(EventFilter);
|
||||
#ifndef Q_OS_MAC
|
||||
vboxLayout->setSpacing(6);
|
||||
#endif
|
||||
#ifndef Q_OS_MAC
|
||||
vboxLayout->setContentsMargins(9, 9, 9, 9);
|
||||
#endif
|
||||
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
|
||||
vboxLayout->setContentsMargins(9, 9, 9, 9);
|
||||
gridLayout = new QGridLayout();
|
||||
#ifndef Q_OS_MAC
|
||||
gridLayout->setSpacing(6);
|
||||
#endif
|
||||
#ifndef Q_OS_MAC
|
||||
gridLayout->setContentsMargins(0, 0, 0, 0);
|
||||
#endif
|
||||
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
||||
toLatitude = new Seiscomp::Gui::OptionalDoubleSpinBox(EventFilter);
|
||||
toLatitude->setObjectName(QString::fromUtf8("toLatitude"));
|
||||
toLatitude->setDecimals(4);
|
||||
toLatitude->setMaximum(90.000000000000000);
|
||||
toLatitude->setMinimum(-90.000000000000000);
|
||||
toLatitude->setValue(-90.000000000000000);
|
||||
gridLayout->setContentsMargins(0, 0, 0, 0);
|
||||
editEventID = new QLineEdit(EventFilter);
|
||||
editEventID->setObjectName(QString::fromUtf8("editEventID"));
|
||||
|
||||
gridLayout->addWidget(toLatitude, 3, 3, 1, 1);
|
||||
gridLayout->addWidget(editEventID, 0, 1, 1, 3);
|
||||
|
||||
fromLatitude = new Seiscomp::Gui::OptionalDoubleSpinBox(EventFilter);
|
||||
fromLatitude->setObjectName(QString::fromUtf8("fromLatitude"));
|
||||
fromLatitude->setDecimals(4);
|
||||
fromLatitude->setMinimum(-90.000000000000000);
|
||||
fromLatitude->setMaximum(90.000000000000000);
|
||||
fromLatitude->setValue(-90.000000000000000);
|
||||
|
||||
gridLayout->addWidget(fromLatitude, 3, 1, 1, 1);
|
||||
|
||||
label_11 = new QLabel(EventFilter);
|
||||
label_11->setObjectName(QString::fromUtf8("label_11"));
|
||||
label_11->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
||||
|
||||
gridLayout->addWidget(label_11, 9, 0, 1, 1);
|
||||
|
||||
label_14 = new QLabel(EventFilter);
|
||||
label_14->setObjectName(QString::fromUtf8("label_14"));
|
||||
label_14->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
||||
|
||||
gridLayout->addWidget(label_14, 15, 0, 1, 1);
|
||||
|
||||
fromMagnitude = new Seiscomp::Gui::OptionalDoubleSpinBox(EventFilter);
|
||||
fromMagnitude->setObjectName(QString::fromUtf8("fromMagnitude"));
|
||||
fromMagnitude->setDecimals(1);
|
||||
fromMagnitude->setMinimum(-10.000000000000000);
|
||||
fromMagnitude->setMaximum(20.000000000000000);
|
||||
fromMagnitude->setSingleStep(0.500000000000000);
|
||||
fromMagnitude->setValue(-10.000000000000000);
|
||||
|
||||
gridLayout->addWidget(fromMagnitude, 15, 1, 1, 1);
|
||||
|
||||
frame_3 = new QFrame(EventFilter);
|
||||
frame_3->setObjectName(QString::fromUtf8("frame_3"));
|
||||
frame_3->setFrameShape(QFrame::HLine);
|
||||
frame_3->setFrameShadow(QFrame::Sunken);
|
||||
|
||||
gridLayout->addWidget(frame_3, 10, 0, 1, 4);
|
||||
|
||||
frame_4 = new QFrame(EventFilter);
|
||||
frame_4->setObjectName(QString::fromUtf8("frame_4"));
|
||||
frame_4->setFrameShape(QFrame::HLine);
|
||||
frame_4->setFrameShadow(QFrame::Sunken);
|
||||
|
||||
gridLayout->addWidget(frame_4, 1, 0, 1, 4);
|
||||
|
||||
fromLongitude = new Seiscomp::Gui::OptionalDoubleSpinBox(EventFilter);
|
||||
fromLongitude->setObjectName(QString::fromUtf8("fromLongitude"));
|
||||
fromLongitude->setDecimals(4);
|
||||
fromLongitude->setMinimum(-180.000000000000000);
|
||||
fromLongitude->setMaximum(180.000000000000000);
|
||||
fromLongitude->setValue(-180.000000000000000);
|
||||
|
||||
gridLayout->addWidget(fromLongitude, 6, 1, 1, 1);
|
||||
|
||||
label_15 = new QLabel(EventFilter);
|
||||
label_15->setObjectName(QString::fromUtf8("label_15"));
|
||||
|
||||
gridLayout->addWidget(label_15, 15, 2, 1, 1);
|
||||
|
||||
toLongitude = new Seiscomp::Gui::OptionalDoubleSpinBox(EventFilter);
|
||||
toLongitude->setObjectName(QString::fromUtf8("toLongitude"));
|
||||
toLongitude->setDecimals(4);
|
||||
toLongitude->setMinimum(-180.000000000000000);
|
||||
toLongitude->setMaximum(180.000000000000000);
|
||||
toLongitude->setValue(-180.000000000000000);
|
||||
|
||||
gridLayout->addWidget(toLongitude, 6, 3, 1, 1);
|
||||
|
||||
label_6 = new QLabel(EventFilter);
|
||||
label_6->setObjectName(QString::fromUtf8("label_6"));
|
||||
QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred);
|
||||
sizePolicy.setHorizontalStretch(0);
|
||||
sizePolicy.setVerticalStretch(0);
|
||||
sizePolicy.setHeightForWidth(label_6->sizePolicy().hasHeightForWidth());
|
||||
label_6->setSizePolicy(sizePolicy);
|
||||
|
||||
gridLayout->addWidget(label_6, 3, 2, 1, 1);
|
||||
|
||||
label_12 = new QLabel(EventFilter);
|
||||
label_12->setObjectName(QString::fromUtf8("label_12"));
|
||||
|
||||
gridLayout->addWidget(label_12, 9, 2, 1, 1);
|
||||
|
||||
label_9 = new QLabel(EventFilter);
|
||||
label_9->setObjectName(QString::fromUtf8("label_9"));
|
||||
|
||||
gridLayout->addWidget(label_9, 6, 2, 1, 1);
|
||||
|
||||
label_8 = new QLabel(EventFilter);
|
||||
label_8->setObjectName(QString::fromUtf8("label_8"));
|
||||
label_8->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
||||
|
||||
gridLayout->addWidget(label_8, 6, 0, 1, 1);
|
||||
|
||||
fromDepth = new Seiscomp::Gui::OptionalDoubleSpinBox(EventFilter);
|
||||
fromDepth->setObjectName(QString::fromUtf8("fromDepth"));
|
||||
fromDepth->setMinimum(-999.000000000000000);
|
||||
fromDepth->setMaximum(999.000000000000000);
|
||||
fromDepth->setValue(-999.000000000000000);
|
||||
|
||||
gridLayout->addWidget(fromDepth, 9, 1, 1, 1);
|
||||
|
||||
label_4 = new QLabel(EventFilter);
|
||||
label_4->setObjectName(QString::fromUtf8("label_4"));
|
||||
sizePolicy.setHeightForWidth(label_4->sizePolicy().hasHeightForWidth());
|
||||
label_4->setSizePolicy(sizePolicy);
|
||||
|
||||
gridLayout->addWidget(label_4, 0, 0, 1, 1);
|
||||
|
||||
toMagnitude = new Seiscomp::Gui::OptionalDoubleSpinBox(EventFilter);
|
||||
toMagnitude->setObjectName(QString::fromUtf8("toMagnitude"));
|
||||
toMagnitude->setDecimals(1);
|
||||
toMagnitude->setMinimum(-10.000000000000000);
|
||||
toMagnitude->setMaximum(20.000000000000000);
|
||||
toMagnitude->setSingleStep(0.500000000000000);
|
||||
toMagnitude->setValue(-10.000000000000000);
|
||||
|
||||
gridLayout->addWidget(toMagnitude, 15, 3, 1, 1);
|
||||
|
||||
frame = new QFrame(EventFilter);
|
||||
frame->setObjectName(QString::fromUtf8("frame"));
|
||||
@ -93,67 +206,10 @@ public:
|
||||
|
||||
gridLayout->addWidget(frame, 4, 0, 1, 4);
|
||||
|
||||
fromMagnitude = new Seiscomp::Gui::OptionalDoubleSpinBox(EventFilter);
|
||||
fromMagnitude->setObjectName(QString::fromUtf8("fromMagnitude"));
|
||||
fromMagnitude->setDecimals(1);
|
||||
fromMagnitude->setMaximum(20.000000000000000);
|
||||
fromMagnitude->setMinimum(-10.000000000000000);
|
||||
fromMagnitude->setSingleStep(0.500000000000000);
|
||||
fromMagnitude->setValue(-10.000000000000000);
|
||||
label_2 = new QLabel(EventFilter);
|
||||
label_2->setObjectName(QString::fromUtf8("label_2"));
|
||||
|
||||
gridLayout->addWidget(fromMagnitude, 12, 1, 1, 1);
|
||||
|
||||
label_4 = new QLabel(EventFilter);
|
||||
label_4->setObjectName(QString::fromUtf8("label_4"));
|
||||
QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred);
|
||||
sizePolicy.setHorizontalStretch(0);
|
||||
sizePolicy.setVerticalStretch(0);
|
||||
sizePolicy.setHeightForWidth(label_4->sizePolicy().hasHeightForWidth());
|
||||
label_4->setSizePolicy(sizePolicy);
|
||||
|
||||
gridLayout->addWidget(label_4, 0, 0, 1, 1);
|
||||
|
||||
label_15 = new QLabel(EventFilter);
|
||||
label_15->setObjectName(QString::fromUtf8("label_15"));
|
||||
|
||||
gridLayout->addWidget(label_15, 12, 2, 1, 1);
|
||||
|
||||
toLongitude = new Seiscomp::Gui::OptionalDoubleSpinBox(EventFilter);
|
||||
toLongitude->setObjectName(QString::fromUtf8("toLongitude"));
|
||||
toLongitude->setDecimals(4);
|
||||
toLongitude->setMaximum(180.000000000000000);
|
||||
toLongitude->setMinimum(-180.000000000000000);
|
||||
toLongitude->setValue(-180.000000000000000);
|
||||
|
||||
gridLayout->addWidget(toLongitude, 6, 3, 1, 1);
|
||||
|
||||
fromDepth = new Seiscomp::Gui::OptionalDoubleSpinBox(EventFilter);
|
||||
fromDepth->setObjectName(QString::fromUtf8("fromDepth"));
|
||||
fromDepth->setMaximum(999.000000000000000);
|
||||
fromDepth->setMinimum(-999.000000000000000);
|
||||
fromDepth->setValue(-999.000000000000000);
|
||||
|
||||
gridLayout->addWidget(fromDepth, 9, 1, 1, 1);
|
||||
|
||||
frame_2 = new QFrame(EventFilter);
|
||||
frame_2->setObjectName(QString::fromUtf8("frame_2"));
|
||||
frame_2->setFrameShape(QFrame::HLine);
|
||||
frame_2->setFrameShadow(QFrame::Sunken);
|
||||
|
||||
gridLayout->addWidget(frame_2, 7, 0, 1, 4);
|
||||
|
||||
label = new QLabel(EventFilter);
|
||||
label->setObjectName(QString::fromUtf8("label"));
|
||||
|
||||
gridLayout->addWidget(label, 2, 0, 1, 4);
|
||||
|
||||
toDepth = new Seiscomp::Gui::OptionalDoubleSpinBox(EventFilter);
|
||||
toDepth->setObjectName(QString::fromUtf8("toDepth"));
|
||||
toDepth->setMaximum(999.000000000000000);
|
||||
toDepth->setMinimum(-999.000000000000000);
|
||||
toDepth->setValue(-999.000000000000000);
|
||||
|
||||
gridLayout->addWidget(toDepth, 9, 3, 1, 1);
|
||||
gridLayout->addWidget(label_2, 11, 0, 1, 4);
|
||||
|
||||
label_5 = new QLabel(EventFilter);
|
||||
label_5->setObjectName(QString::fromUtf8("label_5"));
|
||||
@ -166,102 +222,88 @@ public:
|
||||
|
||||
gridLayout->addWidget(label_5, 3, 0, 1, 1);
|
||||
|
||||
frame_3 = new QFrame(EventFilter);
|
||||
frame_3->setObjectName(QString::fromUtf8("frame_3"));
|
||||
frame_3->setFrameShape(QFrame::HLine);
|
||||
frame_3->setFrameShadow(QFrame::Sunken);
|
||||
frame_2 = new QFrame(EventFilter);
|
||||
frame_2->setObjectName(QString::fromUtf8("frame_2"));
|
||||
frame_2->setFrameShape(QFrame::HLine);
|
||||
frame_2->setFrameShadow(QFrame::Sunken);
|
||||
|
||||
gridLayout->addWidget(frame_3, 10, 0, 1, 4);
|
||||
|
||||
label_14 = new QLabel(EventFilter);
|
||||
label_14->setObjectName(QString::fromUtf8("label_14"));
|
||||
label_14->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
||||
|
||||
gridLayout->addWidget(label_14, 12, 0, 1, 1);
|
||||
|
||||
label_11 = new QLabel(EventFilter);
|
||||
label_11->setObjectName(QString::fromUtf8("label_11"));
|
||||
label_11->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
||||
|
||||
gridLayout->addWidget(label_11, 9, 0, 1, 1);
|
||||
|
||||
label_8 = new QLabel(EventFilter);
|
||||
label_8->setObjectName(QString::fromUtf8("label_8"));
|
||||
label_8->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
||||
|
||||
gridLayout->addWidget(label_8, 6, 0, 1, 1);
|
||||
gridLayout->addWidget(frame_2, 7, 0, 1, 4);
|
||||
|
||||
label_10 = new QLabel(EventFilter);
|
||||
label_10->setObjectName(QString::fromUtf8("label_10"));
|
||||
|
||||
gridLayout->addWidget(label_10, 8, 0, 1, 4);
|
||||
|
||||
label_12 = new QLabel(EventFilter);
|
||||
label_12->setObjectName(QString::fromUtf8("label_12"));
|
||||
toDepth = new Seiscomp::Gui::OptionalDoubleSpinBox(EventFilter);
|
||||
toDepth->setObjectName(QString::fromUtf8("toDepth"));
|
||||
toDepth->setMinimum(-999.000000000000000);
|
||||
toDepth->setMaximum(999.000000000000000);
|
||||
toDepth->setValue(-999.000000000000000);
|
||||
|
||||
gridLayout->addWidget(label_12, 9, 2, 1, 1);
|
||||
gridLayout->addWidget(toDepth, 9, 3, 1, 1);
|
||||
|
||||
label_9 = new QLabel(EventFilter);
|
||||
label_9->setObjectName(QString::fromUtf8("label_9"));
|
||||
toLatitude = new Seiscomp::Gui::OptionalDoubleSpinBox(EventFilter);
|
||||
toLatitude->setObjectName(QString::fromUtf8("toLatitude"));
|
||||
toLatitude->setDecimals(4);
|
||||
toLatitude->setMinimum(-90.000000000000000);
|
||||
toLatitude->setMaximum(90.000000000000000);
|
||||
toLatitude->setValue(-90.000000000000000);
|
||||
|
||||
gridLayout->addWidget(label_9, 6, 2, 1, 1);
|
||||
|
||||
fromLatitude = new Seiscomp::Gui::OptionalDoubleSpinBox(EventFilter);
|
||||
fromLatitude->setObjectName(QString::fromUtf8("fromLatitude"));
|
||||
fromLatitude->setDecimals(4);
|
||||
fromLatitude->setMaximum(90.000000000000000);
|
||||
fromLatitude->setMinimum(-90.000000000000000);
|
||||
fromLatitude->setValue(-90.000000000000000);
|
||||
|
||||
gridLayout->addWidget(fromLatitude, 3, 1, 1, 1);
|
||||
|
||||
label_6 = new QLabel(EventFilter);
|
||||
label_6->setObjectName(QString::fromUtf8("label_6"));
|
||||
sizePolicy.setHeightForWidth(label_6->sizePolicy().hasHeightForWidth());
|
||||
label_6->setSizePolicy(sizePolicy);
|
||||
|
||||
gridLayout->addWidget(label_6, 3, 2, 1, 1);
|
||||
gridLayout->addWidget(toLatitude, 3, 3, 1, 1);
|
||||
|
||||
label_7 = new QLabel(EventFilter);
|
||||
label_7->setObjectName(QString::fromUtf8("label_7"));
|
||||
|
||||
gridLayout->addWidget(label_7, 5, 0, 1, 4);
|
||||
|
||||
toMagnitude = new Seiscomp::Gui::OptionalDoubleSpinBox(EventFilter);
|
||||
toMagnitude->setObjectName(QString::fromUtf8("toMagnitude"));
|
||||
toMagnitude->setDecimals(1);
|
||||
toMagnitude->setMaximum(20.000000000000000);
|
||||
toMagnitude->setMinimum(-10.000000000000000);
|
||||
toMagnitude->setSingleStep(0.500000000000000);
|
||||
toMagnitude->setValue(-10.000000000000000);
|
||||
label = new QLabel(EventFilter);
|
||||
label->setObjectName(QString::fromUtf8("label"));
|
||||
|
||||
gridLayout->addWidget(toMagnitude, 12, 3, 1, 1);
|
||||
|
||||
fromLongitude = new Seiscomp::Gui::OptionalDoubleSpinBox(EventFilter);
|
||||
fromLongitude->setObjectName(QString::fromUtf8("fromLongitude"));
|
||||
fromLongitude->setDecimals(4);
|
||||
fromLongitude->setMaximum(180.000000000000000);
|
||||
fromLongitude->setMinimum(-180.000000000000000);
|
||||
fromLongitude->setValue(-180.000000000000000);
|
||||
|
||||
gridLayout->addWidget(fromLongitude, 6, 1, 1, 1);
|
||||
gridLayout->addWidget(label, 2, 0, 1, 4);
|
||||
|
||||
label_13 = new QLabel(EventFilter);
|
||||
label_13->setObjectName(QString::fromUtf8("label_13"));
|
||||
|
||||
gridLayout->addWidget(label_13, 11, 0, 1, 4);
|
||||
gridLayout->addWidget(label_13, 14, 0, 1, 4);
|
||||
|
||||
frame_4 = new QFrame(EventFilter);
|
||||
frame_4->setObjectName(QString::fromUtf8("frame_4"));
|
||||
frame_4->setFrameShape(QFrame::HLine);
|
||||
frame_4->setFrameShadow(QFrame::Sunken);
|
||||
frame_6 = new QFrame(EventFilter);
|
||||
frame_6->setObjectName(QString::fromUtf8("frame_6"));
|
||||
QSizePolicy sizePolicy2(QSizePolicy::Minimum, QSizePolicy::Fixed);
|
||||
sizePolicy2.setHorizontalStretch(0);
|
||||
sizePolicy2.setVerticalStretch(0);
|
||||
sizePolicy2.setHeightForWidth(frame_6->sizePolicy().hasHeightForWidth());
|
||||
frame_6->setSizePolicy(sizePolicy2);
|
||||
frame_6->setFrameShape(QFrame::HLine);
|
||||
frame_6->setFrameShadow(QFrame::Sunken);
|
||||
|
||||
gridLayout->addWidget(frame_4, 1, 0, 1, 4);
|
||||
gridLayout->addWidget(frame_6, 13, 0, 1, 4);
|
||||
|
||||
editEventID = new QLineEdit(EventFilter);
|
||||
editEventID->setObjectName(QString::fromUtf8("editEventID"));
|
||||
label_3 = new QLabel(EventFilter);
|
||||
label_3->setObjectName(QString::fromUtf8("label_3"));
|
||||
label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
||||
|
||||
gridLayout->addWidget(editEventID, 0, 1, 1, 3);
|
||||
gridLayout->addWidget(label_3, 12, 0, 1, 1);
|
||||
|
||||
label_16 = new QLabel(EventFilter);
|
||||
label_16->setObjectName(QString::fromUtf8("label_16"));
|
||||
|
||||
gridLayout->addWidget(label_16, 12, 2, 1, 1);
|
||||
|
||||
fromPhase = new Seiscomp::Gui::OptionalDoubleSpinBox(EventFilter);
|
||||
fromPhase->setObjectName(QString::fromUtf8("fromPhase"));
|
||||
fromPhase->setDecimals(0);
|
||||
fromPhase->setMinimum(1.000000000000000);
|
||||
fromPhase->setMaximum(999.000000000000000);
|
||||
|
||||
gridLayout->addWidget(fromPhase, 12, 1, 1, 1);
|
||||
|
||||
toPhase = new Seiscomp::Gui::OptionalDoubleSpinBox(EventFilter);
|
||||
toPhase->setObjectName(QString::fromUtf8("toPhase"));
|
||||
toPhase->setDecimals(0);
|
||||
toPhase->setMinimum(1.000000000000000);
|
||||
toPhase->setMaximum(999.000000000000000);
|
||||
|
||||
gridLayout->addWidget(toPhase, 12, 3, 1, 1);
|
||||
|
||||
|
||||
vboxLayout->addLayout(gridLayout);
|
||||
@ -294,36 +336,41 @@ public:
|
||||
void retranslateUi(QWidget *EventFilter)
|
||||
{
|
||||
EventFilter->setWindowTitle(QCoreApplication::translate("EventFilter", "Filter Settings", nullptr));
|
||||
toLatitude->setSpecialValueText(QCoreApplication::translate("EventFilter", "Unset", nullptr));
|
||||
toLatitude->setSuffix(QCoreApplication::translate("EventFilter", "\302\260", nullptr));
|
||||
fromMagnitude->setSpecialValueText(QCoreApplication::translate("EventFilter", "Unset", nullptr));
|
||||
label_4->setText(QCoreApplication::translate("EventFilter", "Event ID", nullptr));
|
||||
label_15->setText(QCoreApplication::translate("EventFilter", "to", nullptr));
|
||||
toLongitude->setSpecialValueText(QCoreApplication::translate("EventFilter", "Unset", nullptr));
|
||||
toLongitude->setSuffix(QCoreApplication::translate("EventFilter", "\302\260", nullptr));
|
||||
fromDepth->setSpecialValueText(QCoreApplication::translate("EventFilter", "Unset", nullptr));
|
||||
fromDepth->setSuffix(QCoreApplication::translate("EventFilter", "km", nullptr));
|
||||
label->setText(QCoreApplication::translate("EventFilter", "Latitude range", nullptr));
|
||||
toDepth->setSpecialValueText(QCoreApplication::translate("EventFilter", "Unset", nullptr));
|
||||
toDepth->setSuffix(QCoreApplication::translate("EventFilter", "km", nullptr));
|
||||
label_5->setText(QCoreApplication::translate("EventFilter", "from", nullptr));
|
||||
label_14->setText(QCoreApplication::translate("EventFilter", "from", nullptr));
|
||||
label_11->setText(QCoreApplication::translate("EventFilter", "from", nullptr));
|
||||
label_8->setText(QCoreApplication::translate("EventFilter", "from", nullptr));
|
||||
label_10->setText(QCoreApplication::translate("EventFilter", "Depth range", nullptr));
|
||||
label_12->setText(QCoreApplication::translate("EventFilter", "to", nullptr));
|
||||
label_9->setText(QCoreApplication::translate("EventFilter", "to", nullptr));
|
||||
fromLatitude->setSpecialValueText(QCoreApplication::translate("EventFilter", "Unset", nullptr));
|
||||
fromLatitude->setSuffix(QCoreApplication::translate("EventFilter", "\302\260", nullptr));
|
||||
label_6->setText(QCoreApplication::translate("EventFilter", "to", nullptr));
|
||||
label_7->setText(QCoreApplication::translate("EventFilter", "Longitude range", nullptr));
|
||||
toMagnitude->setSpecialValueText(QCoreApplication::translate("EventFilter", "Unset", nullptr));
|
||||
fromLongitude->setSpecialValueText(QCoreApplication::translate("EventFilter", "Unset", nullptr));
|
||||
fromLongitude->setSuffix(QCoreApplication::translate("EventFilter", "\302\260", nullptr));
|
||||
label_13->setText(QCoreApplication::translate("EventFilter", "Magnitude range", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
editEventID->setToolTip(QCoreApplication::translate("EventFilter", "EventID filter which allows wildcards (* and ?)", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
fromLatitude->setSpecialValueText(QCoreApplication::translate("EventFilter", "Unset", nullptr));
|
||||
fromLatitude->setSuffix(QCoreApplication::translate("EventFilter", "\302\260", nullptr));
|
||||
label_11->setText(QCoreApplication::translate("EventFilter", "from", nullptr));
|
||||
label_14->setText(QCoreApplication::translate("EventFilter", "from", nullptr));
|
||||
fromMagnitude->setSpecialValueText(QCoreApplication::translate("EventFilter", "Unset", nullptr));
|
||||
fromLongitude->setSpecialValueText(QCoreApplication::translate("EventFilter", "Unset", nullptr));
|
||||
fromLongitude->setSuffix(QCoreApplication::translate("EventFilter", "\302\260", nullptr));
|
||||
label_15->setText(QCoreApplication::translate("EventFilter", "to", nullptr));
|
||||
toLongitude->setSpecialValueText(QCoreApplication::translate("EventFilter", "Unset", nullptr));
|
||||
toLongitude->setSuffix(QCoreApplication::translate("EventFilter", "\302\260", nullptr));
|
||||
label_6->setText(QCoreApplication::translate("EventFilter", "to", nullptr));
|
||||
label_12->setText(QCoreApplication::translate("EventFilter", "to", nullptr));
|
||||
label_9->setText(QCoreApplication::translate("EventFilter", "to", nullptr));
|
||||
label_8->setText(QCoreApplication::translate("EventFilter", "from", nullptr));
|
||||
fromDepth->setSpecialValueText(QCoreApplication::translate("EventFilter", "Unset", nullptr));
|
||||
fromDepth->setSuffix(QCoreApplication::translate("EventFilter", "km", nullptr));
|
||||
label_4->setText(QCoreApplication::translate("EventFilter", "Event ID", nullptr));
|
||||
toMagnitude->setSpecialValueText(QCoreApplication::translate("EventFilter", "Unset", nullptr));
|
||||
label_2->setText(QCoreApplication::translate("EventFilter", "Phase count range", nullptr));
|
||||
label_5->setText(QCoreApplication::translate("EventFilter", "from", nullptr));
|
||||
label_10->setText(QCoreApplication::translate("EventFilter", "Depth range", nullptr));
|
||||
toDepth->setSpecialValueText(QCoreApplication::translate("EventFilter", "Unset", nullptr));
|
||||
toDepth->setSuffix(QCoreApplication::translate("EventFilter", "km", nullptr));
|
||||
toLatitude->setSpecialValueText(QCoreApplication::translate("EventFilter", "Unset", nullptr));
|
||||
toLatitude->setSuffix(QCoreApplication::translate("EventFilter", "\302\260", nullptr));
|
||||
label_7->setText(QCoreApplication::translate("EventFilter", "Longitude range", nullptr));
|
||||
label->setText(QCoreApplication::translate("EventFilter", "Latitude range", nullptr));
|
||||
label_13->setText(QCoreApplication::translate("EventFilter", "Magnitude range", nullptr));
|
||||
label_3->setText(QCoreApplication::translate("EventFilter", "from", nullptr));
|
||||
label_16->setText(QCoreApplication::translate("EventFilter", "to", nullptr));
|
||||
fromPhase->setSpecialValueText(QCoreApplication::translate("EventFilter", "Unset", nullptr));
|
||||
toPhase->setSpecialValueText(QCoreApplication::translate("EventFilter", "Unset", nullptr));
|
||||
btnReset->setText(QCoreApplication::translate("EventFilter", "Reset all", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
|
||||
@ -10,7 +10,6 @@
|
||||
#define UI_EVENTLISTVIEW_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QIcon>
|
||||
#include <QtWidgets/QAction>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QCheckBox>
|
||||
@ -65,6 +64,10 @@ public:
|
||||
QComboBox *lstFilterRegions;
|
||||
QToolButton *btnChangeRegion;
|
||||
QLabel *lbFilterRegions;
|
||||
QSpacerItem *spacer;
|
||||
QCheckBox *cbHideFinalRejected;
|
||||
QSpacerItem *spacer_2;
|
||||
QCheckBox *cbHideNew;
|
||||
QSpacerItem *spacerItem5;
|
||||
|
||||
void setupUi(QWidget *EventListView)
|
||||
@ -75,11 +78,9 @@ public:
|
||||
actionCopyRowToClipboard = new QAction(EventListView);
|
||||
actionCopyRowToClipboard->setObjectName(QString::fromUtf8("actionCopyRowToClipboard"));
|
||||
vboxLayout = new QVBoxLayout(EventListView);
|
||||
#ifndef Q_OS_MAC
|
||||
vboxLayout->setSpacing(6);
|
||||
#endif
|
||||
vboxLayout->setContentsMargins(0, 0, 0, 0);
|
||||
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
|
||||
vboxLayout->setContentsMargins(0, 0, 0, 0);
|
||||
frameList = new QFrame(EventListView);
|
||||
frameList->setObjectName(QString::fromUtf8("frameList"));
|
||||
QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
|
||||
@ -96,19 +97,13 @@ public:
|
||||
frameControls->setObjectName(QString::fromUtf8("frameControls"));
|
||||
frameControls->setFrameShadow(QFrame::Plain);
|
||||
vboxLayout1 = new QVBoxLayout(frameControls);
|
||||
#ifndef Q_OS_MAC
|
||||
vboxLayout1->setSpacing(6);
|
||||
#endif
|
||||
vboxLayout1->setContentsMargins(0, 0, 0, 0);
|
||||
vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
|
||||
vboxLayout1->setContentsMargins(0, 0, 0, 0);
|
||||
hboxLayout = new QHBoxLayout();
|
||||
#ifndef Q_OS_MAC
|
||||
hboxLayout->setSpacing(6);
|
||||
#endif
|
||||
#ifndef Q_OS_MAC
|
||||
hboxLayout->setContentsMargins(0, 0, 0, 0);
|
||||
#endif
|
||||
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
|
||||
hboxLayout->setContentsMargins(0, 0, 0, 0);
|
||||
btnClear = new QToolButton(frameControls);
|
||||
btnClear->setObjectName(QString::fromUtf8("btnClear"));
|
||||
btnClear->setEnabled(false);
|
||||
@ -122,10 +117,6 @@ public:
|
||||
|
||||
btnFilter = new QToolButton(frameControls);
|
||||
btnFilter->setObjectName(QString::fromUtf8("btnFilter"));
|
||||
sizePolicy1.setHeightForWidth(btnFilter->sizePolicy().hasHeightForWidth());
|
||||
btnFilter->setSizePolicy(sizePolicy1);
|
||||
const QIcon icon = QIcon(QString::fromUtf8(":/icons/icons/filter2.png"));
|
||||
btnFilter->setIcon(icon);
|
||||
|
||||
hboxLayout->addWidget(btnFilter);
|
||||
|
||||
@ -224,11 +215,9 @@ public:
|
||||
vboxLayout->addWidget(frame);
|
||||
|
||||
hboxLayout1 = new QHBoxLayout();
|
||||
#ifndef Q_OS_MAC
|
||||
hboxLayout1->setSpacing(6);
|
||||
#endif
|
||||
hboxLayout1->setContentsMargins(0, 0, 0, 0);
|
||||
hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
|
||||
hboxLayout1->setContentsMargins(0, 0, 0, 0);
|
||||
cbHideOther = new QCheckBox(EventListView);
|
||||
cbHideOther->setObjectName(QString::fromUtf8("cbHideOther"));
|
||||
cbHideOther->setChecked(true);
|
||||
@ -262,21 +251,17 @@ public:
|
||||
vboxLayout->addLayout(hboxLayout1);
|
||||
|
||||
hboxLayout2 = new QHBoxLayout();
|
||||
#ifndef Q_OS_MAC
|
||||
hboxLayout2->setSpacing(6);
|
||||
#endif
|
||||
hboxLayout2->setContentsMargins(0, 0, 0, 0);
|
||||
hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
|
||||
hboxLayout2->setContentsMargins(0, 0, 0, 0);
|
||||
frameRegionFilter = new QFrame(EventListView);
|
||||
frameRegionFilter->setObjectName(QString::fromUtf8("frameRegionFilter"));
|
||||
frameRegionFilter->setFrameShape(QFrame::NoFrame);
|
||||
frameRegionFilter->setFrameShadow(QFrame::Raised);
|
||||
hboxLayout3 = new QHBoxLayout(frameRegionFilter);
|
||||
#ifndef Q_OS_MAC
|
||||
hboxLayout3->setSpacing(6);
|
||||
#endif
|
||||
hboxLayout3->setContentsMargins(0, 0, 0, 0);
|
||||
hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
|
||||
hboxLayout3->setContentsMargins(0, 0, 0, 0);
|
||||
cbFilterRegions = new QCheckBox(frameRegionFilter);
|
||||
cbFilterRegions->setObjectName(QString::fromUtf8("cbFilterRegions"));
|
||||
|
||||
@ -307,6 +292,24 @@ public:
|
||||
|
||||
hboxLayout2->addWidget(frameRegionFilter);
|
||||
|
||||
spacer = new QSpacerItem(8, 23, QSizePolicy::Minimum, QSizePolicy::Minimum);
|
||||
|
||||
hboxLayout2->addItem(spacer);
|
||||
|
||||
cbHideFinalRejected = new QCheckBox(EventListView);
|
||||
cbHideFinalRejected->setObjectName(QString::fromUtf8("cbHideFinalRejected"));
|
||||
|
||||
hboxLayout2->addWidget(cbHideFinalRejected);
|
||||
|
||||
spacer_2 = new QSpacerItem(16, 23, QSizePolicy::Minimum, QSizePolicy::Minimum);
|
||||
|
||||
hboxLayout2->addItem(spacer_2);
|
||||
|
||||
cbHideNew = new QCheckBox(EventListView);
|
||||
cbHideNew->setObjectName(QString::fromUtf8("cbHideNew"));
|
||||
|
||||
hboxLayout2->addWidget(cbHideNew);
|
||||
|
||||
spacerItem5 = new QSpacerItem(351, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
||||
|
||||
hboxLayout2->addItem(spacerItem5);
|
||||
@ -366,6 +369,14 @@ public:
|
||||
|
||||
btnChangeRegion->setText(QCoreApplication::translate("EventListView", "...", nullptr));
|
||||
lbFilterRegions->setText(QCoreApplication::translate("EventListView", "region", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
cbHideFinalRejected->setToolTip(QCoreApplication::translate("EventListView", "Hides/shows final and rejected events", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
cbHideFinalRejected->setText(QCoreApplication::translate("EventListView", "Hide F/X events", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
cbHideNew->setToolTip(QCoreApplication::translate("EventListView", "Hides/shows events with OT later than given end time", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
cbHideNew->setText(QCoreApplication::translate("EventListView", "Hide new events", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
#include <QtWidgets/QDialog>
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QLineEdit>
|
||||
#include <QtWidgets/QPushButton>
|
||||
#include <QtWidgets/QRadioButton>
|
||||
#include <QtWidgets/QSpacerItem>
|
||||
@ -47,6 +48,9 @@ public:
|
||||
QCheckBox *checkAllAgencies;
|
||||
QCheckBox *checkAllPhases;
|
||||
QCheckBox *checkPreferTargetPhases;
|
||||
QHBoxLayout *horizontalLayout;
|
||||
QLabel *label_6;
|
||||
QLineEdit *lineEditAcceptedPhases;
|
||||
QHBoxLayout *hboxLayout4;
|
||||
QSpacerItem *spacerItem5;
|
||||
QPushButton *okButton;
|
||||
@ -56,7 +60,7 @@ public:
|
||||
{
|
||||
if (ImportPicks->objectName().isEmpty())
|
||||
ImportPicks->setObjectName(QString::fromUtf8("ImportPicks"));
|
||||
ImportPicks->resize(415, 499);
|
||||
ImportPicks->resize(630, 735);
|
||||
QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
|
||||
sizePolicy.setHorizontalStretch(0);
|
||||
sizePolicy.setVerticalStretch(0);
|
||||
@ -194,6 +198,21 @@ public:
|
||||
|
||||
vboxLayout->addWidget(checkPreferTargetPhases);
|
||||
|
||||
horizontalLayout = new QHBoxLayout();
|
||||
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
||||
label_6 = new QLabel(ImportPicks);
|
||||
label_6->setObjectName(QString::fromUtf8("label_6"));
|
||||
|
||||
horizontalLayout->addWidget(label_6);
|
||||
|
||||
lineEditAcceptedPhases = new QLineEdit(ImportPicks);
|
||||
lineEditAcceptedPhases->setObjectName(QString::fromUtf8("lineEditAcceptedPhases"));
|
||||
|
||||
horizontalLayout->addWidget(lineEditAcceptedPhases);
|
||||
|
||||
|
||||
vboxLayout->addLayout(horizontalLayout);
|
||||
|
||||
hboxLayout4 = new QHBoxLayout();
|
||||
#ifndef Q_OS_MAC
|
||||
hboxLayout4->setSpacing(6);
|
||||
@ -240,6 +259,10 @@ public:
|
||||
checkAllAgencies->setText(QCoreApplication::translate("ImportPicks", "Import picks from all agencies instead of using only own picks.", nullptr));
|
||||
checkAllPhases->setText(QCoreApplication::translate("ImportPicks", "Import all phases and do not map only to P and S.", nullptr));
|
||||
checkPreferTargetPhases->setText(QCoreApplication::translate("ImportPicks", "Prefer phases of target in case of duplicates.", nullptr));
|
||||
label_6->setText(QCoreApplication::translate("ImportPicks", "Accepted phases:", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
lineEditAcceptedPhases->setToolTip(QCoreApplication::translate("ImportPicks", "Sets an array of accepted phases separated by comma. If left empty then all phases are accepted.", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
okButton->setText(QCoreApplication::translate("ImportPicks", "OK", nullptr));
|
||||
cancelButton->setText(QCoreApplication::translate("ImportPicks", "Cancel", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
@ -10,7 +10,6 @@
|
||||
#define UI_ORIGINLOCATORVIEW_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QIcon>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QCheckBox>
|
||||
#include <QtWidgets/QComboBox>
|
||||
@ -689,8 +688,7 @@ public:
|
||||
btnLocatorSettings = new QToolButton(frameLocator);
|
||||
btnLocatorSettings->setObjectName(QString::fromUtf8("btnLocatorSettings"));
|
||||
btnLocatorSettings->setEnabled(false);
|
||||
const QIcon icon = QIcon(QString::fromUtf8(":/icons/icons/configure.png"));
|
||||
btnLocatorSettings->setIcon(icon);
|
||||
btnLocatorSettings->setIconSize(QSize(24, 24));
|
||||
btnLocatorSettings->setAutoRaise(true);
|
||||
|
||||
hboxLayout4->addWidget(btnLocatorSettings);
|
||||
@ -814,9 +812,6 @@ public:
|
||||
buttonEditComment = new QToolButton(frame);
|
||||
buttonEditComment->setObjectName(QString::fromUtf8("buttonEditComment"));
|
||||
buttonEditComment->setEnabled(false);
|
||||
buttonEditComment->setMaximumSize(QSize(25, 25));
|
||||
const QIcon icon1 = QIcon(QString::fromUtf8(":/icons/icons/comment.png"));
|
||||
buttonEditComment->setIcon(icon1);
|
||||
buttonEditComment->setIconSize(QSize(24, 24));
|
||||
buttonEditComment->setAutoRaise(true);
|
||||
|
||||
@ -938,12 +933,14 @@ public:
|
||||
label_5->setText(QCoreApplication::translate("OriginLocatorView", "Filter is", nullptr));
|
||||
labelPlotFilter->setText(QCoreApplication::translate("OriginLocatorView", "<a href=\"filter\">not active</a>", nullptr));
|
||||
btnRelocate->setText(QCoreApplication::translate("OriginLocatorView", "Relocate", nullptr));
|
||||
#if QT_CONFIG(shortcut)
|
||||
btnRelocate->setShortcut(QCoreApplication::translate("OriginLocatorView", "R", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
btnCustom0->setText(QCoreApplication::translate("OriginLocatorView", "Custom1", nullptr));
|
||||
btnCustom1->setText(QCoreApplication::translate("OriginLocatorView", "Custom2", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
btnLocatorSettings->setToolTip(QCoreApplication::translate("OriginLocatorView", "Change locator settings", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
btnLocatorSettings->setText(QCoreApplication::translate("OriginLocatorView", "...", nullptr));
|
||||
label_2->setText(QCoreApplication::translate("OriginLocatorView", "Profile:", nullptr));
|
||||
cbFixedDepth->setText(QCoreApplication::translate("OriginLocatorView", "Fix depth", nullptr));
|
||||
label_3->setText(QCoreApplication::translate("OriginLocatorView", "km", nullptr));
|
||||
@ -959,10 +956,15 @@ public:
|
||||
#if QT_CONFIG(tooltip)
|
||||
buttonEditComment->setToolTip(QCoreApplication::translate("OriginLocatorView", "Create a new comment on this event or edit an existing one.", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
buttonEditComment->setText(QString());
|
||||
btnShowWaveforms->setText(QCoreApplication::translate("OriginLocatorView", "Picker", nullptr));
|
||||
#if QT_CONFIG(shortcut)
|
||||
btnShowWaveforms->setShortcut(QCoreApplication::translate("OriginLocatorView", "P", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
btnImportAllArrivals->setText(QCoreApplication::translate("OriginLocatorView", "Import picks", nullptr));
|
||||
btnMagnitudes->setText(QCoreApplication::translate("OriginLocatorView", "Compute magnitudes", nullptr));
|
||||
#if QT_CONFIG(shortcut)
|
||||
btnMagnitudes->setShortcut(QCoreApplication::translate("OriginLocatorView", "M", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
btnCommit->setText(QCoreApplication::translate("OriginLocatorView", "Commit", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
|
||||
@ -79,7 +79,6 @@ public:
|
||||
sizePolicy.setVerticalStretch(0);
|
||||
sizePolicy.setHeightForWidth(labelHeadline->sizePolicy().hasHeightForWidth());
|
||||
labelHeadline->setSizePolicy(sizePolicy);
|
||||
labelHeadline->setPixmap(QPixmap(QString::fromUtf8(":/icons/icons/comment.png")));
|
||||
labelHeadline->setScaledContents(false);
|
||||
|
||||
vboxLayout1->addWidget(labelHeadline);
|
||||
|
||||
@ -35,7 +35,6 @@ public:
|
||||
QVBoxLayout *vboxLayout1;
|
||||
QHBoxLayout *hboxLayout;
|
||||
QCheckBox *cbFixSolution;
|
||||
QCheckBox *cbFixMagnitudeType;
|
||||
QGridLayout *gridLayout;
|
||||
QLabel *label_21;
|
||||
QLabel *label_2;
|
||||
@ -107,12 +106,6 @@ public:
|
||||
|
||||
vboxLayout1->addLayout(hboxLayout);
|
||||
|
||||
cbFixMagnitudeType = new QCheckBox(frameEventOptions);
|
||||
cbFixMagnitudeType->setObjectName(QString::fromUtf8("cbFixMagnitudeType"));
|
||||
cbFixMagnitudeType->setChecked(true);
|
||||
|
||||
vboxLayout1->addWidget(cbFixMagnitudeType);
|
||||
|
||||
gridLayout = new QGridLayout();
|
||||
#ifndef Q_OS_MAC
|
||||
gridLayout->setSpacing(6);
|
||||
@ -276,7 +269,6 @@ public:
|
||||
cbFixSolution->setToolTip(QCoreApplication::translate("OriginCommitOptions", "If checked this origin will be fixed as preferred solution.", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
cbFixSolution->setText(QCoreApplication::translate("OriginCommitOptions", "Fix this origin as preferred location.", nullptr));
|
||||
cbFixMagnitudeType->setText(QCoreApplication::translate("OriginCommitOptions", "Fix event preferred magnitude type %1", nullptr));
|
||||
label_21->setText(QCoreApplication::translate("OriginCommitOptions", "Set origin status to", nullptr));
|
||||
label_2->setText(QCoreApplication::translate("OriginCommitOptions", "Set event type to", nullptr));
|
||||
label_3->setText(QCoreApplication::translate("OriginCommitOptions", "Set event certainty to", nullptr));
|
||||
|
||||
@ -10,7 +10,6 @@
|
||||
#define UI_PICKERSETTINGS_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QIcon>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QCheckBox>
|
||||
#include <QtWidgets/QComboBox>
|
||||
@ -30,6 +29,7 @@
|
||||
#include <QtWidgets/QTableView>
|
||||
#include <QtWidgets/QTimeEdit>
|
||||
#include <QtWidgets/QToolBox>
|
||||
#include <QtWidgets/QToolButton>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
@ -71,6 +71,7 @@ public:
|
||||
QWidget *pagePickSettings;
|
||||
QVBoxLayout *vboxLayout2;
|
||||
QCheckBox *cbShowCrossHair;
|
||||
QCheckBox *cbShowSensorUnits;
|
||||
QHBoxLayout *hboxLayout4;
|
||||
QLabel *labelPickUncertainties;
|
||||
QComboBox *listPickUncertainties;
|
||||
@ -133,11 +134,11 @@ public:
|
||||
QHBoxLayout *hboxLayout13;
|
||||
QTableView *tableFilter;
|
||||
QVBoxLayout *vboxLayout6;
|
||||
QPushButton *btnAddPickFilter;
|
||||
QPushButton *btnRemovePickFilter;
|
||||
QToolButton *btnAddPickFilter;
|
||||
QToolButton *btnRemovePickFilter;
|
||||
QSpacerItem *spacerItem10;
|
||||
QPushButton *btnMovePickFilterUp;
|
||||
QPushButton *btnMovePickFilterDown;
|
||||
QToolButton *btnMovePickFilterUp;
|
||||
QToolButton *btnMovePickFilterDown;
|
||||
QGroupBox *groupBox;
|
||||
QGridLayout *gridLayout;
|
||||
QLabel *label_15;
|
||||
@ -161,11 +162,11 @@ public:
|
||||
QHBoxLayout *hboxLayout16;
|
||||
QTableView *tableAFilter;
|
||||
QVBoxLayout *vboxLayout8;
|
||||
QPushButton *btnAddAmplitudeFilter;
|
||||
QPushButton *btnRemoveAmplitudeFilter;
|
||||
QToolButton *btnAddAmplitudeFilter;
|
||||
QToolButton *btnRemoveAmplitudeFilter;
|
||||
QSpacerItem *spacerItem14;
|
||||
QPushButton *btnMoveAmplitudeFilterUp;
|
||||
QPushButton *btnMoveAmplitudeFilterDown;
|
||||
QToolButton *btnMoveAmplitudeFilterUp;
|
||||
QToolButton *btnMoveAmplitudeFilterDown;
|
||||
QHBoxLayout *hboxLayout17;
|
||||
QPushButton *saveButton;
|
||||
QSpacerItem *spacerItem15;
|
||||
@ -176,7 +177,7 @@ public:
|
||||
{
|
||||
if (PickerSettings->objectName().isEmpty())
|
||||
PickerSettings->setObjectName(QString::fromUtf8("PickerSettings"));
|
||||
PickerSettings->resize(571, 771);
|
||||
PickerSettings->resize(749, 973);
|
||||
QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Maximum);
|
||||
sizePolicy.setHorizontalStretch(0);
|
||||
sizePolicy.setVerticalStretch(0);
|
||||
@ -194,7 +195,7 @@ public:
|
||||
toolBox->setObjectName(QString::fromUtf8("toolBox"));
|
||||
pageLocator = new QWidget();
|
||||
pageLocator->setObjectName(QString::fromUtf8("pageLocator"));
|
||||
pageLocator->setGeometry(QRect(0, 0, 553, 543));
|
||||
pageLocator->setGeometry(QRect(0, 0, 731, 699));
|
||||
pageLocator->setAutoFillBackground(true);
|
||||
vboxLayout1 = new QVBoxLayout(pageLocator);
|
||||
#ifndef Q_OS_MAC
|
||||
@ -361,7 +362,7 @@ public:
|
||||
toolBox->addItem(pageLocator, QString::fromUtf8("Global settings"));
|
||||
pagePickSettings = new QWidget();
|
||||
pagePickSettings->setObjectName(QString::fromUtf8("pagePickSettings"));
|
||||
pagePickSettings->setGeometry(QRect(0, 0, 96, 26));
|
||||
pagePickSettings->setGeometry(QRect(0, 0, 715, 1139));
|
||||
pagePickSettings->setAutoFillBackground(true);
|
||||
vboxLayout2 = new QVBoxLayout(pagePickSettings);
|
||||
#ifndef Q_OS_MAC
|
||||
@ -376,6 +377,11 @@ public:
|
||||
|
||||
vboxLayout2->addWidget(cbShowCrossHair);
|
||||
|
||||
cbShowSensorUnits = new QCheckBox(pagePickSettings);
|
||||
cbShowSensorUnits->setObjectName(QString::fromUtf8("cbShowSensorUnits"));
|
||||
|
||||
vboxLayout2->addWidget(cbShowSensorUnits);
|
||||
|
||||
hboxLayout4 = new QHBoxLayout();
|
||||
#ifndef Q_OS_MAC
|
||||
hboxLayout4->setSpacing(6);
|
||||
@ -568,8 +574,8 @@ public:
|
||||
editRepickerStart->setObjectName(QString::fromUtf8("editRepickerStart"));
|
||||
editRepickerStart->setEnabled(false);
|
||||
editRepickerStart->setAlignment(Qt::AlignRight);
|
||||
editRepickerStart->setMaximum(100.000000000000000);
|
||||
editRepickerStart->setMinimum(-100.000000000000000);
|
||||
editRepickerStart->setMaximum(100.000000000000000);
|
||||
editRepickerStart->setValue(-30.000000000000000);
|
||||
|
||||
hboxLayout7->addWidget(editRepickerStart);
|
||||
@ -596,8 +602,8 @@ public:
|
||||
editRepickerEnd->setObjectName(QString::fromUtf8("editRepickerEnd"));
|
||||
editRepickerEnd->setEnabled(false);
|
||||
editRepickerEnd->setAlignment(Qt::AlignRight);
|
||||
editRepickerEnd->setMaximum(100.000000000000000);
|
||||
editRepickerEnd->setMinimum(-100.000000000000000);
|
||||
editRepickerEnd->setMaximum(100.000000000000000);
|
||||
editRepickerEnd->setValue(10.000000000000000);
|
||||
|
||||
hboxLayout8->addWidget(editRepickerEnd);
|
||||
@ -758,7 +764,7 @@ public:
|
||||
toolBox->addItem(pagePickSettings, QString::fromUtf8("Picker settings"));
|
||||
pagePickFilters = new QWidget();
|
||||
pagePickFilters->setObjectName(QString::fromUtf8("pagePickFilters"));
|
||||
pagePickFilters->setGeometry(QRect(0, 0, 96, 26));
|
||||
pagePickFilters->setGeometry(QRect(0, 0, 731, 699));
|
||||
pagePickFilters->setAutoFillBackground(true);
|
||||
vboxLayout5 = new QVBoxLayout(pagePickFilters);
|
||||
#ifndef Q_OS_MAC
|
||||
@ -787,22 +793,13 @@ public:
|
||||
vboxLayout6->setSpacing(2);
|
||||
vboxLayout6->setContentsMargins(0, 0, 0, 0);
|
||||
vboxLayout6->setObjectName(QString::fromUtf8("vboxLayout6"));
|
||||
btnAddPickFilter = new QPushButton(pagePickFilters);
|
||||
btnAddPickFilter = new QToolButton(pagePickFilters);
|
||||
btnAddPickFilter->setObjectName(QString::fromUtf8("btnAddPickFilter"));
|
||||
QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Fixed);
|
||||
sizePolicy2.setHorizontalStretch(0);
|
||||
sizePolicy2.setVerticalStretch(0);
|
||||
sizePolicy2.setHeightForWidth(btnAddPickFilter->sizePolicy().hasHeightForWidth());
|
||||
btnAddPickFilter->setSizePolicy(sizePolicy2);
|
||||
btnAddPickFilter->setMaximumSize(QSize(20, 20));
|
||||
|
||||
vboxLayout6->addWidget(btnAddPickFilter);
|
||||
|
||||
btnRemovePickFilter = new QPushButton(pagePickFilters);
|
||||
btnRemovePickFilter = new QToolButton(pagePickFilters);
|
||||
btnRemovePickFilter->setObjectName(QString::fromUtf8("btnRemovePickFilter"));
|
||||
sizePolicy2.setHeightForWidth(btnRemovePickFilter->sizePolicy().hasHeightForWidth());
|
||||
btnRemovePickFilter->setSizePolicy(sizePolicy2);
|
||||
btnRemovePickFilter->setMaximumSize(QSize(20, 20));
|
||||
|
||||
vboxLayout6->addWidget(btnRemovePickFilter);
|
||||
|
||||
@ -810,23 +807,13 @@ public:
|
||||
|
||||
vboxLayout6->addItem(spacerItem10);
|
||||
|
||||
btnMovePickFilterUp = new QPushButton(pagePickFilters);
|
||||
btnMovePickFilterUp = new QToolButton(pagePickFilters);
|
||||
btnMovePickFilterUp->setObjectName(QString::fromUtf8("btnMovePickFilterUp"));
|
||||
btnMovePickFilterUp->setMaximumSize(QSize(20, 20));
|
||||
const QIcon icon = QIcon(QString::fromUtf8(":/icons/icons/arrow_up.png"));
|
||||
btnMovePickFilterUp->setIcon(icon);
|
||||
btnMovePickFilterUp->setIconSize(QSize(12, 12));
|
||||
btnMovePickFilterUp->setFlat(false);
|
||||
|
||||
vboxLayout6->addWidget(btnMovePickFilterUp);
|
||||
|
||||
btnMovePickFilterDown = new QPushButton(pagePickFilters);
|
||||
btnMovePickFilterDown = new QToolButton(pagePickFilters);
|
||||
btnMovePickFilterDown->setObjectName(QString::fromUtf8("btnMovePickFilterDown"));
|
||||
btnMovePickFilterDown->setMaximumSize(QSize(20, 20));
|
||||
const QIcon icon1 = QIcon(QString::fromUtf8(":/icons/icons/arrow_down.png"));
|
||||
btnMovePickFilterDown->setIcon(icon1);
|
||||
btnMovePickFilterDown->setIconSize(QSize(12, 12));
|
||||
btnMovePickFilterDown->setFlat(false);
|
||||
|
||||
vboxLayout6->addWidget(btnMovePickFilterDown);
|
||||
|
||||
@ -872,7 +859,7 @@ public:
|
||||
toolBox->addItem(pagePickFilters, QString::fromUtf8("Picker filters"));
|
||||
pageAmplitudeSettings = new QWidget();
|
||||
pageAmplitudeSettings->setObjectName(QString::fromUtf8("pageAmplitudeSettings"));
|
||||
pageAmplitudeSettings->setGeometry(QRect(0, 0, 96, 26));
|
||||
pageAmplitudeSettings->setGeometry(QRect(0, 0, 731, 699));
|
||||
vboxLayout7 = new QVBoxLayout(pageAmplitudeSettings);
|
||||
#ifndef Q_OS_MAC
|
||||
vboxLayout7->setSpacing(6);
|
||||
@ -958,7 +945,7 @@ public:
|
||||
toolBox->addItem(pageAmplitudeSettings, QString::fromUtf8("Amplitude settings"));
|
||||
pageAmplitudeFilters = new QWidget();
|
||||
pageAmplitudeFilters->setObjectName(QString::fromUtf8("pageAmplitudeFilters"));
|
||||
pageAmplitudeFilters->setGeometry(QRect(0, 0, 96, 26));
|
||||
pageAmplitudeFilters->setGeometry(QRect(0, 0, 731, 699));
|
||||
hboxLayout16 = new QHBoxLayout(pageAmplitudeFilters);
|
||||
#ifndef Q_OS_MAC
|
||||
hboxLayout16->setSpacing(6);
|
||||
@ -976,19 +963,13 @@ public:
|
||||
vboxLayout8->setSpacing(2);
|
||||
vboxLayout8->setContentsMargins(0, 0, 0, 0);
|
||||
vboxLayout8->setObjectName(QString::fromUtf8("vboxLayout8"));
|
||||
btnAddAmplitudeFilter = new QPushButton(pageAmplitudeFilters);
|
||||
btnAddAmplitudeFilter = new QToolButton(pageAmplitudeFilters);
|
||||
btnAddAmplitudeFilter->setObjectName(QString::fromUtf8("btnAddAmplitudeFilter"));
|
||||
sizePolicy2.setHeightForWidth(btnAddAmplitudeFilter->sizePolicy().hasHeightForWidth());
|
||||
btnAddAmplitudeFilter->setSizePolicy(sizePolicy2);
|
||||
btnAddAmplitudeFilter->setMaximumSize(QSize(20, 20));
|
||||
|
||||
vboxLayout8->addWidget(btnAddAmplitudeFilter);
|
||||
|
||||
btnRemoveAmplitudeFilter = new QPushButton(pageAmplitudeFilters);
|
||||
btnRemoveAmplitudeFilter = new QToolButton(pageAmplitudeFilters);
|
||||
btnRemoveAmplitudeFilter->setObjectName(QString::fromUtf8("btnRemoveAmplitudeFilter"));
|
||||
sizePolicy2.setHeightForWidth(btnRemoveAmplitudeFilter->sizePolicy().hasHeightForWidth());
|
||||
btnRemoveAmplitudeFilter->setSizePolicy(sizePolicy2);
|
||||
btnRemoveAmplitudeFilter->setMaximumSize(QSize(20, 20));
|
||||
|
||||
vboxLayout8->addWidget(btnRemoveAmplitudeFilter);
|
||||
|
||||
@ -996,21 +977,13 @@ public:
|
||||
|
||||
vboxLayout8->addItem(spacerItem14);
|
||||
|
||||
btnMoveAmplitudeFilterUp = new QPushButton(pageAmplitudeFilters);
|
||||
btnMoveAmplitudeFilterUp = new QToolButton(pageAmplitudeFilters);
|
||||
btnMoveAmplitudeFilterUp->setObjectName(QString::fromUtf8("btnMoveAmplitudeFilterUp"));
|
||||
btnMoveAmplitudeFilterUp->setMaximumSize(QSize(20, 20));
|
||||
btnMoveAmplitudeFilterUp->setIcon(icon);
|
||||
btnMoveAmplitudeFilterUp->setIconSize(QSize(12, 12));
|
||||
btnMoveAmplitudeFilterUp->setFlat(false);
|
||||
|
||||
vboxLayout8->addWidget(btnMoveAmplitudeFilterUp);
|
||||
|
||||
btnMoveAmplitudeFilterDown = new QPushButton(pageAmplitudeFilters);
|
||||
btnMoveAmplitudeFilterDown = new QToolButton(pageAmplitudeFilters);
|
||||
btnMoveAmplitudeFilterDown->setObjectName(QString::fromUtf8("btnMoveAmplitudeFilterDown"));
|
||||
btnMoveAmplitudeFilterDown->setMaximumSize(QSize(20, 20));
|
||||
btnMoveAmplitudeFilterDown->setIcon(icon1);
|
||||
btnMoveAmplitudeFilterDown->setIconSize(QSize(12, 12));
|
||||
btnMoveAmplitudeFilterDown->setFlat(false);
|
||||
|
||||
vboxLayout8->addWidget(btnMoveAmplitudeFilterDown);
|
||||
|
||||
@ -1115,8 +1088,6 @@ public:
|
||||
QObject::connect(cbLimitStationCount, SIGNAL(toggled(bool)), spinLimitStationCount, SLOT(setEnabled(bool)));
|
||||
|
||||
toolBox->setCurrentIndex(0);
|
||||
btnMovePickFilterUp->setDefault(false);
|
||||
btnMoveAmplitudeFilterUp->setDefault(false);
|
||||
|
||||
|
||||
QMetaObject::connectSlotsByName(PickerSettings);
|
||||
@ -1171,6 +1142,7 @@ public:
|
||||
cbShowCrossHair->setToolTip(QCoreApplication::translate("PickerSettings", "If checked a cross hair cursor is shown when in picking mode whith the configured uncertainty widths.", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
cbShowCrossHair->setText(QCoreApplication::translate("PickerSettings", "Show cross hair cursor", nullptr));
|
||||
cbShowSensorUnits->setText(QCoreApplication::translate("PickerSettings", "Show sensor units", nullptr));
|
||||
labelPickUncertainties->setText(QCoreApplication::translate("PickerSettings", "Uncertainties:", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
listPickUncertainties->setToolTip(QCoreApplication::translate("PickerSettings", "Selects the current set of predefined pick uncertainties.", nullptr));
|
||||
@ -1242,8 +1214,6 @@ public:
|
||||
btnRemovePickFilter->setToolTip(QCoreApplication::translate("PickerSettings", "Remove current filter", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
btnRemovePickFilter->setText(QCoreApplication::translate("PickerSettings", "-", nullptr));
|
||||
btnMovePickFilterUp->setText(QString());
|
||||
btnMovePickFilterDown->setText(QString());
|
||||
groupBox->setTitle(QCoreApplication::translate("PickerSettings", "Waveform numerical integration", nullptr));
|
||||
label_15->setText(QCoreApplication::translate("PickerSettings", "Apply pre-filter only once:", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
@ -1263,13 +1233,9 @@ public:
|
||||
#if QT_CONFIG(tooltip)
|
||||
btnAddAmplitudeFilter->setToolTip(QCoreApplication::translate("PickerSettings", "Add a new filter", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
btnAddAmplitudeFilter->setText(QCoreApplication::translate("PickerSettings", "+", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
btnRemoveAmplitudeFilter->setToolTip(QCoreApplication::translate("PickerSettings", "Remove current filter", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
btnRemoveAmplitudeFilter->setText(QCoreApplication::translate("PickerSettings", "-", nullptr));
|
||||
btnMoveAmplitudeFilterUp->setText(QString());
|
||||
btnMoveAmplitudeFilterDown->setText(QString());
|
||||
toolBox->setItemText(toolBox->indexOf(pageAmplitudeFilters), QCoreApplication::translate("PickerSettings", "Amplitude filters", nullptr));
|
||||
saveButton->setText(QCoreApplication::translate("PickerSettings", "Save", nullptr));
|
||||
okButton->setText(QCoreApplication::translate("PickerSettings", "OK", nullptr));
|
||||
|
||||
@ -10,7 +10,6 @@
|
||||
#define UI_PICKERVIEW_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QIcon>
|
||||
#include <QtWidgets/QAction>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QFrame>
|
||||
@ -19,6 +18,7 @@
|
||||
#include <QtWidgets/QMainWindow>
|
||||
#include <QtWidgets/QMenu>
|
||||
#include <QtWidgets/QMenuBar>
|
||||
#include <QtWidgets/QProgressBar>
|
||||
#include <QtWidgets/QPushButton>
|
||||
#include <QtWidgets/QSpacerItem>
|
||||
#include <QtWidgets/QSplitter>
|
||||
@ -59,12 +59,11 @@ public:
|
||||
QAction *actionMaximizeAmplitudes;
|
||||
QAction *actionPickP;
|
||||
QAction *actionPickS;
|
||||
QAction *actionPickOther;
|
||||
QAction *actionDisablePicking;
|
||||
QAction *actionConfirmPick;
|
||||
QAction *actionDeletePick;
|
||||
QAction *actionRelocate;
|
||||
QAction *actionShowAllStations;
|
||||
QAction *actionAddStationsInDistanceRange;
|
||||
QAction *actionShowUsedStations;
|
||||
QAction *actionSortByResidual;
|
||||
QAction *actionShowZComponent;
|
||||
@ -116,6 +115,7 @@ public:
|
||||
QLabel *label1;
|
||||
QLabel *labelAzimuth;
|
||||
QSpacerItem *spacerItem;
|
||||
QProgressBar *progressAmpLevel;
|
||||
QFrame *frameCurrentRow;
|
||||
QHBoxLayout *hboxLayout2;
|
||||
QFrame *frameZoomControls;
|
||||
@ -133,7 +133,6 @@ public:
|
||||
QToolBar *toolBarStations;
|
||||
QToolBar *toolBarPicking;
|
||||
QToolBar *toolBarFilter;
|
||||
QToolBar *toolBarSpectrogram;
|
||||
QToolBar *toolBarTTT;
|
||||
QToolBar *toolBarRelocate;
|
||||
QMenuBar *menuBar;
|
||||
@ -147,33 +146,22 @@ public:
|
||||
QMenu *menuTraces;
|
||||
QMenu *menuAlignArrival;
|
||||
QMenu *menu_Zoomtrace;
|
||||
QMenu *menuWindow;
|
||||
|
||||
void setupUi(QMainWindow *PickerView)
|
||||
{
|
||||
if (PickerView->objectName().isEmpty())
|
||||
PickerView->setObjectName(QString::fromUtf8("PickerView"));
|
||||
PickerView->resize(945, 738);
|
||||
PickerView->resize(1063, 798);
|
||||
PickerView->setIconSize(QSize(16, 16));
|
||||
actionIncreaseAmplitudeScale = new QAction(PickerView);
|
||||
actionIncreaseAmplitudeScale->setObjectName(QString::fromUtf8("actionIncreaseAmplitudeScale"));
|
||||
QIcon icon;
|
||||
icon.addFile(QString::fromUtf8(":/icons/icons/vzoomin.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionIncreaseAmplitudeScale->setIcon(icon);
|
||||
actionDecreaseAmplitudeScale = new QAction(PickerView);
|
||||
actionDecreaseAmplitudeScale->setObjectName(QString::fromUtf8("actionDecreaseAmplitudeScale"));
|
||||
QIcon icon1;
|
||||
icon1.addFile(QString::fromUtf8(":/icons/icons/vzoomout.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionDecreaseAmplitudeScale->setIcon(icon1);
|
||||
actionTimeScaleUp = new QAction(PickerView);
|
||||
actionTimeScaleUp->setObjectName(QString::fromUtf8("actionTimeScaleUp"));
|
||||
QIcon icon2;
|
||||
icon2.addFile(QString::fromUtf8(":/icons/icons/zoomout.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionTimeScaleUp->setIcon(icon2);
|
||||
actionTimeScaleDown = new QAction(PickerView);
|
||||
actionTimeScaleDown->setObjectName(QString::fromUtf8("actionTimeScaleDown"));
|
||||
QIcon icon3;
|
||||
icon3.addFile(QString::fromUtf8(":/icons/icons/zoomin.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionTimeScaleDown->setIcon(icon3);
|
||||
actionScrollLeft = new QAction(PickerView);
|
||||
actionScrollLeft->setObjectName(QString::fromUtf8("actionScrollLeft"));
|
||||
actionScrollRight = new QAction(PickerView);
|
||||
@ -188,86 +176,47 @@ public:
|
||||
actionScrollFineRight->setObjectName(QString::fromUtf8("actionScrollFineRight"));
|
||||
actionIncreaseRowHeight = new QAction(PickerView);
|
||||
actionIncreaseRowHeight->setObjectName(QString::fromUtf8("actionIncreaseRowHeight"));
|
||||
actionIncreaseRowHeight->setIcon(icon);
|
||||
actionDecreaseRowHeight = new QAction(PickerView);
|
||||
actionDecreaseRowHeight->setObjectName(QString::fromUtf8("actionDecreaseRowHeight"));
|
||||
actionDecreaseRowHeight->setIcon(icon1);
|
||||
actionIncreaseRowTimescale = new QAction(PickerView);
|
||||
actionIncreaseRowTimescale->setObjectName(QString::fromUtf8("actionIncreaseRowTimescale"));
|
||||
actionIncreaseRowTimescale->setIcon(icon3);
|
||||
actionDecreaseRowTimescale = new QAction(PickerView);
|
||||
actionDecreaseRowTimescale->setObjectName(QString::fromUtf8("actionDecreaseRowTimescale"));
|
||||
actionDecreaseRowTimescale->setIcon(icon2);
|
||||
actionSelectFirstRow = new QAction(PickerView);
|
||||
actionSelectFirstRow->setObjectName(QString::fromUtf8("actionSelectFirstRow"));
|
||||
actionSelectLastRow = new QAction(PickerView);
|
||||
actionSelectLastRow->setObjectName(QString::fromUtf8("actionSelectLastRow"));
|
||||
actionAlignOnPArrival = new QAction(PickerView);
|
||||
actionAlignOnPArrival->setObjectName(QString::fromUtf8("actionAlignOnPArrival"));
|
||||
actionAlignOnPArrival->setCheckable(false);
|
||||
actionAlignOnPArrival->setCheckable(true);
|
||||
actionAlignOnPArrival->setChecked(false);
|
||||
QIcon icon4;
|
||||
icon4.addFile(QString::fromUtf8(":/icons/icons/align_p.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionAlignOnPArrival->setIcon(icon4);
|
||||
actionAlignOnSArrival = new QAction(PickerView);
|
||||
actionAlignOnSArrival->setObjectName(QString::fromUtf8("actionAlignOnSArrival"));
|
||||
actionAlignOnSArrival->setCheckable(false);
|
||||
QIcon icon5;
|
||||
icon5.addFile(QString::fromUtf8(":/icons/icons/align_s.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionAlignOnSArrival->setIcon(icon5);
|
||||
actionAlignOnSArrival->setCheckable(true);
|
||||
actionAlignOnOriginTime = new QAction(PickerView);
|
||||
actionAlignOnOriginTime->setObjectName(QString::fromUtf8("actionAlignOnOriginTime"));
|
||||
actionAlignOnOriginTime->setCheckable(false);
|
||||
QIcon icon6;
|
||||
icon6.addFile(QString::fromUtf8(":/icons/icons/align_t.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionAlignOnOriginTime->setIcon(icon6);
|
||||
actionAlignOnOriginTime->setCheckable(true);
|
||||
actionDefaultView = new QAction(PickerView);
|
||||
actionDefaultView->setObjectName(QString::fromUtf8("actionDefaultView"));
|
||||
QIcon icon7;
|
||||
icon7.addFile(QString::fromUtf8(":/icons/icons/home.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionDefaultView->setIcon(icon7);
|
||||
actionSortAlphabetically = new QAction(PickerView);
|
||||
actionSortAlphabetically->setObjectName(QString::fromUtf8("actionSortAlphabetically"));
|
||||
actionSortAlphabetically->setCheckable(true);
|
||||
QIcon icon8;
|
||||
icon8.addFile(QString::fromUtf8(":/icons/icons/sort_abc.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionSortAlphabetically->setIcon(icon8);
|
||||
actionSortByDistance = new QAction(PickerView);
|
||||
actionSortByDistance->setObjectName(QString::fromUtf8("actionSortByDistance"));
|
||||
actionSortByDistance->setCheckable(true);
|
||||
actionSortByDistance->setChecked(true);
|
||||
QIcon icon9;
|
||||
icon9.addFile(QString::fromUtf8(":/icons/icons/sort_dist.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionSortByDistance->setIcon(icon9);
|
||||
actionToggleFilter = new QAction(PickerView);
|
||||
actionToggleFilter->setObjectName(QString::fromUtf8("actionToggleFilter"));
|
||||
actionToggleFilter->setCheckable(false);
|
||||
actionToggleFilter->setChecked(false);
|
||||
QIcon icon10;
|
||||
icon10.addFile(QString::fromUtf8(":/icons/icons/filter.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionToggleFilter->setIcon(icon10);
|
||||
actionMaximizeAmplitudes = new QAction(PickerView);
|
||||
actionMaximizeAmplitudes->setObjectName(QString::fromUtf8("actionMaximizeAmplitudes"));
|
||||
QIcon icon11;
|
||||
icon11.addFile(QString::fromUtf8(":/icons/icons/vmax.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionMaximizeAmplitudes->setIcon(icon11);
|
||||
actionPickP = new QAction(PickerView);
|
||||
actionPickP->setObjectName(QString::fromUtf8("actionPickP"));
|
||||
actionPickP->setCheckable(false);
|
||||
QIcon icon12;
|
||||
icon12.addFile(QString::fromUtf8(":/icons/icons/pick_p.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionPickP->setIcon(icon12);
|
||||
actionPickP->setCheckable(true);
|
||||
actionPickS = new QAction(PickerView);
|
||||
actionPickS->setObjectName(QString::fromUtf8("actionPickS"));
|
||||
actionPickS->setCheckable(false);
|
||||
QIcon icon13;
|
||||
icon13.addFile(QString::fromUtf8(":/icons/icons/pick_s.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionPickS->setIcon(icon13);
|
||||
actionPickOther = new QAction(PickerView);
|
||||
actionPickOther->setObjectName(QString::fromUtf8("actionPickOther"));
|
||||
QIcon icon14;
|
||||
icon14.addFile(QString::fromUtf8(":/icons/icons/pick_other.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionPickOther->setIcon(icon14);
|
||||
actionPickS->setCheckable(true);
|
||||
actionDisablePicking = new QAction(PickerView);
|
||||
actionDisablePicking->setObjectName(QString::fromUtf8("actionDisablePicking"));
|
||||
actionConfirmPick = new QAction(PickerView);
|
||||
@ -276,46 +225,25 @@ public:
|
||||
actionDeletePick->setObjectName(QString::fromUtf8("actionDeletePick"));
|
||||
actionRelocate = new QAction(PickerView);
|
||||
actionRelocate->setObjectName(QString::fromUtf8("actionRelocate"));
|
||||
QIcon icon15;
|
||||
icon15.addFile(QString::fromUtf8(":/icons/icons/locate.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionRelocate->setIcon(icon15);
|
||||
actionShowAllStations = new QAction(PickerView);
|
||||
actionShowAllStations->setObjectName(QString::fromUtf8("actionShowAllStations"));
|
||||
actionShowAllStations->setCheckable(false);
|
||||
QIcon icon16;
|
||||
icon16.addFile(QString::fromUtf8(":/icons/icons/mindistance.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionShowAllStations->setIcon(icon16);
|
||||
actionAddStationsInDistanceRange = new QAction(PickerView);
|
||||
actionAddStationsInDistanceRange->setObjectName(QString::fromUtf8("actionAddStationsInDistanceRange"));
|
||||
actionAddStationsInDistanceRange->setCheckable(false);
|
||||
actionShowUsedStations = new QAction(PickerView);
|
||||
actionShowUsedStations->setObjectName(QString::fromUtf8("actionShowUsedStations"));
|
||||
actionShowUsedStations->setCheckable(true);
|
||||
QIcon icon17;
|
||||
icon17.addFile(QString::fromUtf8(":/icons/icons/withpick.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionShowUsedStations->setIcon(icon17);
|
||||
actionSortByResidual = new QAction(PickerView);
|
||||
actionSortByResidual->setObjectName(QString::fromUtf8("actionSortByResidual"));
|
||||
actionSortByResidual->setCheckable(true);
|
||||
QIcon icon18;
|
||||
icon18.addFile(QString::fromUtf8(":/icons/icons/sort_res.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionSortByResidual->setIcon(icon18);
|
||||
actionShowZComponent = new QAction(PickerView);
|
||||
actionShowZComponent->setObjectName(QString::fromUtf8("actionShowZComponent"));
|
||||
actionShowZComponent->setCheckable(true);
|
||||
actionShowZComponent->setChecked(true);
|
||||
QIcon icon19;
|
||||
icon19.addFile(QString::fromUtf8(":/icons/icons/channelZ.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionShowZComponent->setIcon(icon19);
|
||||
actionShowNComponent = new QAction(PickerView);
|
||||
actionShowNComponent->setObjectName(QString::fromUtf8("actionShowNComponent"));
|
||||
actionShowNComponent->setCheckable(true);
|
||||
QIcon icon20;
|
||||
icon20.addFile(QString::fromUtf8(":/icons/icons/channelN.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionShowNComponent->setIcon(icon20);
|
||||
actionShowEComponent = new QAction(PickerView);
|
||||
actionShowEComponent->setObjectName(QString::fromUtf8("actionShowEComponent"));
|
||||
actionShowEComponent->setCheckable(true);
|
||||
QIcon icon21;
|
||||
icon21.addFile(QString::fromUtf8(":/icons/icons/channelE.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionShowEComponent->setIcon(icon21);
|
||||
actionGotoNextMarker = new QAction(PickerView);
|
||||
actionGotoNextMarker->setObjectName(QString::fromUtf8("actionGotoNextMarker"));
|
||||
actionGotoPreviousMarker = new QAction(PickerView);
|
||||
@ -370,14 +298,10 @@ public:
|
||||
actionSortByAzimuth = new QAction(PickerView);
|
||||
actionSortByAzimuth->setObjectName(QString::fromUtf8("actionSortByAzimuth"));
|
||||
actionSortByAzimuth->setCheckable(true);
|
||||
QIcon icon22;
|
||||
icon22.addFile(QString::fromUtf8(":/icons/icons/sort_az.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
actionSortByAzimuth->setIcon(icon22);
|
||||
actionOpenSpectrum = new QAction(PickerView);
|
||||
actionOpenSpectrum->setObjectName(QString::fromUtf8("actionOpenSpectrum"));
|
||||
actionResetScale = new QAction(PickerView);
|
||||
actionResetScale->setObjectName(QString::fromUtf8("actionResetScale"));
|
||||
actionResetScale->setIcon(icon7);
|
||||
actionResetScale->setVisible(true);
|
||||
actionShowAllComponents = new QAction(PickerView);
|
||||
actionShowAllComponents->setObjectName(QString::fromUtf8("actionShowAllComponents"));
|
||||
@ -493,6 +417,16 @@ public:
|
||||
|
||||
hboxLayout->addItem(spacerItem);
|
||||
|
||||
progressAmpLevel = new QProgressBar(frameCurrentRowLabel);
|
||||
progressAmpLevel->setObjectName(QString::fromUtf8("progressAmpLevel"));
|
||||
sizePolicy2.setHeightForWidth(progressAmpLevel->sizePolicy().hasHeightForWidth());
|
||||
progressAmpLevel->setSizePolicy(sizePolicy2);
|
||||
progressAmpLevel->setMinimum(0);
|
||||
progressAmpLevel->setMaximum(100);
|
||||
progressAmpLevel->setValue(0);
|
||||
|
||||
hboxLayout->addWidget(progressAmpLevel);
|
||||
|
||||
|
||||
vboxLayout2->addWidget(frameCurrentRowLabel);
|
||||
|
||||
@ -535,9 +469,6 @@ public:
|
||||
btnRowAccept->setSizePolicy(sizePolicy5);
|
||||
btnRowAccept->setMinimumSize(QSize(32, 32));
|
||||
btnRowAccept->setMaximumSize(QSize(32, 32));
|
||||
QIcon icon23;
|
||||
icon23.addFile(QString::fromUtf8(":/icons/icons/ok.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
btnRowAccept->setIcon(icon23);
|
||||
btnRowAccept->setIconSize(QSize(24, 24));
|
||||
btnRowAccept->setCheckable(true);
|
||||
btnRowAccept->setFlat(false);
|
||||
@ -550,9 +481,6 @@ public:
|
||||
btnRowRemove->setSizePolicy(sizePolicy5);
|
||||
btnRowRemove->setMinimumSize(QSize(32, 32));
|
||||
btnRowRemove->setMaximumSize(QSize(32, 32));
|
||||
QIcon icon24;
|
||||
icon24.addFile(QString::fromUtf8(":/icons/icons/remove.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
btnRowRemove->setIcon(icon24);
|
||||
btnRowRemove->setIconSize(QSize(24, 24));
|
||||
btnRowRemove->setCheckable(true);
|
||||
|
||||
@ -564,9 +492,6 @@ public:
|
||||
btnRowReset->setSizePolicy(sizePolicy5);
|
||||
btnRowReset->setMinimumSize(QSize(32, 32));
|
||||
btnRowReset->setMaximumSize(QSize(32, 32));
|
||||
QIcon icon25;
|
||||
icon25.addFile(QString::fromUtf8(":/icons/icons/erase.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
btnRowReset->setIcon(icon25);
|
||||
btnRowReset->setIconSize(QSize(24, 24));
|
||||
|
||||
hboxLayout3->addWidget(btnRowReset);
|
||||
@ -646,10 +571,6 @@ public:
|
||||
toolBarFilter->setOrientation(Qt::Horizontal);
|
||||
toolBarFilter->setIconSize(QSize(24, 24));
|
||||
PickerView->addToolBar(Qt::TopToolBarArea, toolBarFilter);
|
||||
toolBarSpectrogram = new QToolBar(PickerView);
|
||||
toolBarSpectrogram->setObjectName(QString::fromUtf8("toolBarSpectrogram"));
|
||||
toolBarSpectrogram->setOrientation(Qt::Horizontal);
|
||||
PickerView->addToolBar(Qt::TopToolBarArea, toolBarSpectrogram);
|
||||
toolBarTTT = new QToolBar(PickerView);
|
||||
toolBarTTT->setObjectName(QString::fromUtf8("toolBarTTT"));
|
||||
toolBarTTT->setOrientation(Qt::Horizontal);
|
||||
@ -661,7 +582,7 @@ public:
|
||||
PickerView->addToolBar(Qt::TopToolBarArea, toolBarRelocate);
|
||||
menuBar = new QMenuBar(PickerView);
|
||||
menuBar->setObjectName(QString::fromUtf8("menuBar"));
|
||||
menuBar->setGeometry(QRect(0, 0, 945, 38));
|
||||
menuBar->setGeometry(QRect(0, 0, 1063, 38));
|
||||
menu_Filter = new QMenu(menuBar);
|
||||
menu_Filter->setObjectName(QString::fromUtf8("menu_Filter"));
|
||||
menu_Locate = new QMenu(menuBar);
|
||||
@ -682,38 +603,38 @@ public:
|
||||
menuAlignArrival->setObjectName(QString::fromUtf8("menuAlignArrival"));
|
||||
menu_Zoomtrace = new QMenu(menuView);
|
||||
menu_Zoomtrace->setObjectName(QString::fromUtf8("menu_Zoomtrace"));
|
||||
menuWindow = new QMenu(menuBar);
|
||||
menuWindow->setObjectName(QString::fromUtf8("menuWindow"));
|
||||
PickerView->setMenuBar(menuBar);
|
||||
|
||||
toolBarScale->addAction(actionDefaultView);
|
||||
toolBarScale->addSeparator();
|
||||
toolBarScale->addAction(actionIncreaseRowHeight);
|
||||
toolBarScale->addAction(actionDecreaseRowHeight);
|
||||
toolBarScale->addSeparator();
|
||||
toolBarScale->addAction(actionIncreaseRowTimescale);
|
||||
toolBarScale->addAction(actionDecreaseRowTimescale);
|
||||
toolBarScale->addSeparator();
|
||||
toolBarScale->addAction(actionIncreaseRowHeight);
|
||||
toolBarScale->addAction(actionDecreaseRowHeight);
|
||||
toolBarScale->addAction(actionMaximizeAmplitudes);
|
||||
toolBarScale->addSeparator();
|
||||
toolBarScale->addAction(actionDefaultView);
|
||||
toolBarSort->addAction(actionSortByDistance);
|
||||
toolBarSort->addAction(actionSortByAzimuth);
|
||||
toolBarSort->addAction(actionSortAlphabetically);
|
||||
toolBarSort->addAction(actionSortByResidual);
|
||||
toolBarAlign->addAction(actionAlignOnOriginTime);
|
||||
toolBarAlign->addAction(actionAlignOnPArrival);
|
||||
toolBarAlign->addAction(actionAlignOnSArrival);
|
||||
toolBarAlign->addAction(actionAlignOnOriginTime);
|
||||
toolBarComponent->addAction(actionShowZComponent);
|
||||
toolBarComponent->addAction(actionShowNComponent);
|
||||
toolBarComponent->addAction(actionShowEComponent);
|
||||
toolBarStations->addAction(actionShowAllStations);
|
||||
toolBarStations->addAction(actionAddStationsInDistanceRange);
|
||||
toolBarStations->addAction(actionShowUsedStations);
|
||||
toolBarPicking->addAction(actionPickP);
|
||||
toolBarPicking->addAction(actionPickS);
|
||||
toolBarRelocate->addAction(actionRelocate);
|
||||
menuBar->addAction(menuView->menuAction());
|
||||
menuBar->addAction(menu_Navigation->menuAction());
|
||||
menuBar->addAction(menuPicking->menuAction());
|
||||
menuBar->addAction(menu_Filter->menuAction());
|
||||
menuBar->addAction(menu_Tools->menuAction());
|
||||
menuBar->addAction(menu_Locate->menuAction());
|
||||
menuBar->addAction(menuWindow->menuAction());
|
||||
menu_Filter->addAction(actionToggleFilter);
|
||||
menu_Filter->addAction(actionLimitFilterToZoomTrace);
|
||||
menu_Locate->addAction(actionRelocate);
|
||||
@ -939,7 +860,6 @@ public:
|
||||
#if QT_CONFIG(shortcut)
|
||||
actionPickS->setShortcut(QCoreApplication::translate("PickerView", "F2", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionPickOther->setText(QCoreApplication::translate("PickerView", "Pick other phase", nullptr));
|
||||
actionDisablePicking->setText(QCoreApplication::translate("PickerView", "Leave picking mode", nullptr));
|
||||
actionDisablePicking->setIconText(QCoreApplication::translate("PickerView", "Leave picking mode", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
@ -962,8 +882,8 @@ public:
|
||||
#if QT_CONFIG(shortcut)
|
||||
actionDeletePick->setShortcut(QCoreApplication::translate("PickerView", "Del", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionRelocate->setText(QCoreApplication::translate("PickerView", "&Apply", nullptr));
|
||||
actionRelocate->setIconText(QCoreApplication::translate("PickerView", "Apply", nullptr));
|
||||
actionRelocate->setText(QCoreApplication::translate("PickerView", "&Apply all", nullptr));
|
||||
actionRelocate->setIconText(QCoreApplication::translate("PickerView", "Apply all", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionRelocate->setToolTip(QCoreApplication::translate("PickerView", "Apply the changed picks to the origin and update the residuals. \"Relocate\" has to be done manually! (F5)", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
@ -973,10 +893,10 @@ public:
|
||||
#if QT_CONFIG(shortcut)
|
||||
actionRelocate->setShortcut(QCoreApplication::translate("PickerView", "F5", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionShowAllStations->setText(QCoreApplication::translate("PickerView", "Add stations in range", nullptr));
|
||||
actionShowAllStations->setIconText(QCoreApplication::translate("PickerView", "Add stations in range", nullptr));
|
||||
actionAddStationsInDistanceRange->setText(QCoreApplication::translate("PickerView", "Add stations in range", nullptr));
|
||||
actionAddStationsInDistanceRange->setIconText(QCoreApplication::translate("PickerView", "Add stations in range", nullptr));
|
||||
#if QT_CONFIG(tooltip)
|
||||
actionShowAllStations->setToolTip(QCoreApplication::translate("PickerView", "Adds all stations next to the origin with distance lower or equal than the entered value that haven't triggered. When view mode is \"used stations only\" you won't see the new stations until leaving this mode.", nullptr));
|
||||
actionAddStationsInDistanceRange->setToolTip(QCoreApplication::translate("PickerView", "Adds all stations next to the origin with distance lower or equal than the entered value that haven't triggered. When view mode is \"used stations only\" you won't see the new stations until leaving this mode.", nullptr));
|
||||
#endif // QT_CONFIG(tooltip)
|
||||
actionShowUsedStations->setText(QCoreApplication::translate("PickerView", "&Show used stations only", nullptr));
|
||||
actionShowUsedStations->setIconText(QCoreApplication::translate("PickerView", "Used stations only", nullptr));
|
||||
@ -1072,7 +992,7 @@ public:
|
||||
#if QT_CONFIG(shortcut)
|
||||
actionRepickAutomatically->setShortcut(QCoreApplication::translate("PickerView", "R", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionShowTraceValuesInNmS->setText(QCoreApplication::translate("PickerView", "Show trace values in nano sensor units", nullptr));
|
||||
actionShowTraceValuesInNmS->setText(QCoreApplication::translate("PickerView", "Show trace values in sensor units", nullptr));
|
||||
actionClipComponentsToViewport->setText(QCoreApplication::translate("PickerView", "Clip components to viewport", nullptr));
|
||||
#if QT_CONFIG(shortcut)
|
||||
actionClipComponentsToViewport->setShortcut(QCoreApplication::translate("PickerView", "C", nullptr));
|
||||
@ -1186,7 +1106,6 @@ public:
|
||||
toolBarStations->setWindowTitle(QCoreApplication::translate("PickerView", "Add stations", nullptr));
|
||||
toolBarPicking->setWindowTitle(QCoreApplication::translate("PickerView", "Picking", nullptr));
|
||||
toolBarFilter->setWindowTitle(QCoreApplication::translate("PickerView", "Filter", nullptr));
|
||||
toolBarSpectrogram->setWindowTitle(QCoreApplication::translate("PickerView", "Spectrogram", nullptr));
|
||||
toolBarTTT->setWindowTitle(QCoreApplication::translate("PickerView", "Travel times", nullptr));
|
||||
toolBarRelocate->setWindowTitle(QCoreApplication::translate("PickerView", "Apply", nullptr));
|
||||
menu_Filter->setTitle(QCoreApplication::translate("PickerView", "&Filter", nullptr));
|
||||
@ -1199,6 +1118,7 @@ public:
|
||||
menuTraces->setTitle(QCoreApplication::translate("PickerView", "&Traces", nullptr));
|
||||
menuAlignArrival->setTitle(QCoreApplication::translate("PickerView", "Align", nullptr));
|
||||
menu_Zoomtrace->setTitle(QCoreApplication::translate("PickerView", "&Zoomtrace", nullptr));
|
||||
menuWindow->setTitle(QCoreApplication::translate("PickerView", "&Window", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
@ -11,7 +11,10 @@
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QCheckBox>
|
||||
#include <QtWidgets/QComboBox>
|
||||
#include <QtWidgets/QDialog>
|
||||
#include <QtWidgets/QGridLayout>
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QHeaderView>
|
||||
#include <QtWidgets/QLabel>
|
||||
@ -26,9 +29,20 @@ QT_BEGIN_NAMESPACE
|
||||
class Ui_SelectStation
|
||||
{
|
||||
public:
|
||||
QVBoxLayout *vboxLayout;
|
||||
QLabel *stationListLabel;
|
||||
QLineEdit *stationLineEdit;
|
||||
QVBoxLayout *verticalLayout;
|
||||
QGridLayout *gridLayout;
|
||||
QLabel *labelNSLC;
|
||||
QLineEdit *lineEditNSLC;
|
||||
QCheckBox *cbExcludeNSLC;
|
||||
QLabel *label;
|
||||
QComboBox *comboNetworkType;
|
||||
QCheckBox *cbExcludeNetworkType;
|
||||
QLabel *label_2;
|
||||
QComboBox *comboStationType;
|
||||
QCheckBox *cbExcludeStationType;
|
||||
QLabel *label_3;
|
||||
QComboBox *comboSensorUnit;
|
||||
QCheckBox *cbExcludeSensorUnit;
|
||||
QTableView *table;
|
||||
QHBoxLayout *hboxLayout;
|
||||
QSpacerItem *spacerItem;
|
||||
@ -38,38 +52,88 @@ public:
|
||||
{
|
||||
if (SelectStation->objectName().isEmpty())
|
||||
SelectStation->setObjectName(QString::fromUtf8("SelectStation"));
|
||||
SelectStation->resize(400, 400);
|
||||
vboxLayout = new QVBoxLayout(SelectStation);
|
||||
#ifndef Q_OS_MAC
|
||||
vboxLayout->setSpacing(6);
|
||||
#endif
|
||||
#ifndef Q_OS_MAC
|
||||
vboxLayout->setContentsMargins(9, 9, 9, 9);
|
||||
#endif
|
||||
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
|
||||
stationListLabel = new QLabel(SelectStation);
|
||||
stationListLabel->setObjectName(QString::fromUtf8("stationListLabel"));
|
||||
SelectStation->resize(854, 788);
|
||||
verticalLayout = new QVBoxLayout(SelectStation);
|
||||
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
|
||||
gridLayout = new QGridLayout();
|
||||
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
||||
labelNSLC = new QLabel(SelectStation);
|
||||
labelNSLC->setObjectName(QString::fromUtf8("labelNSLC"));
|
||||
|
||||
vboxLayout->addWidget(stationListLabel);
|
||||
gridLayout->addWidget(labelNSLC, 0, 0, 1, 1);
|
||||
|
||||
stationLineEdit = new QLineEdit(SelectStation);
|
||||
stationLineEdit->setObjectName(QString::fromUtf8("stationLineEdit"));
|
||||
lineEditNSLC = new QLineEdit(SelectStation);
|
||||
lineEditNSLC->setObjectName(QString::fromUtf8("lineEditNSLC"));
|
||||
|
||||
vboxLayout->addWidget(stationLineEdit);
|
||||
gridLayout->addWidget(lineEditNSLC, 0, 1, 1, 1);
|
||||
|
||||
cbExcludeNSLC = new QCheckBox(SelectStation);
|
||||
cbExcludeNSLC->setObjectName(QString::fromUtf8("cbExcludeNSLC"));
|
||||
|
||||
gridLayout->addWidget(cbExcludeNSLC, 0, 2, 1, 1);
|
||||
|
||||
label = new QLabel(SelectStation);
|
||||
label->setObjectName(QString::fromUtf8("label"));
|
||||
|
||||
gridLayout->addWidget(label, 1, 0, 1, 1);
|
||||
|
||||
comboNetworkType = new QComboBox(SelectStation);
|
||||
comboNetworkType->addItem(QString());
|
||||
comboNetworkType->setObjectName(QString::fromUtf8("comboNetworkType"));
|
||||
|
||||
gridLayout->addWidget(comboNetworkType, 1, 1, 1, 1);
|
||||
|
||||
cbExcludeNetworkType = new QCheckBox(SelectStation);
|
||||
cbExcludeNetworkType->setObjectName(QString::fromUtf8("cbExcludeNetworkType"));
|
||||
|
||||
gridLayout->addWidget(cbExcludeNetworkType, 1, 2, 1, 1);
|
||||
|
||||
label_2 = new QLabel(SelectStation);
|
||||
label_2->setObjectName(QString::fromUtf8("label_2"));
|
||||
|
||||
gridLayout->addWidget(label_2, 2, 0, 1, 1);
|
||||
|
||||
comboStationType = new QComboBox(SelectStation);
|
||||
comboStationType->addItem(QString());
|
||||
comboStationType->setObjectName(QString::fromUtf8("comboStationType"));
|
||||
|
||||
gridLayout->addWidget(comboStationType, 2, 1, 1, 1);
|
||||
|
||||
cbExcludeStationType = new QCheckBox(SelectStation);
|
||||
cbExcludeStationType->setObjectName(QString::fromUtf8("cbExcludeStationType"));
|
||||
|
||||
gridLayout->addWidget(cbExcludeStationType, 2, 2, 1, 1);
|
||||
|
||||
label_3 = new QLabel(SelectStation);
|
||||
label_3->setObjectName(QString::fromUtf8("label_3"));
|
||||
|
||||
gridLayout->addWidget(label_3, 3, 0, 1, 1);
|
||||
|
||||
comboSensorUnit = new QComboBox(SelectStation);
|
||||
comboSensorUnit->addItem(QString());
|
||||
comboSensorUnit->setObjectName(QString::fromUtf8("comboSensorUnit"));
|
||||
|
||||
gridLayout->addWidget(comboSensorUnit, 3, 1, 1, 1);
|
||||
|
||||
cbExcludeSensorUnit = new QCheckBox(SelectStation);
|
||||
cbExcludeSensorUnit->setObjectName(QString::fromUtf8("cbExcludeSensorUnit"));
|
||||
|
||||
gridLayout->addWidget(cbExcludeSensorUnit, 3, 2, 1, 1);
|
||||
|
||||
|
||||
verticalLayout->addLayout(gridLayout);
|
||||
|
||||
table = new QTableView(SelectStation);
|
||||
table->setObjectName(QString::fromUtf8("table"));
|
||||
table->setAlternatingRowColors(true);
|
||||
table->setSelectionBehavior(QAbstractItemView::SelectRows);
|
||||
|
||||
vboxLayout->addWidget(table);
|
||||
verticalLayout->addWidget(table);
|
||||
|
||||
hboxLayout = new QHBoxLayout();
|
||||
#ifndef Q_OS_MAC
|
||||
hboxLayout->setSpacing(6);
|
||||
#endif
|
||||
hboxLayout->setContentsMargins(0, 0, 0, 0);
|
||||
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
|
||||
hboxLayout->setContentsMargins(0, 0, 0, 0);
|
||||
spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
||||
|
||||
hboxLayout->addItem(spacerItem);
|
||||
@ -80,8 +144,17 @@ public:
|
||||
hboxLayout->addWidget(btnAdd);
|
||||
|
||||
|
||||
vboxLayout->addLayout(hboxLayout);
|
||||
verticalLayout->addLayout(hboxLayout);
|
||||
|
||||
QWidget::setTabOrder(lineEditNSLC, cbExcludeNSLC);
|
||||
QWidget::setTabOrder(cbExcludeNSLC, comboNetworkType);
|
||||
QWidget::setTabOrder(comboNetworkType, cbExcludeNetworkType);
|
||||
QWidget::setTabOrder(cbExcludeNetworkType, comboStationType);
|
||||
QWidget::setTabOrder(comboStationType, cbExcludeStationType);
|
||||
QWidget::setTabOrder(cbExcludeStationType, comboSensorUnit);
|
||||
QWidget::setTabOrder(comboSensorUnit, cbExcludeSensorUnit);
|
||||
QWidget::setTabOrder(cbExcludeSensorUnit, table);
|
||||
QWidget::setTabOrder(table, btnAdd);
|
||||
|
||||
retranslateUi(SelectStation);
|
||||
QObject::connect(btnAdd, SIGNAL(clicked()), SelectStation, SLOT(accept()));
|
||||
@ -92,7 +165,20 @@ public:
|
||||
void retranslateUi(QDialog *SelectStation)
|
||||
{
|
||||
SelectStation->setWindowTitle(QCoreApplication::translate("SelectStation", "Add station(s)", nullptr));
|
||||
stationListLabel->setText(QCoreApplication::translate("SelectStation", "Station List:", nullptr));
|
||||
labelNSLC->setText(QCoreApplication::translate("SelectStation", "NET.STA:", nullptr));
|
||||
cbExcludeNSLC->setText(QCoreApplication::translate("SelectStation", "Exclude", nullptr));
|
||||
label->setText(QCoreApplication::translate("SelectStation", "Network type:", nullptr));
|
||||
comboNetworkType->setItemText(0, QCoreApplication::translate("SelectStation", "- No filter -", nullptr));
|
||||
|
||||
cbExcludeNetworkType->setText(QCoreApplication::translate("SelectStation", "Exclude", nullptr));
|
||||
label_2->setText(QCoreApplication::translate("SelectStation", "Station type:", nullptr));
|
||||
comboStationType->setItemText(0, QCoreApplication::translate("SelectStation", "- No filter -", nullptr));
|
||||
|
||||
cbExcludeStationType->setText(QCoreApplication::translate("SelectStation", "Exclude", nullptr));
|
||||
label_3->setText(QCoreApplication::translate("SelectStation", "Sensor unit:", nullptr));
|
||||
comboSensorUnit->setItemText(0, QCoreApplication::translate("SelectStation", "- No filter- ", nullptr));
|
||||
|
||||
cbExcludeSensorUnit->setText(QCoreApplication::translate("SelectStation", "Exclude", nullptr));
|
||||
btnAdd->setText(QCoreApplication::translate("SelectStation", "Add", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
|
||||
@ -56,6 +56,22 @@ class CheckBox : public QCheckBox {
|
||||
};
|
||||
|
||||
|
||||
SC_GUI_API double elevation(const DataModel::SensorLocation *sloc);
|
||||
SC_GUI_API double elevation(const DataModel::Station *sta);
|
||||
|
||||
|
||||
SC_GUI_API double computeDistance(const DataModel::Origin *org,
|
||||
const DataModel::Station *sta,
|
||||
double defaultDepth,
|
||||
double *az = nullptr, double *baz = nullptr,
|
||||
double *epicentral = nullptr);
|
||||
SC_GUI_API double computeDistance(const DataModel::Origin *org,
|
||||
const DataModel::SensorLocation *sloc,
|
||||
double defaultDepth,
|
||||
double *az = nullptr, double *baz = nullptr,
|
||||
double *epicentral = nullptr);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user