mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
commit
db4c05d204
@ -44,7 +44,7 @@
|
|||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<property name="pixmap">
|
<property name="pixmap">
|
||||||
<pixmap resource="../data/icons.qrc">:/icons/other/keys.png</pixmap>
|
<pixmap resource="../data/icons.qrc">:/icons/other/login.png</pixmap>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -44,14 +44,13 @@ void AutoFillWidget::setFormData(const QVector<PasswordEntry> &data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
QPushButton* button = new QPushButton(this);
|
QPushButton* button = new QPushButton(this);
|
||||||
button->setText(tr("Login"));
|
button->setIcon(QIcon(":icons/other/login.png"));
|
||||||
button->setToolTip(d.username);
|
button->setStyleSheet("text-align:left;font-weight:bold;");
|
||||||
|
button->setText(d.username);
|
||||||
button->setProperty("data-index", i);
|
button->setProperty("data-index", i);
|
||||||
QLabel* label = new QLabel(this);
|
button->setFlat(true);
|
||||||
label->setText(tr("Login as <b>%1</b>").arg(d.username));
|
|
||||||
|
|
||||||
ui->gridLayout->addWidget(label, i, 0);
|
ui->gridLayout->addWidget(button, i, 0);
|
||||||
ui->gridLayout->addWidget(button, i, 1);
|
|
||||||
connect(button, SIGNAL(clicked()), this, SLOT(loginToPage()));
|
connect(button, SIGNAL(clicked()), this, SLOT(loginToPage()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,91 +2,26 @@
|
|||||||
<ui version="4.0">
|
<ui version="4.0">
|
||||||
<class>AutoFillWidget</class>
|
<class>AutoFillWidget</class>
|
||||||
<widget class="QWidget" name="AutoFillWidget">
|
<widget class="QWidget" name="AutoFillWidget">
|
||||||
<property name="geometry">
|
<layout class="QGridLayout" name="gridLayout1">
|
||||||
<rect>
|
<item row="0" column="0">
|
||||||
<x>0</x>
|
<layout class="QGridLayout" name="gridLayout2">
|
||||||
<y>0</y>
|
<item row="0" column="0">
|
||||||
<width>211</width>
|
<widget class="QLabel" name="label">
|
||||||
<height>54</height>
|
<property name="text">
|
||||||
</rect>
|
<string>Login as:</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<property name="alignment">
|
||||||
<property name="margin">
|
<set>Qt::AlignCenter</set>
|
||||||
<number>0</number>
|
</property>
|
||||||
</property>
|
</widget>
|
||||||
<item>
|
</item>
|
||||||
<widget class="Frame" name="frame">
|
</layout>
|
||||||
<property name="frameShape">
|
</item>
|
||||||
<enum>QFrame::NoFrame</enum>
|
<item row="1" column="0">
|
||||||
</property>
|
<layout class="QGridLayout" name="gridLayout"/>
|
||||||
<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>
|
|
||||||
<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/>
|
|
||||||
</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>
|
|
||||||
</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>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<customwidgets>
|
<resources/>
|
||||||
<customwidget>
|
|
||||||
<class>Frame</class>
|
|
||||||
<extends>QFrame</extends>
|
|
||||||
<header>frame.h</header>
|
|
||||||
<container>1</container>
|
|
||||||
</customwidget>
|
|
||||||
</customwidgets>
|
|
||||||
<resources>
|
|
||||||
<include location="../data/icons.qrc"/>
|
|
||||||
</resources>
|
|
||||||
<connections/>
|
<connections/>
|
||||||
</ui>
|
</ui>
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
<file>icons/locationbar/visit1.png</file>
|
<file>icons/locationbar/visit1.png</file>
|
||||||
<file>icons/locationbar/visit2.png</file>
|
<file>icons/locationbar/visit2.png</file>
|
||||||
<file>icons/locationbar/visit3.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-fonts.png</file>
|
||||||
<file>icons/preferences/applications-graphics.png</file>
|
<file>icons/preferences/applications-graphics.png</file>
|
||||||
<file>icons/preferences/document-properties.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