mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-05 11:50:52 +01:00
Element text pattern dialog : add a check box 'erase existing texts'
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5541 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright 2006-2017 The QElectroTech Team
|
||||
Copyright 2006-2018 The QElectroTech Team
|
||||
This file is part of QElectroTech.
|
||||
|
||||
QElectroTech is free software: you can redistribute it and/or modify
|
||||
@@ -45,9 +45,9 @@ class ImportElementTextPattern
|
||||
ImportElementTextPattern(Element *elmt);
|
||||
|
||||
private:
|
||||
QString getName(const QStringList& list, bool &ok) const;
|
||||
QString getName(const QStringList& list, bool *ok, bool *erase) const;
|
||||
QWidget *parentWidget() const;
|
||||
void apply(QString name) const;
|
||||
void apply(QString name, bool erase = false) const;
|
||||
|
||||
private:
|
||||
Element *m_element = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user