導覽
Breadcrumb 麵包屑導覽
顯示前往目前位置的階層路徑,並讓使用者返回上層。
範例
屬性預覽載入失敗。請再次點選屬性預覽重試。

用法
BreadcrumbSize
Standard 使用精簡的 20 px 列高;Large 使用 40 px 列高與較大的項目內距。
#include <FluentQt/Navigation.h>
using namespace fluent::navigation;
const QStringList path{"Home", "Documents", "Images"};
auto* standard = new Breadcrumb(this);
standard->setItems(path);
standard->setBreadcrumbSize(Breadcrumb::BreadcrumbSize::Standard);
standard->setFixedHeight(20);
auto* large = new Breadcrumb(this);
large->setItems(path);
large->setBreadcrumbSize(Breadcrumb::BreadcrumbSize::Large);
large->setFixedHeight(40);import fluentqt
path = ["Home", "Documents", "Images"]
standard = fluentqt.Breadcrumb()
standard.setItems(path)
standard.setBreadcrumbSize(fluentqt.Breadcrumb.BreadcrumbSize.Standard)
standard.setFixedHeight(20)
large = fluentqt.Breadcrumb()
large.setItems(path)
large.setBreadcrumbSize(fluentqt.Breadcrumb.BreadcrumbSize.Large)
large.setFixedHeight(40)API
檢視宣告沒有符合的 API 成員。