mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
commit
db4c05d204
|
@ -44,7 +44,7 @@
|
|||
<string/>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap resource="../data/icons.qrc">:/icons/other/keys.png</pixmap>
|
||||
<pixmap resource="../data/icons.qrc">:/icons/other/login.png</pixmap>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
|
@ -44,14 +44,13 @@ void AutoFillWidget::setFormData(const QVector<PasswordEntry> &data)
|
|||
}
|
||||
|
||||
QPushButton* button = new QPushButton(this);
|
||||
button->setText(tr("Login"));
|
||||
button->setToolTip(d.username);
|
||||
button->setIcon(QIcon(":icons/other/login.png"));
|
||||
button->setStyleSheet("text-align:left;font-weight:bold;");
|
||||
button->setText(d.username);
|
||||
button->setProperty("data-index", i);
|
||||
QLabel* label = new QLabel(this);
|
||||
label->setText(tr("Login as <b>%1</b>").arg(d.username));
|
||||
button->setFlat(true);
|
||||
|
||||
ui->gridLayout->addWidget(label, i, 0);
|
||||
ui->gridLayout->addWidget(button, i, 1);
|
||||
ui->gridLayout->addWidget(button, i, 0);
|
||||
connect(button, SIGNAL(clicked()), this, SLOT(loginToPage()));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,91 +2,26 @@
|
|||
<ui version="4.0">
|
||||
<class>AutoFillWidget</class>
|
||||
<widget class="QWidget" name="AutoFillWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>211</width>
|
||||
<height>54</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="margin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="Frame" name="frame">
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::NoFrame</enum>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<property name="spacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<property name="spacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<layout class="QGridLayout" name="gridLayout1">
|
||||
<item row="0" column="0">
|
||||
<layout class="QGridLayout" name="gridLayout2">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
<string>Login as:</string>
|
||||
</property>
|
||||
<property name="pixmap">
|
||||
<pixmap resource="../data/icons.qrc">:/icons/other/keys.png</pixmap>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Choose username to login</string>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<property name="leftMargin">
|
||||
<number>10</number>
|
||||
</property>
|
||||
<property name="horizontalSpacing">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="verticalSpacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
</layout>
|
||||
<item row="1" column="0">
|
||||
<layout class="QGridLayout" name="gridLayout"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>Frame</class>
|
||||
<extends>QFrame</extends>
|
||||
<header>frame.h</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources>
|
||||
<include location="../data/icons.qrc"/>
|
||||
</resources>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
<file>icons/locationbar/visit1.png</file>
|
||||
<file>icons/locationbar/visit2.png</file>
|
||||
<file>icons/locationbar/visit3.png</file>
|
||||
<file>icons/other/keys.png</file>
|
||||
<file>icons/other/login.png</file>
|
||||
<file>icons/preferences/applications-fonts.png</file>
|
||||
<file>icons/preferences/applications-graphics.png</file>
|
||||
<file>icons/preferences/document-properties.png</file>
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 2.1 KiB |
BIN
src/lib/data/icons/other/login.png
Normal file
BIN
src/lib/data/icons/other/login.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
Loading…
Reference in New Issue
Block a user