Code style fix.

--HG--
branch : develop
This commit is contained in:
dismine 2014-07-25 15:22:46 +03:00
parent e76eec5ebd
commit 41a8a46b2f

View File

@ -52,7 +52,7 @@ class MainWindow : public QMainWindow
Q_OBJECT Q_OBJECT
public: public:
explicit MainWindow(QWidget *parent = nullptr); explicit MainWindow(QWidget *parent = nullptr);
~MainWindow(); virtual ~MainWindow();
void LoadPattern(const QString &curFile); void LoadPattern(const QString &curFile);
public slots: public slots:
void mouseMove(const QPointF &scenePos); void mouseMove(const QPointF &scenePos);
@ -138,13 +138,13 @@ private:
Ui::MainWindow *ui; Ui::MainWindow *ui;
/** @brief pattern container with data (points, arcs, splines, spline paths, variables) */ /** @brief pattern container with data (points, arcs, splines, spline paths, variables) */
VContainer *pattern; VContainer *pattern;
/** @brief doc dom document container */ /** @brief doc dom document container */
VPattern *doc; VPattern *doc;
/** @brief tool current tool */ /** @brief tool current tool */
Tool tool; Tool tool;
/** @brief currentScene pointer to current scene. */ /** @brief currentScene pointer to current scene. */
VMainGraphicsScene *currentScene; VMainGraphicsScene *currentScene;
@ -178,7 +178,7 @@ private:
QString curFile; QString curFile;
/** @brief mode keep current draw mode. */ /** @brief mode keep current draw mode. */
Draw mode; Draw mode;
/** @brief currentDrawIndex save current selected pattern peace. */ /** @brief currentDrawIndex save current selected pattern peace. */
qint32 currentDrawIndex; qint32 currentDrawIndex;
@ -211,7 +211,7 @@ private:
Func closeDialogSlot); Func closeDialogSlot);
template <typename Dialog, typename Func, typename Func2> template <typename Dialog, typename Func, typename Func2>
void SetToolButtonWithApply(bool checked, Tool t, const QString &cursor, const QString &toolTip, void SetToolButtonWithApply(bool checked, Tool t, const QString &cursor, const QString &toolTip,
Func closeDialogSlot, Func2 applyDialogSlot); Func closeDialogSlot, Func2 applyDialogSlot);
template <typename DrawTool> template <typename DrawTool>
void ClosedDialog(int result); void ClosedDialog(int result);
template <typename DrawTool> template <typename DrawTool>