mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-03 10:00:04 -05:00
Fix password preview font, add some documentation (#3425)
* Fix #3376. Set font for password preview to Font::fixedFont() * Add a menu entry opening the shortcuts documentation in the browser * Fixed duplicate item in CLI documentation
This commit is contained in:
parent
eb1882453f
commit
018e9f30be
@ -22,7 +22,7 @@ so please check out your distribution's package list to see if KeePassXC is avai
|
|||||||
- YubiKey challenge-response support
|
- YubiKey challenge-response support
|
||||||
- TOTP generation
|
- TOTP generation
|
||||||
- CSV import
|
- CSV import
|
||||||
- Command line interface
|
- A [Command Line Interface (keepassxc-cli)](./src/cli/keepassxc-cli.1)
|
||||||
- DEP and ASLR hardening
|
- DEP and ASLR hardening
|
||||||
- Stand-alone password and passphrase generator
|
- Stand-alone password and passphrase generator
|
||||||
- Password strength meter
|
- Password strength meter
|
||||||
|
@ -28,6 +28,7 @@ Toggle Passwords Hidden | Ctrl + Shift + C
|
|||||||
Toggle Usernames Hidden | Ctrl + Shift + B
|
Toggle Usernames Hidden | Ctrl + Shift + B
|
||||||
Focus Search | Ctrl + F
|
Focus Search | Ctrl + F
|
||||||
Clear Search | ESC
|
Clear Search | ESC
|
||||||
|
Show Keyboard Shortcuts | Ctrl + /
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -50,6 +50,7 @@ EntryPreviewWidget::EntryPreviewWidget(QWidget* parent)
|
|||||||
// Entry
|
// Entry
|
||||||
m_ui->entryTotpButton->setIcon(filePath()->icon("actions", "chronometer"));
|
m_ui->entryTotpButton->setIcon(filePath()->icon("actions", "chronometer"));
|
||||||
m_ui->entryCloseButton->setIcon(filePath()->icon("actions", "dialog-close"));
|
m_ui->entryCloseButton->setIcon(filePath()->icon("actions", "dialog-close"));
|
||||||
|
m_ui->entryPasswordLabel->setFont(Font::fixedFont());
|
||||||
m_ui->togglePasswordButton->setIcon(filePath()->onOffIcon("actions", "password-show"));
|
m_ui->togglePasswordButton->setIcon(filePath()->onOffIcon("actions", "password-show"));
|
||||||
m_ui->toggleEntryNotesButton->setIcon(filePath()->onOffIcon("actions", "password-show"));
|
m_ui->toggleEntryNotesButton->setIcon(filePath()->onOffIcon("actions", "password-show"));
|
||||||
m_ui->toggleGroupNotesButton->setIcon(filePath()->onOffIcon("actions", "password-show"));
|
m_ui->toggleGroupNotesButton->setIcon(filePath()->onOffIcon("actions", "password-show"));
|
||||||
|
@ -407,6 +407,7 @@ MainWindow::MainWindow()
|
|||||||
connect(m_ui->actionGettingStarted, SIGNAL(triggered()), SLOT(openGettingStartedGuide()));
|
connect(m_ui->actionGettingStarted, SIGNAL(triggered()), SLOT(openGettingStartedGuide()));
|
||||||
connect(m_ui->actionUserGuide, SIGNAL(triggered()), SLOT(openUserGuide()));
|
connect(m_ui->actionUserGuide, SIGNAL(triggered()), SLOT(openUserGuide()));
|
||||||
connect(m_ui->actionOnlineHelp, SIGNAL(triggered()), SLOT(openOnlineHelp()));
|
connect(m_ui->actionOnlineHelp, SIGNAL(triggered()), SLOT(openOnlineHelp()));
|
||||||
|
connect(m_ui->actionKeyboardShortcuts, SIGNAL(triggered()), SLOT(openKeyboardShortcuts()));
|
||||||
|
|
||||||
#ifdef Q_OS_MACOS
|
#ifdef Q_OS_MACOS
|
||||||
setUnifiedTitleAndToolBarOnMac(true);
|
setUnifiedTitleAndToolBarOnMac(true);
|
||||||
@ -814,6 +815,12 @@ void MainWindow::openOnlineHelp()
|
|||||||
{
|
{
|
||||||
customOpenUrl("https://keepassxc.org/docs/");
|
customOpenUrl("https://keepassxc.org/docs/");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MainWindow::openKeyboardShortcuts()
|
||||||
|
{
|
||||||
|
customOpenUrl("https://github.com/keepassxreboot/keepassxc/blob/develop/docs/KEYBINDS.md");
|
||||||
|
}
|
||||||
|
|
||||||
void MainWindow::switchToDatabases()
|
void MainWindow::switchToDatabases()
|
||||||
{
|
{
|
||||||
if (m_ui->tabWidget->currentIndex() == -1) {
|
if (m_ui->tabWidget->currentIndex() == -1) {
|
||||||
|
@ -94,6 +94,7 @@ private slots:
|
|||||||
void openGettingStartedGuide();
|
void openGettingStartedGuide();
|
||||||
void openUserGuide();
|
void openUserGuide();
|
||||||
void openOnlineHelp();
|
void openOnlineHelp();
|
||||||
|
void openKeyboardShortcuts();
|
||||||
void switchToDatabases();
|
void switchToDatabases();
|
||||||
void switchToSettings(bool enabled);
|
void switchToSettings(bool enabled);
|
||||||
void switchToPasswordGen(bool enabled);
|
void switchToPasswordGen(bool enabled);
|
||||||
|
@ -195,7 +195,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>800</width>
|
<width>800</width>
|
||||||
<height>21</height>
|
<height>20</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="focusPolicy">
|
<property name="focusPolicy">
|
||||||
@ -252,6 +252,7 @@
|
|||||||
<addaction name="separator"/>
|
<addaction name="separator"/>
|
||||||
<addaction name="actionGettingStarted"/>
|
<addaction name="actionGettingStarted"/>
|
||||||
<addaction name="actionUserGuide"/>
|
<addaction name="actionUserGuide"/>
|
||||||
|
<addaction name="actionKeyboardShortcuts"/>
|
||||||
<addaction name="actionOnlineHelp"/>
|
<addaction name="actionOnlineHelp"/>
|
||||||
<addaction name="separator"/>
|
<addaction name="separator"/>
|
||||||
<addaction name="actionCheckForUpdates"/>
|
<addaction name="actionCheckForUpdates"/>
|
||||||
@ -759,6 +760,14 @@
|
|||||||
<string>Open User Guide PDF</string>
|
<string>Open User Guide PDF</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
|
<action name="actionKeyboardShortcuts">
|
||||||
|
<property name="text">
|
||||||
|
<string>&Keyboard Shortcuts</string>
|
||||||
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string>Ctrl+/</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
</widget>
|
</widget>
|
||||||
<customwidgets>
|
<customwidgets>
|
||||||
<customwidget>
|
<customwidget>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user