mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-10-12 11:06:16 -04:00
Added sim contacts import selector UI part. Fixed BoxLayout focusChangedCallback. Fixed SetFont redraw. Refactored Check and CheckWithLabel widgets.
30 lines
989 B
C++
30 lines
989 B
C++
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#pragma once
|
|
|
|
#include <application-settings/windows/BaseSettingsWindow.hpp>
|
|
#include <application-settings/presenter/network/SimContactsImportWindowPresenter.hpp>
|
|
#include <application-settings/models/network/SimContactsImportModel.hpp>
|
|
|
|
namespace gui
|
|
{
|
|
class SimContactsImportWindow : public AppWindow, public SimContactsImportWindowContract::View
|
|
{
|
|
|
|
public:
|
|
SimContactsImportWindow(app::Application *app,
|
|
std::unique_ptr<SimContactsImportWindowContract::Presenter> presenter);
|
|
|
|
private:
|
|
ListView *list = nullptr;
|
|
|
|
void buildInterface() override;
|
|
void onBeforeShow(ShowMode mode, SwitchData *data) override;
|
|
void onClose(CloseReason reason) override;
|
|
|
|
std::shared_ptr<SimContactsImportWindowPresenter::Presenter> presenter;
|
|
};
|
|
|
|
} // namespace gui
|