1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-02-15 15:30:47 +01:00
GPXSee/src/GUI/authenticationwidget.cpp

16 lines
395 B
C++
Raw Normal View History

#include <QFormLayout>
#include "authenticationwidget.h"
AuthenticationWidget::AuthenticationWidget(QWidget *parent) : QWidget(parent)
{
_username = new QLineEdit();
_password = new QLineEdit();
QFormLayout *layout = new QFormLayout();
layout->addRow(tr("Username:"), _username);
layout->addRow(tr("Password:"), _password);
2021-08-31 18:43:55 +02:00
layout->setContentsMargins(0, 0, 0, 0);
setLayout(layout);
}