OGS
StratWindow.h
Go to the documentation of this file.
1
15#pragma once
16
17#include "ui_StratWindow.h"
18#include <QWidget>
19
20namespace GeoLib
21{
22class StationBorehole;
23}
24
28class StratWindow : public QWidget, public Ui_StratWindow
29{
30 Q_OBJECT
31
32public:
39 explicit StratWindow(
41 std::map<std::string, DataHolderLib::Color>* stratColors = nullptr,
42 QWidget* parent = nullptr);
43 ~StratWindow() override { this->destroy(); }
44
45private:
47 void resizeWindow();
48
49private slots:
51};
A borehole as a geometric object.
Creates a window to visualise the stratigraphy of a borehole.
Definition StratWindow.h:29
void on_closeButton_clicked()
~StratWindow() override
Definition StratWindow.h:43
void resizeWindow()
Automatically resize window based on the measurements of the borehole.
StratWindow(GeoLib::StationBorehole *station, std::map< std::string, DataHolderLib::Color > *stratColors=nullptr, QWidget *parent=nullptr)