mirror of https://github.com/qTox/qTox.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
603 B
33 lines
603 B
#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
|
|
|