Rename dialogs

This commit is contained in:
tobtoht 2021-06-27 13:46:32 +02:00
parent 8536db160d
commit 1afa06af91
No known key found for this signature in database
GPG key ID: 1CADD27F41F45C3C
76 changed files with 215 additions and 74 deletions

View file

@ -3,8 +3,8 @@
#include "WindowManager.h" #include "WindowManager.h"
#include "constants.h" #include "constants.h"
#include "dialog/passworddialog.h" #include "dialog/PasswordDialog.h"
#include "dialog/splashdialog.h" #include "dialog/SplashDialog.h"
#include "utils/WebsocketNotifier.h" #include "utils/WebsocketNotifier.h"
#include "utils/os/tails.h" #include "utils/os/tails.h"
#include "utils/Icons.h" #include "utils/Icons.h"

View file

@ -8,7 +8,7 @@
#include "libwalletqt/WalletManager.h" #include "libwalletqt/WalletManager.h"
#include "libwalletqt/Wallet.h" #include "libwalletqt/Wallet.h"
#include "wizard/WalletWizard.h" #include "wizard/WalletWizard.h"
#include "dialog/torinfodialog.h" #include "dialog/TorInfoDialog.h"
#include "mainwindow.h" #include "mainwindow.h"
class MainWindow; class MainWindow;

View file

@ -3,8 +3,8 @@
#include "coinswidget.h" #include "coinswidget.h"
#include "ui_coinswidget.h" #include "ui_coinswidget.h"
#include "dialog/outputinfodialog.h" #include "dialog/OutputInfoDialog.h"
#include "dialog/outputsweepdialog.h" #include "dialog/OutputSweepDialog.h"
#include "mainwindow.h" #include "mainwindow.h"
#include "utils/Icons.h" #include "utils/Icons.h"

View file

@ -3,7 +3,7 @@
#include "contactswidget.h" #include "contactswidget.h"
#include "ui_contactswidget.h" #include "ui_contactswidget.h"
#include "dialog/contactsdialog.h" #include "dialog/ContactsDialog.h"
#include "model/ModelUtils.h" #include "model/ModelUtils.h"
#include "mainwindow.h" #include "mainwindow.h"
#include "libwalletqt/AddressBook.h" #include "libwalletqt/AddressBook.h"

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project. // Copyright (c) 2020-2021, The Monero Project.
#include "aboutdialog.h" #include "AboutDialog.h"
#include "ui_aboutdialog.h" #include "ui_AboutDialog.h"
#include "utils/utils.h" #include "utils/utils.h"
#include "config-feather.h" #include "config-feather.h"

View file

@ -0,0 +1,139 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>AddressInfoDialog</class>
<widget class="QDialog" name="AddressInfoDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>520</width>
<height>310</height>
</rect>
</property>
<property name="windowTitle">
<string>Address</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Address:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="line_address">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>Public view key:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="line_publicViewKey">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>Public spend key:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="line_publicSpendKey">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_4">
<property name="text">
<string>Subaddress index:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="line_subaddressIndex">
<property name="minimumSize">
<size>
<width>500</width>
<height>0</height>
</size>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>AddressInfoDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>AddressInfoDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project. // Copyright (c) 2020-2021, The Monero Project.
#include "balancedialog.h" #include "BalanceDialog.h"
#include "ui_balancedialog.h" #include "ui_BalanceDialog.h"
#include "libwalletqt/WalletManager.h" #include "libwalletqt/WalletManager.h"

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project. // Copyright (c) 2020-2021, The Monero Project.
#include "broadcasttxdialog.h" #include "BroadcastTxDialog.h"
#include "ui_broadcasttxdialog.h" #include "ui_BroadcastTxDialog.h"
#include "utils/NetworkManager.h" #include "utils/NetworkManager.h"
#include <QMessageBox> #include <QMessageBox>

