Changeset View
Changeset View
Standalone View
Standalone View
src/qml/AboutDialog.qml
Show First 20 Lines • Show All 130 Lines • ▼ Show 20 Line(s) | 127 | QQC2.Label { | |||
---|---|---|---|---|---|
131 | visible: applicationData.reportBugs !== "" | 131 | visible: applicationData.reportBugs !== "" | ||
132 | text: applicationData.reportBugs | 132 | text: applicationData.reportBugs | ||
133 | wrapMode: QQC2.Label.Wrap | 133 | wrapMode: QQC2.Label.Wrap | ||
134 | textFormat: Qt.RichText | 134 | textFormat: Qt.RichText | ||
135 | onLinkActivated: { | 135 | onLinkActivated: { | ||
136 | aboutDialog.openurl(link); | 136 | aboutDialog.openurl(link); | ||
137 | } | 137 | } | ||
138 | } | 138 | } | ||
139 | QQC2.ScrollView { | 139 | PersonsListView { | ||
140 | anchors.top: reportBugsLink.bottom | 140 | anchors.top: reportBugsLink.bottom | ||
141 | anchors.topMargin: Kirigami.Units.largeSpacing | | |||
142 | anchors.bottom: parent.bottom | 141 | anchors.bottom: parent.bottom | ||
143 | anchors.left: parent.left | 142 | anchors.left: parent.left | ||
144 | anchors.right: parent.right | 143 | anchors.right: parent.right | ||
145 | anchors.leftMargin: Kirigami.Units.largeSpacing | 144 | anchors.margins: Kirigami.Units.largeSpacing | ||
146 | anchors.rightMargin: Kirigami.Units.largeSpacing | 145 | personsModel: applicationData.authorModel | ||
147 | | ||||
148 | contentHeight: authorsColumn.height | | |||
149 | contentWidth: width | | |||
150 | | ||||
151 | ColumnLayout { | | |||
152 | Layout.fillHeight: true | | |||
153 | Layout.fillWidth: true | | |||
154 | Layout.topMargin: Kirigami.Units.smallSpacing | | |||
155 | spacing: Kirigami.Units.largeSpacing | | |||
156 | | ||||
157 | Column { | | |||
158 | id: authorsColumn | | |||
159 | spacing: Kirigami.Units.largeSpacing | | |||
160 | height: childrenRect.height | | |||
161 | | ||||
162 | Repeater { | | |||
163 | id: authorList | | |||
164 | model: applicationData.authorModel | | |||
165 | | ||||
166 | Column { | | |||
167 | id: authorItem | | |||
168 | spacing: Kirigami.Units.smallSpacing | | |||
169 | QQC2.Label { | | |||
170 | text: "<b>" + model.username + "</b>" | | |||
171 | wrapMode: QQC2.Label.Wrap | | |||
172 | horizontalAlignment: Text.AlignHCenter | | |||
173 | renderType: Text.NativeRendering | | |||
174 | textFormat: Text.RichText | | |||
175 | font.bold: true | | |||
176 | } | | |||
177 | QQC2.Label { | | |||
178 | text: "<i>" + model.task + "<i>" | | |||
179 | wrapMode: QQC2.Label.Wrap | | |||
180 | renderType: Text.NativeRendering | | |||
181 | textFormat: Text.RichText | | |||
182 | } | | |||
183 | QQC2.Label { | | |||
184 | text: model.email | | |||
185 | wrapMode: QQC2.Label.Wrap | | |||
186 | renderType: Text.NativeRendering | | |||
187 | textFormat: Text.RichText | | |||
188 | onLinkActivated: { | | |||
189 | aboutDialog.openurl(link); | | |||
190 | } | | |||
191 | } | | |||
192 | } | | |||
193 | } | | |||
194 | } | | |||
195 | } | | |||
196 | } | 146 | } | ||
197 | } | 147 | } | ||
198 | Item { | 148 | Item { | ||
199 | id: thanksToTab | 149 | id: thanksToTab | ||
200 | ColumnLayout { | 150 | ColumnLayout { | ||
201 | Layout.fillHeight: true | 151 | Layout.fillHeight: true | ||
202 | Layout.fillWidth: true | 152 | Layout.fillWidth: true | ||
203 | Layout.topMargin: Kirigami.Units.smallSpacing | 153 | Layout.topMargin: Kirigami.Units.smallSpacing | ||
▲ Show 20 Lines • Show All 106 Lines • Show Last 20 Lines |