You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nmWTAI-Platform/Include/mGui/mGuiSysManager/iWxSolidCard.h

58 lines
1.3 KiB
C++

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#pragma once
#include <QWidget>
#include "mModuleDefines.h"
#include "mGuiSysManager_global.h"
// 对应 E:/Run/mWTAI/Bin/TestOfWTAI
#define s_card_tag_dir "WTAI_Proj_Dir"
// 对应 TestDemo3
#define s_card_tag_proj "WTAI_Proj_Name"
// Object Name注意改动时需要搜索一下因为可能涉及css
#define s_card_object_new "newCardObj"
// Object Name注意改动时需要搜索一下因为可能涉及css
#define s_card_object_normal "normalCardObj"
// Object Name打开的标识Label
#define s_card_object_mark "labelOpenMark"
// Object NameTitle
#define s_card_object_title "labelCardTitle"
// Object Wel&Rst
#define s_card_object_WelRst "labelCardWelRst"
#define s_card_object_Wel "labelCardWel"
#define s_card_object_Rst "labelCardRst"
#define s_card_object_Count "labelCardCount"
// Object NameButtons
#define s_card_object_btn_open "labelCardBtnOpen"
#define s_card_object_btn_saveas "labelCardBtnSaveAs"
#define s_card_object_btn_close "labelCardBtnClose"
#define s_card_object_btn_delete "labelCardBtnDelete"
// 选项Card立体
class M_GUI_SYSMANAGER_EXPORT iWxSolidCard : public QWidget
{
public:
iWxSolidCard(QWidget *parent = 0, bool bSolidMode = true);
void setActive(bool bActive);
bool isActive() { return m_bActive; }
protected:
void paintEvent(QPaintEvent *event);
protected:
bool m_bActive;
bool m_bSolidMode; //是否启用立体模式
};