View file

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project. // Copyright (c) 2020-2021, The Monero Project.
#include "ui_contactsdialog.h" #include "ui_ContactsDialog.h"
#include "contactsdialog.h" #include "ContactsDialog.h"
ContactsDialog::ContactsDialog(QWidget *parent, const QString &address, const QString &name) ContactsDialog::ContactsDialog(QWidget *parent, const QString &address, const QString &name)
: QDialog(parent) : QDialog(parent)

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project. // Copyright (c) 2020-2021, The Monero Project.
#include "debuginfodialog.h" #include "DebugInfoDialog.h"
#include "ui_debuginfodialog.h" #include "ui_DebugInfoDialog.h"
#include "config-feather.h" #include "config-feather.h"
#include "utils/WebsocketClient.h" #include "utils/WebsocketClient.h"
#include "utils/TorManager.h" #include "utils/TorManager.h"

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project. // Copyright (c) 2020-2021, The Monero Project.
#include "keysdialog.h" #include "KeysDialog.h"
#include "ui_keysdialog.h" #include "ui_KeysDialog.h"
KeysDialog::KeysDialog(QSharedPointer<AppContext> ctx, QWidget *parent) KeysDialog::KeysDialog(QSharedPointer<AppContext> ctx, QWidget *parent)
: QDialog(parent) : QDialog(parent)

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project. // Copyright (c) 2020-2021, The Monero Project.
#include "outputinfodialog.h" #include "OutputInfoDialog.h"
#include "ui_outputinfodialog.h" #include "ui_OutputInfoDialog.h"
#include "model/ModelUtils.h" #include "model/ModelUtils.h"
#include "utils/utils.h" #include "utils/utils.h"

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project. // Copyright (c) 2020-2021, The Monero Project.
#include "ui_outputsweepdialog.h" #include "OutputSweepDialog.h"
#include "outputsweepdialog.h" #include "ui_OutputSweepDialog.h"
#include "libwalletqt/WalletManager.h" #include "libwalletqt/WalletManager.h"
OutputSweepDialog::OutputSweepDialog(QWidget *parent, CoinsInfo* coin) OutputSweepDialog::OutputSweepDialog(QWidget *parent, CoinsInfo* coin)

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project. // Copyright (c) 2020-2021, The Monero Project.
#include "passwordchangedialog.h" #include "PasswordChangeDialog.h"
#include "ui_passwordchangedialog.h" #include "ui_PasswordChangeDialog.h"
#include <QMessageBox> #include <QMessageBox>

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project. // Copyright (c) 2020-2021, The Monero Project.
#include "passworddialog.h" #include "PasswordDialog.h"
#include "ui_passworddialog.h" #include "ui_PasswordDialog.h"
#include "utils/Icons.h" #include "utils/Icons.h"
PasswordDialog::PasswordDialog(const QString &walletName, bool incorrectPassword, QWidget *parent) PasswordDialog::PasswordDialog(const QString &walletName, bool incorrectPassword, QWidget *parent)

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project. // Copyright (c) 2020-2021, The Monero Project.
#include "qrcodedialog.h" #include "QrCodeDialog.h"
#include "ui_qrcodedialog.h" #include "ui_QrCodeDialog.h"
#include <QClipboard> #include <QClipboard>
#include <QFileDialog> #include <QFileDialog>

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project. // Copyright (c) 2020-2021, The Monero Project.
#include "ui_seeddialog.h" #include "ui_SeedDialog.h"
#include "seeddialog.h" #include "SeedDialog.h"
#include "constants.h" #include "constants.h"
SeedDialog::SeedDialog(QSharedPointer<AppContext> ctx, QWidget *parent) SeedDialog::SeedDialog(QSharedPointer<AppContext> ctx, QWidget *parent)

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project. // Copyright (c) 2020-2021, The Monero Project.
#include "signverifydialog.h" #include "SignVerifyDialog.h"
#include "ui_signverifydialog.h" #include "ui_SignVerifyDialog.h"
#include "utils/utils.h" #include "utils/utils.h"
#include <QMessageBox> #include <QMessageBox>

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project. // Copyright (c) 2020-2021, The Monero Project.
#include "splashdialog.h" #include "SplashDialog.h"
#include "ui_splashdialog.h" #include "ui_SplashDialog.h"
#include "utils/Icons.h" #include "utils/Icons.h"
SplashDialog::SplashDialog(QWidget *parent) SplashDialog::SplashDialog(QWidget *parent)

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project. // Copyright (c) 2020-2021, The Monero Project.
#include "torinfodialog.h" #include "TorInfoDialog.h"
#include "ui_torinfodialog.h" #include "ui_TorInfoDialog.h"
#include <QPushButton> #include <QPushButton>
#include <QDesktopServices> #include <QDesktopServices>

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project. // Copyright (c) 2020-2021, The Monero Project.
#include "transactioninfodialog.h" #include "TransactionInfoDialog.h"
#include "ui_transactioninfodialog.h" #include "ui_TransactionInfoDialog.h"
#include "libwalletqt/CoinsInfo.h" #include "libwalletqt/CoinsInfo.h"
#include "libwalletqt/WalletManager.h" #include "libwalletqt/WalletManager.h"

