mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 08:10:52 +01:00
Element editor : replace home made property by Q_PROPERTY for all primitive,
Add combo box for input to set the tagg (nothing or label, actually) Remove terminal text because unused. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3088 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -176,7 +176,7 @@ class AddPartCommand : public ElementEditionCommand {
|
||||
class ChangePartCommand : public ElementEditionCommand {
|
||||
// constructors, destructor
|
||||
public:
|
||||
ChangePartCommand(const QString &, CustomElementPart *, const QString &, const QVariant &, const QVariant &, QUndoCommand * = 0);
|
||||
ChangePartCommand(const QString &, CustomElementPart *, const char *, const QVariant &, const QVariant &, QUndoCommand * = 0);
|
||||
virtual ~ChangePartCommand();
|
||||
private:
|
||||
ChangePartCommand(const ChangePartCommand &);
|
||||
@@ -191,7 +191,7 @@ class ChangePartCommand : public ElementEditionCommand {
|
||||
/// Changed primitive
|
||||
CustomElementPart *cep;
|
||||
/// Changed property
|
||||
QString property;
|
||||
const char *property;
|
||||
/// Former value
|
||||
QVariant old_value;
|
||||
/// New value
|
||||
|
||||
Reference in New Issue
Block a user