/*
* Copyright (C) 2012 Felix Geyer
* Copyright (C) 2017 KeePassXC Team
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 or (at your option)
* version 3 of the License.
*
* 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#include "AboutDialog.h"
#include "ui_AboutDialog.h"
#include "config-keepassx.h"
#include "core/Tools.h"
#include "crypto/Crypto.h"
#include "gui/Icons.h"
#include
static const QString aboutMaintainers = R"(
)";
static const QString aboutContributors = R"(
VIP Patreon Supporters:
- Sergey Vilgelm
- Victor Engmark
- NarwhalOfAges
- No Name
- SG
- Riley Moses
- Esteban Martinez
- Marc Morocutti
- Zivix
- Benedikt Heine
- Hugo Locurcio
- William Petrides
- Gunar Gessner
- Christian Wittenhorst
- Matt Cardarelli
- Paul Ammann
- Steve Isom
- GodSpell
- Lionel Laské
- Daniel Epp
- Oleksii Aleksieiev
- Julian Stier
- Ruben Schade
- Bernhard
- Wojciech Kozlowski
- Caleb Currie
- Morgan Courbet
- Kyle Kneitinger
- Chris Sohns
- Shmavon Gazanchyan
- xjdwc
- Igor Zinovik
- Jeff
- Max Andersen
- super scampy
- Mischa Peters
- Rainer-Maria Fritsch
- Micha Ober
- Ivan Gromov
- Joshua Go
- pancakeplant
- Hans-Joachim Forker
- Nicolas Vandemaele
- Saturnio
- Robert Schaffar-Taurok
- Mike
- Thomas Renz
- Toby Cline
- Emre Dessoi
- Michael Babnick
- kernellinux
- Patrick Evans
- Marco
- Jeremy Rubin
- Korbi
- andreas
- Tyche's tidings
- Daniel Kuebler
- Brandon Corujo
- AheroX
- Alexandre G
- AshinaGa
- BYTEBOLT
- CEH
- Chris Stone
- Christof Böckler
- Claude
- CzLer
- Daniel Burridge
- dark
- Dave G
- David Bowers
- dickv
- fp4
- Huser IT Solutions GmbH
- irf
- Isaiah Rahmany
- JackNYC
- Jacob Emmert-Aronson
- John Donadeo
- Kosta Medinsky
- leinad987
- Lux
- marek
- mattlongname
- mattock
- Max Christian Pohle
- nta/norma
- picatsv
- proto
- Raymond Lau
- Waido
- Weinmann Willy
- WildMage
VIP GitHub Sponsors:
- mercedes-benz
- tiangolo
- mrniko
- rszamszur
Notable Code Contributions:
- droidmonkey
- phoerious
- varjolintu (Browser Integration)
- louib (CLI)
- hifi (SSH Agent)
- xvallspl (Tags)
- Aetf (FdoSecrets Storage Server)
- smlu (Visual Studio support)
- ckieschnick (KeeShare)
- seatedscribe (CSV Import)
- weslly (macOS improvements)
- brainplot (many improvements)
- kneitinger (many improvements)
- frostasm (many improvements)
- libklein (many improvements)
- w15eacre (many improvements)
- fonic (Entry Table View)
- kylemanna (YubiKey)
- c4rlo (Offline HIBP Checker)
- wolframroesler (HTML Export, Statistics, Password Health, HIBP integration)
- mdaniel (OpVault Importer)
- angelsl (KDBX 4)
- TheZ3ro (retired lead)
- debfx (KeePassX)
- BlueIce (KeePassX)
Patreon Supporters:
- Shintaro Matsushima
- Paul Ellenbogen
- John C
- Markus
- Crimson Idol
- Steven
- Ellie
- Anthony Avina
- PlushElderGod
- zapscribe
- Christopher Hillenbrand
- Dave Jones
- Brett
- Ralph Azucena
- Florian
- Kristoffer Winther Balling
- Peter Link
- David S H Rosenthal
- Michael Soares
- Vlad Didenko
- henloo
- Erik Rigtorp
- Barry McKenzie
- Sebastian van der Est
- J.C. Polanycia
- Peter Upfold
- Josh Yates-Walker
- Adam
- HJ
- bjorndown
- Tony Wang
- Nol Aders
- Dirk Bergstrom
- proco
- Philipp Baderschneider
- Neša
- Dimitris Kogias
- Robin Hellsten
- Scott Williams
- klepto68
- Uwe S.
- codiflow
- eugene
- Anton Fisher
- David Daly
- Crispy_Steak
- Cilestin
- Benjamin
- Daniel Lakeland
- erinacio
- Leo
- Payton
- Saicxs
- Gorund O
- Tony G
- Simonas S.
- LordKnoppers
- Fabien Duchaussois
- Tim Bahnes
- Aleksei Gusev
- J Hanssen
- schoepp
- Klaus
- Eric
- Griffondale
- Andy D
- YAMAMOTO Yuji
- elmiko
- David
- Nate Wynd
- Nicolas
- magila
- Bryan Fisher
- Mark Nicholson
- Asperatus
- Patrick Buchan-Hepburn
- Richárd Faragó
- David Koch
- cheese_cake
- duke_money
- lund
- Ivana Kellyer
- Skullzam
- Chris Bier
- Gustavo
- Henning_IdB
- Edd
- Net
- Sergei Slipchenko
- Amanita
- Gaara
- Max
- 5h4d3
- James Taylor
- Alexei Bond
- cck
- David L
- devNull
- Erica
- Matthew O
- Druggo Yang
- Eric Stokes
GitHub Sponsors:
Translations:
- Arabic: kmutahar
- Chinese (Simplified): Biggulu, Brandon_c, hoilc, ligyxy, Small_Ku, umi_neko, vc5
- Chinese (Traditional): BestSteve, flachesis, MiauLightouch, Small_Ku, yan12125, ymhuang0808
- Czech: DanielMilde, pavelb, tpavelek
- English (United Kingdom): YCMHARHZ
- English (United States): alexandercrice, DarkHolme, nguyenlekhtn
- Finnish: artnay, hif1, MawKKe, varjolintu
- German: antsas, BasicBaer, Calyrx, codejunky, DavidHamburg, eth0, for1real, jensrutschmann,
joe776, kflesch, marcbone, MarcEdinger, mcliquid, mfernau77, montilo, nursoda, omnisome4, origin_de, pcrcoding,
rgloor, vlenzer, waster, Wyrrrd
- Greek: magkopian, nplatis, tassos.b, xinomilo
- Hungarian: bubu, meskobalazs, urbalazs
- Indonesian: zk
- Italian: amaxis, duncanmid, FranzMari, lucaim, NITAL, Peo, tosky, VosaxAlo
- Japanese: masoo, p2635, Shinichirou_Yamada, vmemjp, yukinakato
- Korean: cancantun, peremen
- Lithuanian: Moo
- Norwegian Bokmål: eothred, haarek, torgeirf
- Polish: keypress, mrerexx, psobczak
- Portuguese (Brazil): danielbibit, fabiom, flaviobn, newmanisaac, vitor895, weslly
- Portuguese (Portugal): a.santos, American_Jesus, hds, lmagomes, smarquespt
- Romanian: alexminza
- Russian: _nomoretears_, agag11507, alexminza, anm, artemkonenko, denoos, KekcuHa, Mogost,
netforhack, NetWormKido, RKuchma, ShareDVI, talvind, VictorR2007, vsvyatski, wkill95
- Serbian: ArtBIT
- Swedish: Anders_Bergqvist, henziger, jpyllman, peron, Thelin
- Turkish: etc, N3pp
- Ukrainian: brisk022, netforhack, ShareDVI, zoresvit
)";
AboutDialog::AboutDialog(QWidget* parent)
: QDialog(parent)
, m_ui(new Ui::AboutDialog())
{
m_ui->setupUi(this);
resize(minimumSize());
setWindowFlags(Qt::Sheet);
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
m_ui->nameLabel->setText(m_ui->nameLabel->text().replace("${VERSION}", KEEPASSXC_VERSION));
QFont nameLabelFont = m_ui->nameLabel->font();
nameLabelFont.setPointSize(nameLabelFont.pointSize() + 4);
m_ui->nameLabel->setFont(nameLabelFont);
m_ui->iconLabel->setPixmap(icons()->applicationIcon().pixmap(48));
QString debugInfo = Tools::debugInfo().append("\n").append(Crypto::debugInfo());
m_ui->debugInfo->setPlainText(debugInfo);
m_ui->maintainers->setText(aboutMaintainers);
m_ui->contributors->setText(aboutContributors);
setAttribute(Qt::WA_DeleteOnClose);
connect(m_ui->buttonBox, SIGNAL(rejected()), SLOT(close()));
connect(m_ui->copyToClipboard, SIGNAL(clicked()), SLOT(copyToClipboard()));
m_ui->buttonBox->button(QDialogButtonBox::Close)->setDefault(true);
}
AboutDialog::~AboutDialog() = default;
void AboutDialog::copyToClipboard()
{
QClipboard* clipboard = QApplication::clipboard();
clipboard->setText(m_ui->debugInfo->toPlainText());
}