OGS
StratWindow.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include "ui_StratWindow.h"
7#include <QWidget>
8
9namespace GeoLib
10{
11class StationBorehole;
12}
13
17class StratWindow : public QWidget, public Ui_StratWindow
18{
19 Q_OBJECT
20
21public:
28 explicit StratWindow(
30 std::map<std::string, DataHolderLib::Color>* stratColors = nullptr,
31 QWidget* parent = nullptr);
32 ~StratWindow() override { this->destroy(); }
33
34private:
36 void resizeWindow();
37
38private slots:
40};
A borehole as a geometric object.
void on_closeButton_clicked()
~StratWindow() override
Definition StratWindow.h:32
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)