View file

@ -1,10 +1,11 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project. // Copyright (c) 2020-2021, The Monero Project.
#include "txconfadvdialog.h" #include "TxConfAdvDialog.h"
#include "ui_txconfadvdialog.h" #include "ui_TxConfAdvDialog.h"
#include "qrcode/QrCode.h" #include "qrcode/QrCode.h"
#include "dialog/qrcodedialog.h" #include "dialog/QrCodeDialog.h"
#include "libwalletqt/Transfer.h" #include "libwalletqt/Transfer.h"
#include "libwalletqt/Input.h" #include "libwalletqt/Input.h"
#include "model/ModelUtils.h" #include "model/ModelUtils.h"

View file

@ -1,16 +1,17 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project. // Copyright (c) 2020-2021, The Monero Project.
#include "txconfdialog.h" #include "TxConfDialog.h"
#include "ui_txconfdialog.h" #include "ui_TxConfDialog.h"
#include <QMessageBox>
#include "model/ModelUtils.h" #include "model/ModelUtils.h"
#include "txconfadvdialog.h" #include "TxConfAdvDialog.h"
#include "constants.h" #include "constants.h"
#include "utils/AppData.h" #include "utils/AppData.h"
#include "utils/ColorScheme.h" #include "utils/ColorScheme.h"
#include <QMessageBox>
TxConfDialog::TxConfDialog(QSharedPointer<AppContext> ctx, PendingTransaction *tx, const QString &address, const QString &description, QWidget *parent) TxConfDialog::TxConfDialog(QSharedPointer<AppContext> ctx, PendingTransaction *tx, const QString &address, const QString &description, QWidget *parent)
: QDialog(parent) : QDialog(parent)
, ui(new Ui::TxConfDialog) , ui(new Ui::TxConfDialog)

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project. // Copyright (c) 2020-2021, The Monero Project.
#include "tximportdialog.h" #include "TxImportDialog.h"
#include "ui_tximportdialog.h" #include "ui_TxImportDialog.h"
#include "utils/NetworkManager.h" #include "utils/NetworkManager.h"
#include <QMessageBox> #include <QMessageBox>

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project. // Copyright (c) 2020-2021, The Monero Project.
#include "verifyproofdialog.h" #include "VerifyProofDialog.h"
#include "ui_verifyproofdialog.h" #include "ui_VerifyProofDialog.h"
#include "libwalletqt/WalletManager.h" #include "libwalletqt/WalletManager.h"
#include "utils/utils.h" #include "utils/utils.h"

View file

