Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 27 additions & 14 deletions qml/bitcoin_qml.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
<file>components/BitcoinAmountDisplayField.qml</file>
<file>components/BitcoinAmountInputField.qml</file>
<file>components/BlockClock.qml</file>
<file>components/BlockClockDisplayMode.qml</file>
<file>components/BlockCounter.qml</file>
<file>components/ConnectionOptions.qml</file>
<file>components/ConnectionSettings.qml</file>
<file>components/DebugLogOutputView.qml</file>
<file>components/DebugLogItemRow.qml</file>
<file>components/DebugLogTitlesHeader.qml</file>
<file>components/MempoolInformationRows.qml</file>
<file>components/DeveloperOptions.qml</file>
<file>components/ExternalSignerReviewActions.qml</file>
Expand All @@ -33,24 +33,26 @@
<file>components/OptionPopup.qml</file>
<file>components/PeersIndicator.qml</file>
<file>components/ProxySettings.qml</file>
<file>components/SettingsPageContainer.qml</file>
<file>components/SettingsRestartNotice.qml</file>
<file>components/SettingsSidebar.qml</file>
<file>components/SettingsView.qml</file>
<file>components/StorageLocations.qml</file>
<file>components/Separator.qml</file>
<file>components/StorageOptions.qml</file>
<file>components/StorageSettings.qml</file>
<file>components/ThemeSettings.qml</file>
<file>components/ToastBanner.qml</file>
<file>components/ToastPopup.qml</file>
<file>components/TotalBytesIndicator.qml</file>
<file>components/DetailEditRow.qml</file>
<file>components/PaymentDetailOptionsPopup.qml</file>
<file>components/QRCodePopup.qml</file>
<file>components/ReceiveOptionsPopup.qml</file>
<file>components/SearchBar.qml</file>
<file>components/Tooltip.qml</file>
<file>components/LabeledValueField.qml</file>
<file>components/MultipleRecipientsSummary.qml</file>
<file>components/SingleRecipientSummary.qml</file>
<file>components/WalletSettings.qml</file>
<file>components/WalletMigrationPopup.qml</file>
<file>components/WalletPassphrasePopup.qml</file>
<file>controls/AddWalletButton.qml</file>
Expand All @@ -68,11 +70,15 @@
<file>controls/EditableKeyValueRow.qml</file>
<file>controls/ExternalLink.qml</file>
<file>controls/FocusBorder.qml</file>
<file>controls/FormRow.qml</file>
<file>controls/FormSection.qml</file>
<file>controls/Header.qml</file>
<file>controls/Icon.qml</file>
<file>controls/IconButton.qml</file>
<file>controls/InformationPage.qml</file>
<file>controls/KeyValueRow.qml</file>
<file>controls/LinkRow.qml</file>
<file>controls/ListRow.qml</file>
<file>controls/LabeledTextInput.qml</file>
<file>controls/LabeledCoinControlButton.qml</file>
<file>controls/NavButton.qml</file>
Expand All @@ -83,7 +89,9 @@
<file>controls/OptionSwitch.qml</file>
<file>controls/OutlineButton.qml</file>
<file>controls/PageIndicator.qml</file>
<file>controls/PageHeading.qml</file>
<file>controls/PageStack.qml</file>
<file>controls/PopupPicker.qml</file>
<file>controls/ProgressIndicator.qml</file>
<file>controls/ProxyLocationInput.qml</file>
<file>controls/QRImage.qml</file>
Expand All @@ -93,23 +101,24 @@
<file>controls/SegmentedPicker.qml</file>
<file>controls/Setting.qml</file>
<file>controls/SettingsHeader.qml</file>
<file>controls/SettingsPage.qml</file>
<file>controls/Skeleton.qml</file>
<file>controls/SpinningIndicator.qml</file>
<file>controls/TextButton.qml</file>
<file>controls/TextFieldRow.qml</file>
<file>controls/Theme.qml</file>
<file>controls/ToggleButton.qml</file>
<file>controls/utils.js</file>
<file>controls/ValueInput.qml</file>
<file>controls/ValueRow.qml</file>
<file>controls/WalletTypeListItem.qml</file>
<file>pages/initerrormessage.qml</file>
<file>pages/MainWindow.qml</file>
<file>pages/preinit.qml</file>
<file>pages/node/BannedPeers.qml</file>
<file>pages/node/CommandConsole.qml</file>
<file>pages/node/NetworkTraffic.qml</file>
<file>pages/node/MempoolInformationSettings.qml</file>
<file>pages/node/NodeRunner.qml</file>
<file>pages/node/NodeSettings.qml</file>
<file>pages/node/Peers.qml</file>
<file>pages/node/PeerDetails.qml</file>
<file>pages/node/Shutdown.qml</file>
Expand All @@ -121,19 +130,24 @@
<file>pages/onboarding/OnboardingStrengthen.qml</file>
<file>pages/onboarding/OnboardingWizard.qml</file>
<file>pages/settings/SettingsAbout.qml</file>
<file>pages/settings/SettingsDisplayUnit.qml</file>
<file>pages/settings/SettingsLanguage.qml</file>
<file>pages/settings/SettingsWindowBehavior.qml</file>
<file>pages/settings/SettingsBlockClockDisplayMode.qml</file>
<file>pages/settings/SettingsConnection.qml</file>
<file>pages/settings/SettingsDebugLog.qml</file>
<file>pages/settings/SettingsDebugLogView.qml</file>
<file>pages/settings/SettingsDesignSystem.qml</file>
<file>pages/settings/SettingsDeveloper.qml</file>
<file>pages/settings/SettingsDisplay.qml</file>
<file>pages/settings/SettingsProxy.qml</file>
<file>pages/settings/SettingsWallet.qml</file>
<file>pages/settings/SettingsStorage.qml</file>
<file>pages/settings/SettingsTheme.qml</file>
<file>pages/settings/AboutSettingsPage.qml</file>
<file>pages/settings/ConnectionSettingsPage.qml</file>
<file>pages/settings/DisplaySettingsPage.qml</file>
<file>pages/settings/ExternalSignerSettingsPage.qml</file>
<file>pages/settings/MempoolSettingsPage.qml</file>
<file>pages/settings/NetworkTrafficSettingsPage.qml</file>
<file>pages/settings/ProxySettingsPage.qml</file>
<file>pages/settings/SettingsRpcConsoleView.qml</file>
<file>pages/settings/StorageSettingsPage.qml</file>
<file>pages/settings/WalletSectionPage.qml</file>
<file>pages/settings/WindowBehaviorSettingsPage.qml</file>
<file>pages/wallet/Activity.qml</file>
<file>pages/wallet/ActivityDetails.qml</file>
<file>pages/wallet/ActivityTransactionVisuals.qml</file>
Expand Down Expand Up @@ -163,7 +177,6 @@
<file>pages/wallet/SignVerifyMessage.qml</file>
<file>pages/wallet/WalletBadge.qml</file>
<file>pages/wallet/WalletPasswordSettings.qml</file>
<file>pages/wallet/WalletSettings.qml</file>
<file>pages/wallet/WalletSelect.qml</file>
</qresource>
<qresource prefix="/icons">
Expand Down
41 changes: 0 additions & 41 deletions qml/components/BlockClockDisplayMode.qml

