mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
[Buttons] Use QPushButton for buttons with menu everywhere
This commit is contained in:
parent
8eea60fe6a
commit
5c235f6775
|
@ -78,13 +78,10 @@
|
|||
</widget>
|
||||
</item>
|
||||
<item row="1" column="7">
|
||||
<widget class="QToolButton" name="importExport">
|
||||
<widget class="QPushButton" name="importExport">
|
||||
<property name="text">
|
||||
<string>Import and Export</string>
|
||||
</property>
|
||||
<property name="popupMode">
|
||||
<enum>QToolButton::InstantPopup</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
|
|
|
@ -63,7 +63,6 @@ AutoFillManager::AutoFillManager(QWidget* parent)
|
|||
menu->addAction(tr("Import Passwords from File..."), this, SLOT(importPasswords()));
|
||||
menu->addAction(tr("Export Passwords to File..."), this, SLOT(exportPasswords()));
|
||||
ui->importExport->setMenu(menu);
|
||||
ui->importExport->setPopupMode(QToolButton::InstantPopup);
|
||||
ui->search->setPlaceholderText(tr("Search"));
|
||||
|
||||
// Password backends
|
||||
|
|
|
@ -102,7 +102,7 @@
|
|||
<item row="3" column="0" colspan="2">
|
||||
<layout class="QHBoxLayout" name="showPasswordsLayout">
|
||||
<item>
|
||||
<widget class="QToolButton" name="importExport">
|
||||
<widget class="QPushButton" name="importExport">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
|
|
Loading…
Reference in New Issue
Block a user