Header chain optimization
This commit is contained in:
parent
4d8a1fe5cf
commit
2c79175304
5 changed files with 14 additions and 5 deletions
|
@ -16,6 +16,8 @@
|
|||
#include <QLabel>
|
||||
#include <QVariant>
|
||||
#include <QInputDialog>
|
||||
#include <QComboBox>
|
||||
#include <QPushButton>
|
||||
|
||||
BaseForm::BaseForm(QWidget* parent, bool auto_apply, bool with_layers) : QWidget(parent)
|
||||
{
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
#define _PAYSAGES_QT_BASEFORM_H_
|
||||
|
||||
#include <QWidget>
|
||||
#include <QPushButton>
|
||||
#include <QComboBox>
|
||||
#include <QStringList>
|
||||
#include "basepreview.h"
|
||||
#include "baseinput.h"
|
||||
|
@ -16,6 +14,9 @@
|
|||
#include "rendering/noise.h"
|
||||
#include "rendering/layers.h"
|
||||
|
||||
class QPushButton;
|
||||
class QComboBox;
|
||||
|
||||
class BaseForm : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#include "baseinput.h"
|
||||
|
||||
#include <QWidget>
|
||||
#include <QLabel>
|
||||
|
||||
BaseInput::BaseInput(QWidget* form, QString label):
|
||||
QObject(form)
|
||||
{
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
#ifndef _PAYSAGES_QT_BASEINPUT_H_
|
||||
#define _PAYSAGES_QT_BASEINPUT_H_
|
||||
|
||||
#include <QWidget>
|
||||
#include <QLabel>
|
||||
#include <QObject>
|
||||
class QWidget;
|
||||
class QLabel;
|
||||
|
||||
class BaseInput:public QObject
|
||||
{
|
||||
|
@ -10,7 +11,7 @@ class BaseInput:public QObject
|
|||
|
||||
public:
|
||||
BaseInput(QWidget* form, QString label);
|
||||
inline QWidget* label() {return _label;}
|
||||
inline QLabel* label() {return _label;}
|
||||
inline QWidget* preview() {return _preview;}
|
||||
inline QWidget* control() {return _control;}
|
||||
void setVisibilityCondition(int* value, int condition);
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#include "formrender.h"
|
||||
|
||||
#include <QPushButton>
|
||||
|
||||
#include "dialogrender.h"
|
||||
#include "inputcamera.h"
|
||||
#include "tools.h"
|
||||
|
|
Loading…
Reference in a new issue