Fix APP property typing
This commit is contained in:
@@ -95,13 +95,13 @@ void App_KeyboardPage::App_Func_CreateLayout()
|
||||
p_CardLayout->setSpacing(14);
|
||||
|
||||
QLabel* const p_Title = new QLabel(QStringLiteral("Keyboard"), p_Card);
|
||||
p_Title->setProperty("role", "title");
|
||||
p_Title->setProperty("role", QStringLiteral("title"));
|
||||
p_CardLayout->addWidget(p_Title);
|
||||
|
||||
QLabel* const p_Body = new QLabel(
|
||||
QStringLiteral("Start from one button, then grow into the whole keypad layout."),
|
||||
p_Card);
|
||||
p_Body->setProperty("role", "body");
|
||||
p_Body->setProperty("role", QStringLiteral("body"));
|
||||
p_Body->setWordWrap(true);
|
||||
p_CardLayout->addWidget(p_Body);
|
||||
|
||||
|
||||
@@ -26,13 +26,13 @@ App_SettingsPage::App_SettingsPage(QWidget* p_Parent)
|
||||
p_CardLayout->setSpacing(14);
|
||||
|
||||
QLabel* const p_Title = new QLabel(QStringLiteral("Settings"), p_Card);
|
||||
p_Title->setProperty("role", "title");
|
||||
p_Title->setProperty("role", QStringLiteral("title"));
|
||||
p_CardLayout->addWidget(p_Title);
|
||||
|
||||
QLabel* const p_Body = new QLabel(
|
||||
QStringLiteral("Use this page to present transport status and the latest function result."),
|
||||
p_Card);
|
||||
p_Body->setProperty("role", "body");
|
||||
p_Body->setProperty("role", QStringLiteral("body"));
|
||||
p_Body->setWordWrap(true);
|
||||
p_CardLayout->addWidget(p_Body);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user