[installation] Change to nightly
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user