mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
parent
dad4376030
commit
900beae046
@ -33,7 +33,9 @@ MainWindow::MainWindow()
|
|||||||
m_ui->setupUi(this);
|
m_ui->setupUi(this);
|
||||||
|
|
||||||
setWindowIcon(dataPath()->applicationIcon());
|
setWindowIcon(dataPath()->applicationIcon());
|
||||||
m_ui->toolBar->toggleViewAction()->setText(tr("Show toolbar"));
|
QAction* toggleViewAction = m_ui->toolBar->toggleViewAction();
|
||||||
|
toggleViewAction->setText(tr("Show toolbar"));
|
||||||
|
m_ui->menuView->addAction(toggleViewAction);
|
||||||
|
|
||||||
setShortcut(m_ui->actionDatabaseOpen, QKeySequence::Open, Qt::CTRL + Qt::Key_O);
|
setShortcut(m_ui->actionDatabaseOpen, QKeySequence::Open, Qt::CTRL + Qt::Key_O);
|
||||||
setShortcut(m_ui->actionDatabaseSave, QKeySequence::Save, Qt::CTRL + Qt::Key_S);
|
setShortcut(m_ui->actionDatabaseSave, QKeySequence::Save, Qt::CTRL + Qt::Key_S);
|
||||||
|
@ -121,9 +121,15 @@
|
|||||||
</property>
|
</property>
|
||||||
<addaction name="actionSettings"/>
|
<addaction name="actionSettings"/>
|
||||||
</widget>
|
</widget>
|
||||||
|
<widget class="QMenu" name="menuView">
|
||||||
|
<property name="title">
|
||||||
|
<string>View</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
<addaction name="menuFile"/>
|
<addaction name="menuFile"/>
|
||||||
<addaction name="menuEntries"/>
|
<addaction name="menuEntries"/>
|
||||||
<addaction name="menuGroups"/>
|
<addaction name="menuGroups"/>
|
||||||
|
<addaction name="menuView"/>
|
||||||
<addaction name="menuExtras"/>
|
<addaction name="menuExtras"/>
|
||||||
<addaction name="menuHelp"/>
|
<addaction name="menuHelp"/>
|
||||||
</widget>
|
</widget>
|
||||||
|
Loading…
Reference in New Issue
Block a user