This file was deleted.

99 changes: 99 additions & 0 deletions qml/components/DebugLogItemRow.qml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
// Copyright (c) 2026 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15

import "../controls"

Control {
id: root

property string timestamp: ""
property string message: ""
property bool isError: false
property bool isWarning: false
property bool alternate: false

property int typeColumnWidth: 32
property int timeColumnWidth: 80

readonly property color indicatorColor: isError
? Theme.color.red
: isWarning ? Theme.color.amber : "transparent"
readonly property string typeLabel: isError
? qsTr("Error")
: isWarning ? qsTr("Warning") : qsTr("Regular")

Accessible.role: Accessible.ListItem
Accessible.name: typeLabel + " " + timestamp + " " + message

implicitHeight: Math.max(48, messageText.contentHeight + 24)
padding: 0

background: Rectangle {
color: root.alternate ? Theme.color.neutral2 : Theme.color.neutral1

Behavior on color { ColorAnimation { duration: 150 } }
}

contentItem: RowLayout {
spacing: 0

Item { Layout.preferredWidth: 12 }

Item {
Layout.preferredWidth: root.typeColumnWidth
Layout.fillHeight: true

Rectangle {
id: typeIndicator
objectName: root.objectName.length > 0 ? root.objectName + "TypeIndicator" : ""
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
width: 8
height: 8
radius: width / 2
color: root.indicatorColor
}
}

CoreText {
id: timeText
objectName: root.objectName.length > 0 ? root.objectName + "Time" : ""
text: root.timestamp.length > 0 ? root.timestamp : "—"
color: Theme.color.neutral7
font.family: Theme.text.monoFamily
font.pixelSize: 11
horizontalAlignment: Text.AlignLeft
elide: Text.ElideRight
Layout.preferredWidth: root.timeColumnWidth
Layout.alignment: Qt.AlignTop
Layout.topMargin: 14
}

TextEdit {
id: messageText
objectName: root.objectName.length > 0 ? root.objectName + "Message" : ""
text: root.message
readOnly: true
selectByMouse: true
persistentSelection: false
textFormat: Text.PlainText
wrapMode: Text.WrapAnywhere
color: Theme.color.neutral9
selectionColor: Theme.color.orange
selectedTextColor: Theme.color.white
font: Theme.text.monoCaption.font
horizontalAlignment: Text.AlignLeft
Layout.fillWidth: true
Layout.minimumWidth: 0
Layout.alignment: Qt.AlignTop
Layout.topMargin: 14
}

Item { Layout.preferredWidth: 16 }
}
}
Loading
Loading