change namespace UIUIQQC2Style , delete debug path
This commit is contained in:
parent
4abdabf13f
commit
6b52c20cad
|
@ -46,7 +46,7 @@
|
|||
#include "styleparameter/ukuislider.h"
|
||||
#include "styleparameter/ukuispinbox.h"
|
||||
#include "styleparameter/ukuitabbar.h"
|
||||
using namespace UIUIQQC2Style;
|
||||
using namespace UKUIQQC2Style;
|
||||
|
||||
void Qqc2StylePlugin::initializeEngine(QQmlEngine *engine, const char *uri)
|
||||
{
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include "settings/ukui-style-settings.h"
|
||||
#include "../../qt5-ukui-platformtheme/platform-theme-fontdata.h"
|
||||
|
||||
using namespace UIUIQQC2Style;
|
||||
using namespace UKUIQQC2Style;
|
||||
APPParameter::APPParameter(QQuickItem *parent) : QQuickItem(parent)
|
||||
{
|
||||
if(!qApp)
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include <QPalette>
|
||||
#include <QQuickItem>
|
||||
|
||||
namespace UIUIQQC2Style {
|
||||
namespace UKUIQQC2Style {
|
||||
|
||||
class APPParameter : public QQuickItem
|
||||
{
|
||||
|
@ -107,6 +107,6 @@ inline void APPParameter::setSpace(int newSpace)
|
|||
}
|
||||
|
||||
}
|
||||
QML_DECLARE_TYPEINFO(UIUIQQC2Style::APPParameter, QML_HAS_ATTACHED_PROPERTIES)
|
||||
QML_DECLARE_TYPEINFO(UKUIQQC2Style::APPParameter, QML_HAS_ATTACHED_PROPERTIES)
|
||||
|
||||
#endif // APPPARAMETER_H
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include <QColor>
|
||||
#include <qmath.h>
|
||||
|
||||
using namespace UIUIQQC2Style;
|
||||
using namespace UKUIQQC2Style;
|
||||
|
||||
|
||||
Icon::Icon(QObject *parent) : QObject(parent)
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include <QPixmap>
|
||||
#include <QString>
|
||||
|
||||
namespace UIUIQQC2Style {
|
||||
namespace UKUIQQC2Style {
|
||||
|
||||
class Icon : public QObject
|
||||
{
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include "effects/highlight-effect.h"
|
||||
#include "icon.h"
|
||||
|
||||
using namespace UIUIQQC2Style;
|
||||
using namespace UKUIQQC2Style;
|
||||
|
||||
static QSize defaultSize = QSize(16, 16);
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include <QString>
|
||||
#include "icon.h"
|
||||
|
||||
namespace UIUIQQC2Style {
|
||||
namespace UKUIQQC2Style {
|
||||
|
||||
class IconHelper
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include <QIcon>
|
||||
#include <QColor>
|
||||
|
||||
using namespace UIUIQQC2Style;
|
||||
using namespace UKUIQQC2Style;
|
||||
TokenParameter::TokenParameter()
|
||||
{
|
||||
//UKUIGlobalDTConfig::GlobalDTConfig dtConfig;
|
||||
|
@ -33,12 +33,12 @@ void TokenParameter::deleteInstance()
|
|||
}
|
||||
}
|
||||
|
||||
//const std::shared_ptr<UIUIQQC2Style::UKUIButton> &TokenParameter::button() const
|
||||
//const std::shared_ptr<UKUIQQC2Style::UKUIButton> &TokenParameter::button() const
|
||||
//{
|
||||
// return m_button;
|
||||
//}
|
||||
|
||||
//void TokenParameter::setButton(std::shared_ptr<UIUIQQC2Style::UKUIButton> &newButton)
|
||||
//void TokenParameter::setButton(std::shared_ptr<UKUIQQC2Style::UKUIButton> &newButton)
|
||||
//{
|
||||
// if (m_button == newButton)
|
||||
// return;
|
||||
|
|
|
@ -28,11 +28,11 @@
|
|||
#include "../../ukui-styles/dt-tmp-readconfig.h"
|
||||
#include "ukuibutton.h"
|
||||
|
||||
namespace UIUIQQC2Style {
|
||||
namespace UKUIQQC2Style {
|
||||
|
||||
class TokenParameter
|
||||
{
|
||||
//Q_PROPERTY(std::shared_ptr<UIUIQQC2Style::UKUIButton> button READ button WRITE setButton NOTIFY buttonChanged)
|
||||
//Q_PROPERTY(std::shared_ptr<UKUIQQC2Style::UKUIButton> button READ button WRITE setButton NOTIFY buttonChanged)
|
||||
|
||||
public:
|
||||
explicit TokenParameter();
|
||||
|
@ -42,8 +42,8 @@ public:
|
|||
void deleteInstance();
|
||||
|
||||
|
||||
// const std::shared_ptr<UIUIQQC2Style::UKUIButton> &button() const;
|
||||
// void setButton(std::shared_ptr<UIUIQQC2Style::UKUIButton> &newButton);
|
||||
// const std::shared_ptr<UKUIQQC2Style::UKUIButton> &button() const;
|
||||
// void setButton(std::shared_ptr<UKUIQQC2Style::UKUIButton> &newButton);
|
||||
|
||||
public slots:
|
||||
|
||||
|
@ -55,6 +55,6 @@ private:
|
|||
// UKUIButton m_button;
|
||||
};
|
||||
}
|
||||
Q_DECLARE_METATYPE(UIUIQQC2Style::TokenParameter*)
|
||||
Q_DECLARE_METATYPE(UKUIQQC2Style::TokenParameter*)
|
||||
|
||||
#endif // TOKENPARAMETER_H
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include <QApplication>
|
||||
#include "ukuibutton.h"
|
||||
#include "qdebug.h"
|
||||
using namespace UIUIQQC2Style;
|
||||
using namespace UKUIQQC2Style;
|
||||
|
||||
UKUIButton::UKUIButton(QQuickItem *parent) : QQuickItem(parent)
|
||||
{
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include "tokenparameter.h"
|
||||
|
||||
using namespace UKUIGlobalDTConfig;
|
||||
namespace UIUIQQC2Style {
|
||||
namespace UKUIQQC2Style {
|
||||
|
||||
class UKUIButton : public QQuickItem
|
||||
{
|
||||
|
@ -244,9 +244,9 @@ private:
|
|||
UKUIGlobalDTConfig::GlobalDTConfig* m_instance ;
|
||||
};
|
||||
}
|
||||
QML_DECLARE_TYPEINFO(UIUIQQC2Style::UKUIButton, QML_HAS_ATTACHED_PROPERTIES)
|
||||
QML_DECLARE_TYPEINFO(UKUIQQC2Style::UKUIButton, QML_HAS_ATTACHED_PROPERTIES)
|
||||
|
||||
//Q_DECLARE_METATYPE(UIUIQQC2Style::UKUIButton);
|
||||
//Q_DECLARE_METATYPE(std::shared_ptr<UIUIQQC2Style::UKUIButton>)
|
||||
//Q_DECLARE_METATYPE(UKUIQQC2Style::UKUIButton);
|
||||
//Q_DECLARE_METATYPE(std::shared_ptr<UKUIQQC2Style::UKUIButton>)
|
||||
|
||||
#endif // UKUIBUTTON_H
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include <QApplication>
|
||||
#include "ukuicheckbox.h"
|
||||
#include "qdebug.h"
|
||||
using namespace UIUIQQC2Style;
|
||||
using namespace UKUIQQC2Style;
|
||||
|
||||
UKUICheckBox::UKUICheckBox(QQuickItem *parent) : QQuickItem(parent)
|
||||
{
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include <QQuickItem>
|
||||
#include "tokenparameter.h"
|
||||
|
||||
namespace UIUIQQC2Style {
|
||||
namespace UKUIQQC2Style {
|
||||
|
||||
class UKUICheckBox : public QQuickItem
|
||||
{
|
||||
|
@ -289,7 +289,7 @@ private:
|
|||
|
||||
};
|
||||
}
|
||||
QML_DECLARE_TYPEINFO(UIUIQQC2Style::UKUICheckBox, QML_HAS_ATTACHED_PROPERTIES)
|
||||
QML_DECLARE_TYPEINFO(UKUIQQC2Style::UKUICheckBox, QML_HAS_ATTACHED_PROPERTIES)
|
||||
|
||||
|
||||
#endif // UKUICHECKBOX_H
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include <QApplication>
|
||||
#include "ukuicombobox.h"
|
||||
#include "qdebug.h"
|
||||
using namespace UIUIQQC2Style;
|
||||
using namespace UKUIQQC2Style;
|
||||
|
||||
UKUIComboBox::UKUIComboBox(QQuickItem *parent) : QQuickItem(parent)
|
||||
{
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include <QQuickItem>
|
||||
#include "tokenparameter.h"
|
||||
|
||||
namespace UIUIQQC2Style {
|
||||
namespace UKUIQQC2Style {
|
||||
|
||||
class UKUIComboBox : public QQuickItem
|
||||
{
|
||||
|
@ -184,6 +184,6 @@ private:
|
|||
|
||||
};
|
||||
}
|
||||
QML_DECLARE_TYPEINFO(UIUIQQC2Style::UKUIComboBox, QML_HAS_ATTACHED_PROPERTIES)
|
||||
QML_DECLARE_TYPEINFO(UKUIQQC2Style::UKUIComboBox, QML_HAS_ATTACHED_PROPERTIES)
|
||||
|
||||
#endif // UKUICOMBOBOX_H
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "ukuiitemdelegate.h"
|
||||
#include "qdebug.h"
|
||||
|
||||
using namespace UIUIQQC2Style;
|
||||
using namespace UKUIQQC2Style;
|
||||
|
||||
UKUIItemDelegate::UKUIItemDelegate(QQuickItem *parent) : QQuickItem(parent)
|
||||
{
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include <QQuickItem>
|
||||
#include "tokenparameter.h"
|
||||
|
||||
namespace UIUIQQC2Style {
|
||||
namespace UKUIQQC2Style {
|
||||
|
||||
class UKUIItemDelegate : public QQuickItem
|
||||
{
|
||||
|
@ -142,6 +142,6 @@ private:
|
|||
|
||||
};
|
||||
}
|
||||
QML_DECLARE_TYPEINFO(UIUIQQC2Style::UKUIItemDelegate, QML_HAS_ATTACHED_PROPERTIES)
|
||||
QML_DECLARE_TYPEINFO(UKUIQQC2Style::UKUIItemDelegate, QML_HAS_ATTACHED_PROPERTIES)
|
||||
|
||||
#endif // UKUIITEMDELEGATE_H
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "ukuilabel.h"
|
||||
#include "qdebug.h"
|
||||
|
||||
using namespace UIUIQQC2Style;
|
||||
using namespace UKUIQQC2Style;
|
||||
|
||||
UKUILabel::UKUILabel(QQuickItem *parent) : QQuickItem(parent)
|
||||
{
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include <QQuickItem>
|
||||
#include "tokenparameter.h"
|
||||
|
||||
namespace UIUIQQC2Style {
|
||||
namespace UKUIQQC2Style {
|
||||
|
||||
class UKUILabel : public QQuickItem
|
||||
{
|
||||
|
@ -76,6 +76,6 @@ private:
|
|||
|
||||
};
|
||||
}
|
||||
QML_DECLARE_TYPEINFO(UIUIQQC2Style::UKUILabel, QML_HAS_ATTACHED_PROPERTIES)
|
||||
QML_DECLARE_TYPEINFO(UKUIQQC2Style::UKUILabel, QML_HAS_ATTACHED_PROPERTIES)
|
||||
|
||||
#endif // UKUILABEL_H
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "ukuimenu.h"
|
||||
#include "qdebug.h"
|
||||
|
||||
using namespace UIUIQQC2Style;
|
||||
using namespace UKUIQQC2Style;
|
||||
|
||||
UKUIMenu::UKUIMenu(QQuickItem *parent) : QQuickItem(parent)
|
||||
{
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include <QQuickItem>
|
||||
#include "tokenparameter.h"
|
||||
|
||||
namespace UIUIQQC2Style {
|
||||
namespace UKUIQQC2Style {
|
||||
|
||||
class UKUIMenu : public QQuickItem
|
||||
{
|
||||
|
@ -108,6 +108,6 @@ private:
|
|||
|
||||
};
|
||||
}
|
||||
QML_DECLARE_TYPEINFO(UIUIQQC2Style::UKUIMenu, QML_HAS_ATTACHED_PROPERTIES)
|
||||
QML_DECLARE_TYPEINFO(UKUIQQC2Style::UKUIMenu, QML_HAS_ATTACHED_PROPERTIES)
|
||||
|
||||
#endif // UKUIMENU_H
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "ukuimenuitem.h"
|
||||
#include "qdebug.h"
|
||||
|
||||
using namespace UIUIQQC2Style;
|
||||
using namespace UKUIQQC2Style;
|
||||
|
||||
UKUIMenuItem::UKUIMenuItem(QQuickItem *parent) : QQuickItem(parent)
|
||||
{
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include <QQuickItem>
|
||||
#include "tokenparameter.h"
|
||||
|
||||
namespace UIUIQQC2Style {
|
||||
namespace UKUIQQC2Style {
|
||||
|
||||
class UKUIMenuItem : public QQuickItem
|
||||
{
|
||||
|
@ -172,6 +172,6 @@ private:
|
|||
|
||||
};
|
||||
}
|
||||
QML_DECLARE_TYPEINFO(UIUIQQC2Style::UKUIMenuItem, QML_HAS_ATTACHED_PROPERTIES)
|
||||
QML_DECLARE_TYPEINFO(UKUIQQC2Style::UKUIMenuItem, QML_HAS_ATTACHED_PROPERTIES)
|
||||
|
||||
#endif // UKUIMENUITEM_H
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "ukuipopup.h"
|
||||
#include "qdebug.h"
|
||||
|
||||
using namespace UIUIQQC2Style;
|
||||
using namespace UKUIQQC2Style;
|
||||
|
||||
UKUIPopup::UKUIPopup(QQuickItem *parent) : QQuickItem(parent)
|
||||
{
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include <QQuickItem>
|
||||
#include "tokenparameter.h"
|
||||
|
||||
namespace UIUIQQC2Style {
|
||||
namespace UKUIQQC2Style {
|
||||
|
||||
class UKUIPopup : public QQuickItem
|
||||
{
|
||||
|
@ -98,6 +98,6 @@ private:
|
|||
|
||||
};
|
||||
}
|
||||
QML_DECLARE_TYPEINFO(UIUIQQC2Style::UKUIPopup, QML_HAS_ATTACHED_PROPERTIES)
|
||||
QML_DECLARE_TYPEINFO(UKUIQQC2Style::UKUIPopup, QML_HAS_ATTACHED_PROPERTIES)
|
||||
|
||||
#endif // UKUIPOPUP_H
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "ukuiprogressbar.h"
|
||||
#include "qdebug.h"
|
||||
|
||||
using namespace UIUIQQC2Style;
|
||||
using namespace UKUIQQC2Style;
|
||||
|
||||
UKUIProgressBar::UKUIProgressBar(QQuickItem *parent) : QQuickItem(parent)
|
||||
{
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include <QQuickItem>
|
||||
#include "tokenparameter.h"
|
||||
|
||||
namespace UIUIQQC2Style {
|
||||
namespace UKUIQQC2Style {
|
||||
|
||||
class UKUIProgressBar : public QQuickItem
|
||||
{
|
||||
|
@ -125,6 +125,6 @@ private:
|
|||
|
||||
};
|
||||
}
|
||||
QML_DECLARE_TYPEINFO(UIUIQQC2Style::UKUIProgressBar, QML_HAS_ATTACHED_PROPERTIES)
|
||||
QML_DECLARE_TYPEINFO(UKUIQQC2Style::UKUIProgressBar, QML_HAS_ATTACHED_PROPERTIES)
|
||||
|
||||
#endif // UKUIPROGRESSBAR_H
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include <QApplication>
|
||||
#include "ukuiradiobutton.h"
|
||||
#include "qdebug.h"
|
||||
using namespace UIUIQQC2Style;
|
||||
using namespace UKUIQQC2Style;
|
||||
|
||||
UKUIRadioButton::UKUIRadioButton(QQuickItem *parent) : QQuickItem(parent)
|
||||
{
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include <QQuickItem>
|
||||
#include "tokenparameter.h"
|
||||
|
||||
namespace UIUIQQC2Style {
|
||||
namespace UKUIQQC2Style {
|
||||
|
||||
class UKUIRadioButton : public QQuickItem
|
||||
{
|
||||
|
@ -282,9 +282,9 @@ private:
|
|||
|
||||
};
|
||||
}
|
||||
QML_DECLARE_TYPEINFO(UIUIQQC2Style::UKUIRadioButton, QML_HAS_ATTACHED_PROPERTIES)
|
||||
QML_DECLARE_TYPEINFO(UKUIQQC2Style::UKUIRadioButton, QML_HAS_ATTACHED_PROPERTIES)
|
||||
|
||||
//Q_DECLARE_METATYPE(UIUIQQC2Style::UKUIButton);
|
||||
//Q_DECLARE_METATYPE(std::shared_ptr<UIUIQQC2Style::UKUIButton>)
|
||||
//Q_DECLARE_METATYPE(UKUIQQC2Style::UKUIButton);
|
||||
//Q_DECLARE_METATYPE(std::shared_ptr<UKUIQQC2Style::UKUIButton>)
|
||||
|
||||
#endif // UKUIRADIOBUTTON_H
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "ukuiscrollbar.h"
|
||||
#include "qdebug.h"
|
||||
|
||||
using namespace UIUIQQC2Style;
|
||||
using namespace UKUIQQC2Style;
|
||||
|
||||
UKUIScrollBar::UKUIScrollBar(QQuickItem *parent) : QQuickItem(parent)
|
||||
{
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include <QQuickItem>
|
||||
#include "tokenparameter.h"
|
||||
|
||||
namespace UIUIQQC2Style {
|
||||
namespace UKUIQQC2Style {
|
||||
|
||||
class UKUIScrollBar : public QQuickItem
|
||||
{
|
||||
|
@ -91,6 +91,6 @@ private:
|
|||
|
||||
};
|
||||
}
|
||||
QML_DECLARE_TYPEINFO(UIUIQQC2Style::UKUIScrollBar, QML_HAS_ATTACHED_PROPERTIES)
|
||||
QML_DECLARE_TYPEINFO(UKUIQQC2Style::UKUIScrollBar, QML_HAS_ATTACHED_PROPERTIES)
|
||||
|
||||
#endif // UKUISCROLLBAR_H
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "ukuislider.h"
|
||||
#include "qdebug.h"
|
||||
|
||||
using namespace UIUIQQC2Style;
|
||||
using namespace UKUIQQC2Style;
|
||||
|
||||
UKUISlider::UKUISlider(QQuickItem *parent) : QQuickItem(parent)
|
||||
{
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include <QQuickItem>
|
||||
#include "tokenparameter.h"
|
||||
|
||||
namespace UIUIQQC2Style {
|
||||
namespace UKUIQQC2Style {
|
||||
|
||||
class UKUISlider : public QQuickItem
|
||||
{
|
||||
|
@ -226,6 +226,6 @@ private:
|
|||
|
||||
};
|
||||
}
|
||||
QML_DECLARE_TYPEINFO(UIUIQQC2Style::UKUISlider, QML_HAS_ATTACHED_PROPERTIES)
|
||||
QML_DECLARE_TYPEINFO(UKUIQQC2Style::UKUISlider, QML_HAS_ATTACHED_PROPERTIES)
|
||||
|
||||
#endif // UKUISLIDER_H
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "ukuispinbox.h"
|
||||
#include "qdebug.h"
|
||||
|
||||
using namespace UIUIQQC2Style;
|
||||
using namespace UKUIQQC2Style;
|
||||
|
||||
UKUISpinBox::UKUISpinBox(QQuickItem *parent) : QQuickItem(parent)
|
||||
{
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include <QQuickItem>
|
||||
#include "tokenparameter.h"
|
||||
|
||||
namespace UIUIQQC2Style {
|
||||
namespace UKUIQQC2Style {
|
||||
|
||||
class UKUISpinBox : public QQuickItem
|
||||
{
|
||||
|
@ -281,6 +281,6 @@ private:
|
|||
int m_btnBorderWidth;
|
||||
};
|
||||
}
|
||||
QML_DECLARE_TYPEINFO(UIUIQQC2Style::UKUISpinBox, QML_HAS_ATTACHED_PROPERTIES)
|
||||
QML_DECLARE_TYPEINFO(UKUIQQC2Style::UKUISpinBox, QML_HAS_ATTACHED_PROPERTIES)
|
||||
|
||||
#endif // UKUISPINBOX_H
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "ukuitabbar.h"
|
||||
#include "qdebug.h"
|
||||
|
||||
using namespace UIUIQQC2Style;
|
||||
using namespace UKUIQQC2Style;
|
||||
|
||||
UKUITabBar::UKUITabBar(QQuickItem *parent) : QQuickItem(parent)
|
||||
{
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include <QQuickItem>
|
||||
#include "tokenparameter.h"
|
||||
|
||||
namespace UIUIQQC2Style {
|
||||
namespace UKUIQQC2Style {
|
||||
|
||||
class UKUITabBar : public QQuickItem
|
||||
{
|
||||
|
@ -61,6 +61,6 @@ private:
|
|||
|
||||
};
|
||||
}
|
||||
QML_DECLARE_TYPEINFO(UIUIQQC2Style::UKUITabBar, QML_HAS_ATTACHED_PROPERTIES)
|
||||
QML_DECLARE_TYPEINFO(UKUIQQC2Style::UKUITabBar, QML_HAS_ATTACHED_PROPERTIES)
|
||||
|
||||
#endif // UKUITABBAR_H
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "ukuitabbutton.h"
|
||||
#include "qdebug.h"
|
||||
|
||||
using namespace UIUIQQC2Style;
|
||||
using namespace UKUIQQC2Style;
|
||||
|
||||
UKUITabButton::UKUITabButton(QQuickItem *parent) : QQuickItem(parent)
|
||||
{
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include <QQuickItem>
|
||||
#include "tokenparameter.h"
|
||||
|
||||
namespace UIUIQQC2Style {
|
||||
namespace UKUIQQC2Style {
|
||||
|
||||
class UKUITabButton : public QQuickItem
|
||||
{
|
||||
|
@ -129,6 +129,6 @@ private:
|
|||
|
||||
};
|
||||
}
|
||||
QML_DECLARE_TYPEINFO(UIUIQQC2Style::UKUITabButton, QML_HAS_ATTACHED_PROPERTIES)
|
||||
QML_DECLARE_TYPEINFO(UKUIQQC2Style::UKUITabButton, QML_HAS_ATTACHED_PROPERTIES)
|
||||
|
||||
#endif // UKUITABBUTTON_H
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include <QApplication>
|
||||
#include "ukuitextfiled.h"
|
||||
#include "qdebug.h"
|
||||
using namespace UIUIQQC2Style;
|
||||
using namespace UKUIQQC2Style;
|
||||
|
||||
UKUITextFiled::UKUITextFiled(QQuickItem *parent) : QQuickItem(parent)
|
||||
{
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include <QQuickItem>
|
||||
#include "tokenparameter.h"
|
||||
|
||||
namespace UIUIQQC2Style {
|
||||
namespace UKUIQQC2Style {
|
||||
|
||||
class UKUITextFiled : public QQuickItem
|
||||
{
|
||||
|
@ -243,6 +243,6 @@ private:
|
|||
|
||||
};
|
||||
}
|
||||
QML_DECLARE_TYPEINFO(UIUIQQC2Style::UKUITextFiled, QML_HAS_ATTACHED_PROPERTIES)
|
||||
QML_DECLARE_TYPEINFO(UKUIQQC2Style::UKUITextFiled, QML_HAS_ATTACHED_PROPERTIES)
|
||||
|
||||
#endif // UKUITEXTFILED_H
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "ukuitooltip.h"
|
||||
#include "qdebug.h"
|
||||
|
||||
using namespace UIUIQQC2Style;
|
||||
using namespace UKUIQQC2Style;
|
||||
|
||||
UKUIToolTip::UKUIToolTip(QQuickItem *parent) : QQuickItem(parent)
|
||||
{
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include <QQuickItem>
|
||||
#include "tokenparameter.h"
|
||||
|
||||
namespace UIUIQQC2Style {
|
||||
namespace UKUIQQC2Style {
|
||||
|
||||
class UKUIToolTip : public QQuickItem
|
||||
{
|
||||
|
@ -103,6 +103,6 @@ private:
|
|||
|
||||
};
|
||||
}
|
||||
QML_DECLARE_TYPEINFO(UIUIQQC2Style::UKUIToolTip, QML_HAS_ATTACHED_PROPERTIES)
|
||||
QML_DECLARE_TYPEINFO(UKUIQQC2Style::UKUIToolTip, QML_HAS_ATTACHED_PROPERTIES)
|
||||
|
||||
#endif // UKUITOOLTIP_H
|
||||
|
|
|
@ -333,7 +333,6 @@ GlobalDTConfigPrivate::GlobalDTConfigPrivate()
|
|||
path + "k" + m_widgetThemeName + "-" + m_lightMode + ".css" :
|
||||
path + "k" + m_widgetThemeName + ".css";
|
||||
|
||||
m_ukui_dt_loadConfig = this->load("/usr/share/config/globaltheme/token/kfashion-light.css");
|
||||
this->initUKUIGlobalThemeParameters();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue