1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/gfdgd-xi-simple-remote-desktop-accessor

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
mainwindow.h 2.3 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
gfdgd_xi Отправлено 02.10.2024 08:03 6a3beef
#ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
#include <DMainWindow>
//#include <DGuiApplicationHelper>//用来适配深色模式 Used to adapt to dark model
#include "widget.h"
#include <DPushButton>
#include <DLabel>
#include <QString>
#include <DLineEdit>
#include <QCheckBox>
#include <QFrame>
#include <QRadioButton>
#include <QHBoxLayout>
#include <QButtonGroup>
#include <dpasswordedit.h>
#include "dslider.h"
#include <unistd.h>
#include <QComboBox>
DWIDGET_USE_NAMESPACE
class MainWindow : public DMainWindow
{
Q_OBJECT
public:
MainWindow(DMainWindow *parent = nullptr);
~MainWindow();
private:
QString GetRunCommand(QString command);
QString RunDTKCommand(QString command);
QHBoxLayout *moreSettingLayout = new QHBoxLayout;
QVBoxLayout *AllWidget = new QVBoxLayout;
DPushButton *install = new DPushButton;
DLineEdit *ip = new DLineEdit;
QButtonGroup *showScreen = new QButtonGroup(this);
QButtonGroup *rdpVersion = new QButtonGroup(this);
QButtonGroup *rdesktopVersion = new QButtonGroup(this);
//QButtonGroup *rdpConnect = new QButtonGroup(this);
QCheckBox *paste = new QCheckBox();
QCheckBox *remoteSound = new QCheckBox();
QCheckBox *shareRootFile = new QCheckBox();
QCheckBox *shareHomeFile = new QCheckBox();
QCheckBox *moreSetting = new QCheckBox;
QFrame *moreSettingFrame = new QFrame;
DLineEdit *sizeScreenWidth = new DLineEdit();
DLineEdit *sizeScreenHeight = new DLineEdit();
DLineEdit *showTitle = new DLineEdit();
DLineEdit *user = new DLineEdit();
DLineEdit *command = new DLineEdit();
DPasswordEdit *password = new DPasswordEdit();
DSlider *color = new DSlider();
DLabel *colorShow = new DLabel();
QComboBox *connectChooser = new QComboBox();
QTabWidget *moreSettingTab;
QWidget *w=new QWidget; //w是窗口的用户区,应当是所有窗口中控件的父(不包含标题栏及其上边的控件) W is the user area of the window and should be the parent of all controls in the window (excluding the title bar and controls above it)
//void setTheme(DGuiApplicationHelper::ColorType);
void ConnectIp();
void ShowMoreSetting();
void ShowScreenEnabled();
char * ReadFile(char path[]);
char programPath[100];
};
#endif // WIDGET_H

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/gfdgd-xi-simple-remote-desktop-accessor.git
git@api.gitlife.ru:oschina-mirror/gfdgd-xi-simple-remote-desktop-accessor.git
oschina-mirror
gfdgd-xi-simple-remote-desktop-accessor
gfdgd-xi-simple-remote-desktop-accessor
master