@ -5,8 +5,8 @@
#include <QInputDialog> #include <QInputDialog>
#include <QMessageBox> #include <QMessageBox>
#include "viewonlydialog.h" #include "ViewOnlyDialog.h"
#include "ui_viewonlydialog.h" #include "ui_ViewOnlyDialog.h"
ViewOnlyDialog::ViewOnlyDialog(QSharedPointer<AppContext> ctx, QWidget *parent) ViewOnlyDialog::ViewOnlyDialog(QSharedPointer<AppContext> ctx, QWidget *parent)
: QDialog(parent) : QDialog(parent)

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project. // Copyright (c) 2020-2021, The Monero Project.
#include "walletinfodialog.h" #include "WalletInfoDialog.h"
#include "ui_walletinfodialog.h" #include "ui_WalletInfoDialog.h"
#include <QDesktopServices> #include <QDesktopServices>

View file

@ -3,7 +3,7 @@
#include "historywidget.h" #include "historywidget.h"
#include "ui_historywidget.h" #include "ui_historywidget.h"
#include "dialog/transactioninfodialog.h" #include "dialog/TransactionInfoDialog.h"
#include "dialog/TxProofDialog.h" #include "dialog/TxProofDialog.h"
#include "utils/Icons.h" #include "utils/Icons.h"
#include "utils/config.h" #include "utils/config.h"

View file

@ -8,16 +8,16 @@
#include "ui_mainwindow.h" #include "ui_mainwindow.h"
#include "config-feather.h" #include "config-feather.h"
#include "dialog/txconfdialog.h" #include "dialog/TxConfDialog.h"
#include "dialog/txconfadvdialog.h" #include "dialog/TxConfAdvDialog.h"
#include "dialog/debuginfodialog.h" #include "dialog/DebugInfoDialog.h"
#include "dialog/walletinfodialog.h" #include "dialog/WalletInfoDialog.h"
#include "dialog/torinfodialog.h" #include "dialog/TorInfoDialog.h"
#include "dialog/viewonlydialog.h" #include "dialog/ViewOnlyDialog.h"
#include "dialog/broadcasttxdialog.h" #include "dialog/BroadcastTxDialog.h"
#include "dialog/tximportdialog.h" #include "dialog/TxImportDialog.h"
#include "dialog/passworddialog.h" #include "dialog/PasswordDialog.h"
#include "dialog/balancedialog.h" #include "dialog/BalanceDialog.h"
#include "dialog/WalletCacheDebugDialog.h" #include "dialog/WalletCacheDebugDialog.h"
#include "dialog/UpdateDialog.h" #include "dialog/UpdateDialog.h"
#include "dialog/AccountSwitcherDialog.h" #include "dialog/AccountSwitcherDialog.h"

View file

@ -14,15 +14,15 @@
#include "calcwindow.h" #include "calcwindow.h"
#include "settings.h" #include "settings.h"
#include "dialog/aboutdialog.h" #include "dialog/AboutDialog.h"
#include "dialog/signverifydialog.h" #include "dialog/SignVerifyDialog.h"
#include "dialog/verifyproofdialog.h" #include "dialog/VerifyProofDialog.h"
#include "dialog/seeddialog.h" #include "dialog/SeedDialog.h"
#include "dialog/passwordchangedialog.h" #include "dialog/PasswordChangeDialog.h"
#include "dialog/keysdialog.h" #include "dialog/KeysDialog.h"
#include "dialog/aboutdialog.h" #include "dialog/AboutDialog.h"
#include "dialog/RestoreHeightDialog.h" #include "dialog/RestoreHeightDialog.h"
#include "dialog/splashdialog.h" #include "dialog/SplashDialog.h"
#include "libwalletqt/Wallet.h" #include "libwalletqt/Wallet.h"
#include "model/SubaddressModel.h" #include "model/SubaddressModel.h"
#include "model/SubaddressProxyModel.h" #include "model/SubaddressProxyModel.h"

View file

@ -4,7 +4,7 @@
#include "ui_receivewidget.h" #include "ui_receivewidget.h"
#include "receivewidget.h" #include "receivewidget.h"
#include "model/ModelUtils.h" #include "model/ModelUtils.h"
#include "dialog/qrcodedialog.h" #include "dialog/QrCodeDialog.h"
#include "utils/Icons.h" #include "utils/Icons.h"
#include <QMenu> #include <QMenu>