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