mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 23:20:52 +01:00
Mod doc set style de same
This commit is contained in:
@@ -35,10 +35,10 @@
|
||||
#include <QStringList>
|
||||
|
||||
/**
|
||||
* @brief ExportElementTextPattern::ExportElementTextPattern
|
||||
* Constructor
|
||||
* @param elmt
|
||||
*/
|
||||
@brief ExportElementTextPattern::ExportElementTextPattern
|
||||
Constructor
|
||||
@param elmt
|
||||
*/
|
||||
ExportElementTextPattern::ExportElementTextPattern(Element *elmt) :
|
||||
m_element(elmt)
|
||||
{
|
||||
@@ -74,10 +74,10 @@ ExportElementTextPattern::ExportElementTextPattern(Element *elmt) :
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief ExportElementTextConf::getName
|
||||
* Open a dialog to let user set the name of the conf and return it
|
||||
* @return
|
||||
*/
|
||||
@brief ExportElementTextConf::getName
|
||||
Open a dialog to let user set the name of the conf and return it
|
||||
@return
|
||||
*/
|
||||
QString ExportElementTextPattern::getName(bool &ok) const
|
||||
{
|
||||
QString text = QInputDialog::getText(parentWidget(),
|
||||
@@ -159,11 +159,11 @@ ImportElementTextPattern::ImportElementTextPattern(Element *elmt):
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief ImportElementTextPattern::getName
|
||||
* Open a dialog to let user select a conf
|
||||
* @param ok
|
||||
* @return
|
||||
*/
|
||||
@brief ImportElementTextPattern::getName
|
||||
Open a dialog to let user select a conf
|
||||
@param ok
|
||||
@return
|
||||
*/
|
||||
QString ImportElementTextPattern::getName(const QStringList& list, bool *ok, bool *erase) const
|
||||
{
|
||||
return ImportElementTextPatternDialog::getItem(parentWidget(),
|
||||
@@ -185,11 +185,11 @@ QWidget *ImportElementTextPattern::parentWidget() const
|
||||
|
||||
|
||||
/**
|
||||
* @brief ImportElementTextPattern::apply
|
||||
* Apply the user choice
|
||||
* @param name : the name of the selected pattern
|
||||
* @param erase : erase the existing texts and groups of element.
|
||||
*/
|
||||
@brief ImportElementTextPattern::apply
|
||||
Apply the user choice
|
||||
@param name : the name of the selected pattern
|
||||
@param erase : erase the existing texts and groups of element.
|
||||
*/
|
||||
void ImportElementTextPattern::apply(QString name, bool erase) const
|
||||
{
|
||||
if(!name.endsWith(".xml"))
|
||||
|
||||
Reference in New Issue
Block a user