2014-02-14 12:29:04 +01:00
|
|
|
/************************************************************************
|
|
|
|
**
|
2014-06-21 09:59:43 +02:00
|
|
|
** @file patternpage.h
|
2014-04-30 07:38:52 +02:00
|
|
|
** @author Roman Telezhynskyi <dismine(at)gmail.com>
|
2014-06-21 09:59:43 +02:00
|
|
|
** @date 21 6, 2014
|
2014-02-14 12:29:04 +01:00
|
|
|
**
|
|
|
|
** @brief
|
|
|
|
** @copyright
|
|
|
|
** This source code is part of the Valentine project, a pattern making
|
|
|
|
** program, whose allow create and modeling patterns of clothing.
|
2015-02-27 11:27:48 +01:00
|
|
|
** Copyright (C) 2013-2015 Valentina project
|
2014-02-14 12:29:04 +01:00
|
|
|
** <https://bitbucket.org/dismine/valentina> All Rights Reserved.
|
|
|
|
**
|
|
|
|
** Valentina is free software: you can redistribute it and/or modify
|
|
|
|
** it under the terms of the GNU General Public License as published by
|
|
|
|
** the Free Software Foundation, either version 3 of the License, or
|
|
|
|
** (at your option) any later version.
|
|
|
|
**
|
|
|
|
** Valentina is distributed in the hope that it will be useful,
|
|
|
|
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
** GNU General Public License for more details.
|
|
|
|
**
|
|
|
|
** You should have received a copy of the GNU General Public License
|
|
|
|
** along with Valentina. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
**
|
|
|
|
*************************************************************************/
|
|
|
|
|
2014-06-21 09:59:43 +02:00
|
|
|
#ifndef PATTERNPAGE_H
|
|
|
|
#define PATTERNPAGE_H
|
2014-02-14 12:29:04 +01:00
|
|
|
|
2014-06-08 20:10:57 +02:00
|
|
|
#include <QObject>
|
2014-06-17 11:50:11 +02:00
|
|
|
#include <QWidget>
|
2014-06-08 20:10:57 +02:00
|
|
|
|
|
|
|
class QCheckBox;
|
|
|
|
class QSpinBox;
|
|
|
|
class QGroupBox;
|
|
|
|
class QLineEdit;
|
2016-01-06 06:59:01 +01:00
|
|
|
class QLabel;
|
2014-02-14 12:29:04 +01:00
|
|
|
|
|
|
|
class PatternPage : public QWidget
|
|
|
|
{
|
2014-02-14 18:49:50 +01:00
|
|
|
Q_OBJECT
|
2014-02-14 12:29:04 +01:00
|
|
|
public:
|
2015-10-12 13:52:48 +02:00
|
|
|
explicit PatternPage(QWidget *parent = nullptr);
|
2014-02-14 12:29:04 +01:00
|
|
|
void Apply();
|
2016-01-06 06:59:01 +01:00
|
|
|
protected:
|
|
|
|
virtual void changeEvent(QEvent* event) Q_DECL_OVERRIDE;
|
2014-02-14 12:29:04 +01:00
|
|
|
private:
|
|
|
|
Q_DISABLE_COPY(PatternPage)
|
2016-01-06 06:59:01 +01:00
|
|
|
QGroupBox *userGroup;
|
2014-02-14 12:29:04 +01:00
|
|
|
QLineEdit *userName;
|
2016-01-06 06:59:01 +01:00
|
|
|
QLabel *userNameLabel;
|
|
|
|
QGroupBox *graphOutputGroup;
|
2014-02-14 12:29:04 +01:00
|
|
|
QCheckBox *graphOutputCheck;
|
2016-01-06 06:59:01 +01:00
|
|
|
QGroupBox *undoGroup;
|
2014-06-08 13:18:34 +02:00
|
|
|
QSpinBox *undoCount;
|
2016-01-06 06:59:01 +01:00
|
|
|
QLabel *countStepsLabel;
|
2014-02-14 12:29:04 +01:00
|
|
|
QGroupBox *UserGroup();
|
|
|
|
QGroupBox *GraphOutputGroup();
|
2014-06-08 13:18:34 +02:00
|
|
|
QGroupBox *UndoGroup();
|
2016-01-06 06:59:01 +01:00
|
|
|
|
|
|
|
void RetranslateUi();
|
2014-02-14 12:29:04 +01:00
|
|
|
};
|
|
|
|
|
2014-06-21 09:59:43 +02:00
|
|
|
#endif // PATTERNPAGE_H
|