API — ICoreEssentials/UI/SettingsPanel
The public contract of 3 header(s) under src/ICoreEssentials/UI/SettingsPanel — 3 class/struct definition(s), 10 declaration(s). Each section shows the header's banner and its public (and protected-virtual) surface exactly as the file writes it.
| Header | Defines | Declarations | Bases |
|---|---|---|---|
ICoreSettingsEntryContainer.h | ICoreSettingsEntryContainer | 3 | public ICoreWidget |
ICoreSettingsPanelContainer.h | ICoreSettingsPanelContainer | 6 | public ICoreWidget |
ICoreSettingsSectionTItleLabel.h | ICoreSettingsSectionTItleLabel | 1 | public ICoreLabel |
ICoreSettingsEntryContainer.h#
src/ICoreEssentials/UI/SettingsPanel/ICoreSettingsEntryContainer.h
ICoreSettingsEntryContainer#
ICoreSettingsEntryContainer.h:7 · class · bases public ICoreWidget · pImpl · 3 declaration(s)
class ICoreSettingsEntryContainer : public ICoreWidget {
public:
explicit ICoreSettingsEntryContainer(ICoreNativeWidget* parent = nullptr);
void addWidget(ICoreNativeWidget *widget) const;
~ICoreSettingsEntryContainer() override;
private:
class Impl; // the two-line residue; state lives here
std::unique_ptr<Impl> impl;
};
ICoreSettingsPanelContainer.h#
src/ICoreEssentials/UI/SettingsPanel/ICoreSettingsPanelContainer.h
ICoreSettingsPanelContainer#
ICoreSettingsPanelContainer.h:9 · class · final · bases public ICoreWidget · pImpl · 6 declaration(s)
class ICoreSettingsPanelContainer final : public ICoreWidget {
public:
explicit ICoreSettingsPanelContainer(ICoreNativeWidget* parent = nullptr);
void addWidget(ICoreNativeWidget *widget) const;
void addSpacing(const int &spacing) const;
void addStretch() const;
~ICoreSettingsPanelContainer() override;
protected:
void paintContent(ICorePainter& painter) override;
private:
class Impl; // the two-line residue; state lives here
std::unique_ptr<Impl> impl;
};
ICoreSettingsSectionTItleLabel.h#
src/ICoreEssentials/UI/SettingsPanel/ICoreSettingsSectionTItleLabel.h
ICoreSettingsSectionTItleLabel#
ICoreSettingsSectionTItleLabel.h:9 · class · final · bases public ICoreLabel · pImpl · 1 declaration(s)
Q1.5: <QWidget> went with the constructor's parent parameter.
class ICoreSettingsSectionTItleLabel final : public ICoreLabel {
public:
// accented paints the title in the brand accent rather than body ink. The
// left fixed panel's rail turns it on: its sections stack directly on top of
// the buttons they name, with nothing but weight telling the two apart.
// Q1.5: the QWidget* twin is gone; this is the only parent spelling now.
ICoreSettingsSectionTItleLabel(ICoreNativeWidget* parent, const ICoreString& text,
bool accented = false);
// Still worth its own overload: with one pointer parameter left, a literal
// `nullptr` is an exact match here and needs no conversion ranking at all.
ICoreSettingsSectionTItleLabel(std::nullptr_t, const ICoreString& text,
bool accented = false);
~ICoreSettingsSectionTItleLabel() override;
private:
class Impl; // the two-line residue; state lives here
std::unique_ptr<Impl> impl;
};