QElectroTech  0.8-dev
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ImportElementTextPattern Class Reference

#include <elementtextpattern.h>

Collaboration diagram for ImportElementTextPattern:
Collaboration graph

Public Member Functions

 ImportElementTextPattern (Element *elmt)
 

Private Member Functions

QString getName (const QStringList &list, bool *ok, bool *erase) const
 ImportElementTextPattern::getName Open a dialog to let user select a conf. More...
 
QWidget * parentWidget () const
 
void apply (QString name, bool erase=false) const
 ImportElementTextPattern::apply Apply the user choice. More...
 

Private Attributes

Elementm_element = nullptr
 

Constructor & Destructor Documentation

◆ ImportElementTextPattern()

ImportElementTextPattern::ImportElementTextPattern ( Element elmt)
Here is the call graph for this function:

Member Function Documentation

◆ apply()

void ImportElementTextPattern::apply ( QString  name,
bool  erase = false 
) const
private

ImportElementTextPattern::apply Apply the user choice.

Parameters
name: the name of the selected pattern
erase: erase the existing texts and groups of element.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getName()

QString ImportElementTextPattern::getName ( const QStringList &  list,
bool *  ok,
bool *  erase 
) const
private

ImportElementTextPattern::getName Open a dialog to let user select a conf.

Parameters
list
ok
erase
Returns
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parentWidget()

QWidget * ImportElementTextPattern::parentWidget ( ) const
private
Here is the caller graph for this function:

Member Data Documentation

◆ m_element

Element* ImportElementTextPattern::m_element = nullptr
private

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