37 lines
1.1 KiB
C++
37 lines
1.1 KiB
C++
/*
|
|
* Copyright (c) CompanyNameMagicTag 2021-2021. All rights reserved.
|
|
* Description: TipsConnFailMessageView view
|
|
* Author:
|
|
* Create: 2021-10-13
|
|
*/
|
|
#ifndef TIPS_CONN_FAIL_MESSAGE_VIEW_H
|
|
#define TIPS_CONN_FAIL_MESSAGE_VIEW_H
|
|
|
|
#include "components/ui_view_group.h"
|
|
#include "components/ui_label.h"
|
|
#include "components/ui_label_button.h"
|
|
#include "components/ui_image_view.h"
|
|
#include "bts_def.h"
|
|
|
|
namespace OHOS {
|
|
class TipsConnFailMessageView {
|
|
public:
|
|
TipsConnFailMessageView();
|
|
~TipsConnFailMessageView();
|
|
static TipsConnFailMessageView *GetInstance();
|
|
UIViewGroup *ShowUpViewInit(void);
|
|
void RefreshNameLabel(const bd_addr_t &bdAddr);
|
|
private:
|
|
void ShowUpButtonBack(void);
|
|
void ShowUpTipLabel(void);
|
|
void InitNameLabel(void);
|
|
UILabel *titleLabel{nullptr};
|
|
UILabel *tipLabel{nullptr};
|
|
UILabel *tipTwoLabel{nullptr};
|
|
UILabel *bluetoothNameLabel{nullptr};
|
|
UILabelButton *backButton{nullptr};
|
|
UIImageView *tipImg{nullptr};
|
|
UIViewGroup *group{nullptr};
|
|
};
|
|
} // namespace OHOS
|
|
#endif // TIPS_CONN_FAIL_MESSAGE_VIEW_H
|