Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
doc_src_linguist-manual.cpp
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
4
//! [3]
5
label->setText(tr(
"F\374r \310lise"
));
6
//! [3]
7
//! [4]
8
menuBar: MenuBar {
9
Menu {
10
title: qsTr(
"&File"
)
11
Action { text: qsTr(
"&New..."
) }
12
Action { text: qsTr(
"&Open..."
) }
13
Action { text: qsTr(
"&Save"
) }
14
Action { text: qsTr(
"Save &As..."
) }
15
MenuSeparator { }
16
Action { text: qsTr(
"&Quit"
) }
17
}
18
Menu {
19
title: qsTr(
"&Edit"
)
20
Action { text: qsTr(
"Cu&t"
) }
21
Action { text: qsTr(
"&Copy"
) }
22
Action { text: qsTr(
"&Paste"
) }
23
}
24
Menu {
25
title: qsTr(
"&Help"
)
26
Action { text: qsTr(
"&About"
) }
27
}
28
}
29
30
//! [4]
qttools
src
linguist
linguist
doc
snippets
doc_src_linguist-manual.cpp
Generated on Sat Sep 21 2024 00:50:43 for Qt by
1.12.0