mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
Forget qet.cpp and qet.h from previous comit.
Add new function for create QAction used for edit the depth of items. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5402 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
#define _QET_H
|
||||
#include <QtXml>
|
||||
#include <QObject>
|
||||
|
||||
class QActionGroup;
|
||||
/**
|
||||
This file provides useful functions and enums that may be used from
|
||||
anywhere else within the QElectroTech application.
|
||||
@@ -155,7 +157,6 @@ namespace QET {
|
||||
QList<QDomElement> findInDomElement(const QDomElement &, const QString &);
|
||||
QList<QDomElement> findInDomElement(const QDomElement &, const QString &, const QString &);
|
||||
QList<QChar> forbiddenCharacters();
|
||||
QString forbiddenCharactersString(bool = false);
|
||||
QString stringToFileName(const QString &);
|
||||
QString escapeSpaces(const QString &);
|
||||
QString unescapeSpaces(const QString &);
|
||||
@@ -164,13 +165,11 @@ namespace QET {
|
||||
QString diagramAreaToString(const QET::DiagramArea &);
|
||||
QET::DiagramArea diagramAreaFromString(const QString &);
|
||||
qreal round(qreal, qreal);
|
||||
QPointF roundPoint(const QPointF &, qreal);
|
||||
qreal correctAngle(const qreal &);
|
||||
bool compareCanonicalFilePaths(const QString &, const QString &);
|
||||
QString titleBlockColumnLengthToString(const TitleBlockColumnLength &);
|
||||
bool writeXmlFile(QDomDocument &xml_doc, const QString &filepath, QString * error_message= nullptr);
|
||||
QPointF graphicsSceneEventPos(QEvent *);
|
||||
bool eachStrIsEqual (const QStringList &qsl);
|
||||
QActionGroup *depthActionGroup(QObject *parent = nullptr);
|
||||
}
|
||||
|
||||
Q_DECLARE_METATYPE(QET::DepthOption)
|
||||
|
||||
Reference in New Issue
Block a user