mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
generaci?n de codigo qr mediqante qrcode implementada
This commit is contained in:
37
YACReaderLibrary/server_config_dialog.h
Normal file
37
YACReaderLibrary/server_config_dialog.h
Normal file
@ -0,0 +1,37 @@
|
||||
#ifndef __SERVER_CONFIG_DIALOG_H
|
||||
#define __SERVER_CONFIG_DIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QLabel>
|
||||
#include <QLineEdit>
|
||||
#include <QPushButton>
|
||||
#include <QPixmap>
|
||||
#include <QProcess>
|
||||
#include <QPixmap>
|
||||
|
||||
class ServerConfigDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
ServerConfigDialog(QWidget * parent = 0);
|
||||
private:
|
||||
QLabel * ipLabel;
|
||||
QLabel * portLabel;
|
||||
QLineEdit * portEdit;
|
||||
QPushButton * close;
|
||||
QPushButton * accept;
|
||||
QLabel * qrCode;
|
||||
QPixmap * qrCodeImage;
|
||||
|
||||
QProcess * qrGenerator;
|
||||
public slots:
|
||||
void generateQR();
|
||||
void generateQR(const QString & serverAddress);
|
||||
void updateImage();
|
||||
signals:
|
||||
void portChanged(QString port);
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user