mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04: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
|
||||
- TOTP generation
|
||||
- CSV import
|
||||
- Command line interface
|
||||
- A [Command Line Interface (keepassxc-cli)](./src/cli/keepassxc-cli.1)
|
||||
- DEP and ASLR hardening
|
||||
- Stand-alone password and passphrase generator
|
||||
- Password strength meter
|
||||
|
@ -28,6 +28,7 @@ Toggle Passwords Hidden | Ctrl + Shift + C
|
||||
Toggle Usernames Hidden | Ctrl + Shift + B
|
||||
Focus Search | Ctrl + F
|
||||
Clear Search | ESC
|
||||
Show Keyboard Shortcuts | Ctrl + /
|
||||
|
||||
|
||||
|
||||
|
@ -50,6 +50,7 @@ EntryPreviewWidget::EntryPreviewWidget(QWidget* parent)
|
||||
// Entry
|
||||
m_ui->entryTotpButton->setIcon(filePath()->icon("actions", "chronometer"));
|
||||
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->toggleEntryNotesButton->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->actionUserGuide, SIGNAL(triggered()), SLOT(openUserGuide()));
|
||||
connect(m_ui->actionOnlineHelp, SIGNAL(triggered()), SLOT(openOnlineHelp()));
|
||||
connect(m_ui->actionKeyboardShortcuts, SIGNAL(triggered()), SLOT(openKeyboardShortcuts()));
|
||||
|
||||
#ifdef Q_OS_MACOS
|
||||
setUnifiedTitleAndToolBarOnMac(true);
|
||||
@ -814,6 +815,12 @@ void MainWindow::openOnlineHelp()
|
||||
{
|
||||
customOpenUrl("https://keepassxc.org/docs/");
|
||||
}
|
||||
|
||||
void MainWindow::openKeyboardShortcuts()
|
||||
{
|
||||
customOpenUrl("https://github.com/keepassxreboot/keepassxc/blob/develop/docs/KEYBINDS.md");
|
||||
}
|
||||
|
||||
void MainWindow::switchToDatabases()
|
||||
{
|
||||
if (m_ui->tabWidget->currentIndex() == -1) {
|
||||
|
@ -94,6 +94,7 @@ private slots:
|
||||
void openGettingStartedGuide();
|
||||
void openUserGuide();
|
||||
void openOnlineHelp();
|
||||
void openKeyboardShortcuts();
|
||||
void switchToDatabases();
|
||||
void switchToSettings(bool enabled);
|
||||
void switchToPasswordGen(bool enabled);
|
||||
|
@ -195,7 +195,7 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>800</width>
|
||||
<height>21</height>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
@ -252,6 +252,7 @@
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionGettingStarted"/>
|
||||
<addaction name="actionUserGuide"/>
|
||||
<addaction name="actionKeyboardShortcuts"/>
|
||||
<addaction name="actionOnlineHelp"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionCheckForUpdates"/>
|
||||
@ -759,6 +760,14 @@
|
||||
<string>Open User Guide PDF</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionKeyboardShortcuts">
|
||||
<property name="text">
|
||||
<string>&Keyboard Shortcuts</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+/</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
|
Loading…
Reference in New Issue
Block a user