PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
List of all members | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
QPlusConfigFileSaverDialog Class Reference

Configuration file saver dialog class. More...

#include <src/PlusWidgets/QPlusConfigFileSaverDialog.h>

Inheritance diagram for QPlusConfigFileSaverDialog:
Inheritance graph
[legend]
Collaboration diagram for QPlusConfigFileSaverDialog:
Collaboration graph
[legend]

Public Member Functions

 QPlusConfigFileSaverDialog (QWidget *aParent)
 
void SetDestinationDirectory (const std::string &aDirectory)
 
 ~QPlusConfigFileSaverDialog ()
 

Protected Slots

void OpenDestinationDirectoryClicked ()
 
void SaveClicked ()
 

Protected Member Functions

PlusStatus ReadConfiguration ()
 

Protected Attributes

QString m_DestinationDirectory
 
Ui::ConfigFileSaverDialog ui
 

Detailed Description

Configuration file saver dialog class.

Definition at line 26 of file QPlusConfigFileSaverDialog.h.

Constructor & Destructor Documentation

◆ QPlusConfigFileSaverDialog()

QPlusConfigFileSaverDialog::QPlusConfigFileSaverDialog ( QWidget *  aParent)

Constructor

Parameters
aParentParent object

Definition at line 21 of file QPlusConfigFileSaverDialog.cxx.

◆ ~QPlusConfigFileSaverDialog()

QPlusConfigFileSaverDialog::~QPlusConfigFileSaverDialog ( )

Destructor

Definition at line 35 of file QPlusConfigFileSaverDialog.cxx.

Member Function Documentation

◆ OpenDestinationDirectoryClicked

void QPlusConfigFileSaverDialog::OpenDestinationDirectoryClicked ( )
protectedslot

Pops up open directory dialog and saves the selected one into application

Definition at line 40 of file QPlusConfigFileSaverDialog.cxx.

◆ ReadConfiguration()

PlusStatus QPlusConfigFileSaverDialog::ReadConfiguration ( )
protected

Parses configuration data and fills form (title and description)

Returns
Success flag

Definition at line 69 of file QPlusConfigFileSaverDialog.cxx.

◆ SaveClicked

void QPlusConfigFileSaverDialog::SaveClicked ( )
protectedslot

Pops up save file dialog and saves the configuration file with the changed fields into that directory

Definition at line 110 of file QPlusConfigFileSaverDialog.cxx.

◆ SetDestinationDirectory()

void QPlusConfigFileSaverDialog::SetDestinationDirectory ( const std::string &  aDirectory)

Set destination directory for configuration file

Parameters
aDirectoryInput configuration directory

Definition at line 58 of file QPlusConfigFileSaverDialog.cxx.

Member Data Documentation

◆ m_DestinationDirectory

QString QPlusConfigFileSaverDialog::m_DestinationDirectory
protected

Destination directory path

Definition at line 68 of file QPlusConfigFileSaverDialog.h.

◆ ui

Ui::ConfigFileSaverDialog QPlusConfigFileSaverDialog::ui
protected

Definition at line 71 of file QPlusConfigFileSaverDialog.h.


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