1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/settingsform.h
Tux3 / Mlkj / !Lev.uXFMLA 18cee41cfb Initial commit
2014-06-24 22:11:11 +02:00

34 lines
603 B
C++

#ifndef SETTINGSFORM_H
#define SETTINGSFORM_H
#include <QVBoxLayout>
#include <QLabel>
#include <QLineEdit>
#include <QString>
#include <QObject>
#include <QSpacerItem>
#include "ui_widget.h"
class SettingsForm : public QObject
{
Q_OBJECT
public:
SettingsForm();
~SettingsForm();
void show(Ui::Widget& ui);
public slots:
void setFriendAddress(const QString& friendAddress);
private:
QLabel headLabel, nameLabel, statusTextLabel, idLabel, id;
QVBoxLayout layout, headLayout;
QWidget *main, *head;
public:
QLineEdit name, statusText;
};
#endif // SETTINGSFORM_H