psy_strat.strat_widget module¶
Module for a widget for stratigraphic plots
This module defines the StratPlotsWidget class that can be used to
manage stratigraphic plots. It is designed as a plugin for the
psyplot_gui.main.MainWindow class
Classes
|
An item whose contents is filled by a StratGrouper |
|
A widget for managing the stratigraphic plots from the psy-strat package |
Functions
|
Get the |
-
class
psy_strat.strat_widget.GrouperItem(grouper, tree, *args, **kwargs)[source]¶ Bases:
PyQt5.QtWidgets.QTreeWidgetItemAn item whose contents is filled by a StratGrouper
This item is automatically initialized by an instance of
psy_strat.stratplot.StratGrouperMethods
show_or_hide_func(name)Create a function that displays or hides the plot for an array
-
class
psy_strat.strat_widget.StratPlotsWidget(*args, **kwargs)[source]¶ Bases:
PyQt5.QtWidgets.QWidget,psyplot_gui.common.DockMixinA widget for managing the stratigraphic plots from the psy-strat package
Methods
add_tree(groupers[, title])Add a new QTreeWidget to the
tabswidgetmove_selected_children(child, col)update_trees_from_project(project)Add a new QTreeWidget from the main project
Attributes
Display the dock widget at the right side of the GUI
True if there is no
psy_strat.plotter.StratPlotterin theThe
psy_strat.plotters.StratPlotterclass if it’s module has already been imported.The title of the widget
-
dock_position= 2¶ Display the dock widget at the right side of the GUI
True if there is no
psy_strat.plotter.StratPlotterin the current main project
-
property
stratplotter_cls¶ The
psy_strat.plotters.StratPlotterclass if it’s module has already been imported. Otherwise None.
-
title= 'Stratigraphic plots'¶ The title of the widget
-