VPTissue Reference Manual
SimPT_Editor::CopyAttributesDialog Class Reference

Dialog for selecting the attributes we want to copy. More...

#include <CopyAttributesDialog.h>

Inheritance diagram for SimPT_Editor::CopyAttributesDialog:
Inheritance graph
Collaboration diagram for SimPT_Editor::CopyAttributesDialog:
Collaboration graph

Public Member Functions

 CopyAttributesDialog (const boost::property_tree::ptree &pt, QWidget *parent=nullptr)
 Constructor. More...
 
virtual ~CopyAttributesDialog ()
 Destructor.
 
boost::property_tree::ptree SelectedAttributes ()
 Get the selected attributes. More...
 

Detailed Description

Dialog for selecting the attributes we want to copy.

Definition at line 32 of file CopyAttributesDialog.h.

Constructor & Destructor Documentation

SimPT_Editor::CopyAttributesDialog::CopyAttributesDialog ( const boost::property_tree::ptree &  pt,
QWidget parent = nullptr 
)

Constructor.

Parameters
ptThe ptree containing the attributes.
parentThe parent widget.

Definition at line 35 of file CopyAttributesDialog.cpp.

Member Function Documentation

ptree SimPT_Editor::CopyAttributesDialog::SelectedAttributes ( )

Get the selected attributes.

The selected attributes will contain the original value, while the other attributes will have an empty value.

Returns
The selected attributes.

Definition at line 49 of file CopyAttributesDialog.cpp.


The documentation for this class was generated from the following files: