Files
iDescriptor/src/creddialog.h
T
uncor3 da559349e8 fix bugs & add new dialogs
- Introduced `CredDialog` to prompt users for access to secure backends (Windows Credential Manager or Secret Service).
- Integrated `CredDialog` into `AppsWidget` initialization flow, allowing users to skip signing in.
- Updated `SettingsManager` to manage user preferences for showing the keychain dialog.
- Enhanced `DevDiskManager` and related classes to utilize a new method for creating device disk image paths.
- Refactored `VirtualLocation` to support saving and displaying recent locations.
- Improved UI responsiveness and layout adjustments across various widgets.
- Cleaned up unused code and comments for better maintainability.
2025-11-10 01:01:20 +00:00

53 lines
1.4 KiB
C++

/*
* iDescriptor: A free and open-source idevice management tool.
*
* Copyright (C) 2025 Uncore <https://github.com/uncor3>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef CRED_DIALOG_H
#define CRED_DIALOG_H
#include <QCheckBox>
#include <QDialog>
#include <QLabel>
#include <QPushButton>
#include <QVBoxLayout>
class CredDialog : public QDialog
{
Q_OBJECT
public:
explicit CredDialog(QWidget *parent = nullptr);
~CredDialog();
private slots:
void onOkClicked();
void onSkipSigningInClicked();
private:
void setupUI();
QVBoxLayout *m_mainLayout;
QPushButton *m_okButton;
QPushButton *m_skipSigningInButton;
QLabel *m_titleLabel;
QLabel *m_descriptionLabel;
QCheckBox *m_dontShowAgainCheckbox;
};
#endif // CRED_DIALOG_H