1183 lines
34 KiB
XML
1183 lines
34 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: rgba(30, 30, 30, 0.1);
|
|
color: white;
|
|
font: 10pt "Segoe UI";
|
|
}
|
|
|
|
|
|
QScrollBar:vertical,
|
|
QScrollBar:horizontal {
|
|
border: none;
|
|
background: rgba(30, 30, 30, 0);
|
|
width: 10px;
|
|
margin: 15px 0 15px 0;
|
|
border-radius: 0px;
|
|
}
|
|
|
|
QScrollBar::handle:vertical,
|
|
QScrollBar::handle:horizontal {
|
|
background-color: rgba(139, 139, 139, 0);
|
|
min-height: 30px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
QScrollBar::handle:vertical:hover,
|
|
QScrollBar::handle:vertical:pressed,
|
|
QScrollBar::handle:horizontal:hover,
|
|
QScrollBar::handle:horizontal:pressed {
|
|
background-color: rgba(149, 149, 149, 0);
|
|
}
|
|
|
|
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: rgba(48, 48, 48, 0.5);
|
|
background-color: rgba(44, 45, 46, 0.3);
|
|
}
|
|
QPushButton:hover {
|
|
border-width: 2px;
|
|
background-color: rgba(50, 50, 50, 0.7);
|
|
}
|
|
QPushButton:pressed {
|
|
background-color: rgba(38, 39, 40, 0.7);
|
|
}
|
|
QPushButton:disabled {
|
|
background-color: rgba(67, 67, 67, 0.7);
|
|
border-color: rgba(0, 0, 0, 0.7);
|
|
}
|
|
|
|
|
|
QLineEdit, QTextBrowser, QPlainTextEdit, QTextEdit {
|
|
border-width: 1px;
|
|
border-radius: 5px;
|
|
border-style: solid;
|
|
border-color: rgba(48, 48, 48);
|
|
background-color: rgba(36, 36, 36, 0);
|
|
font: 10pt "Segoe UI";
|
|
}
|
|
|
|
|
|
QListWidget {
|
|
border-width: 1px;
|
|
border-radius: 15px;
|
|
border-style: solid;
|
|
border-color: rgba(48, 48, 48);
|
|
padding: 10px;
|
|
background-color: rgba(100, 100, 100, 0);
|
|
font: 10pt "Segoe UI";
|
|
}
|
|
QListWidget:item {
|
|
background-color: rgba(36, 36, 36, 0);
|
|
selection-color: white;
|
|
}
|
|
QListWidget:item:hover {
|
|
background-color: rgba(50, 50, 50, 0);
|
|
}
|
|
QListWidget:item:selected {
|
|
background-color: rgba(119, 119, 119, 1);
|
|
}
|
|
|
|
|
|
QComboBox
|
|
{
|
|
border-width: 1px;
|
|
border-radius:6px;
|
|
border-style: solid;
|
|
border-color: rgba(48, 48, 48);
|
|
background-color: rgba(44, 45, 46, 0);
|
|
color: white;
|
|
}
|
|
|
|
QComboBox::disabled
|
|
{
|
|
background-color: rgba(67, 67, 67, 0);
|
|
color: #656565;
|
|
border-color: rgba(67, 67, 67);
|
|
}
|
|
|
|
QComboBox:hover
|
|
{
|
|
background-color: rgba(50, 50, 50, 0);
|
|
}
|
|
|
|
QComboBox:on
|
|
{
|
|
background-color: rgba(67, 67, 67, 0);
|
|
}
|
|
|
|
QComboBox QAbstractItemView
|
|
{
|
|
background-color: rgba(67, 67, 67, 0);
|
|
color: #ffffff;
|
|
selection-background-color: rgba(119, 119, 119, 0);
|
|
selection-color: white;
|
|
outline: 0;
|
|
}
|
|
|
|
QComboBox::drop-down
|
|
{
|
|
subcontrol-origin: padding;
|
|
subcontrol-position: top right;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
|
|
QTabBar::tab
|
|
{
|
|
background-color: rgba(44, 45, 46, 0);
|
|
color: #ffffff;
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
border-top-left-radius: 3px;
|
|
border-top-right-radius: 3px;
|
|
border-color: rgba(48, 48, 48);
|
|
padding: 5px;
|
|
}
|
|
|
|
QTabBar::tab:disabled
|
|
{
|
|
background-color: rgba(101, 101, 101, 0);
|
|
color: #656565;
|
|
}
|
|
|
|
QTabWidget::pane
|
|
{
|
|
background-color: rgba(160, 160, 160, 0);
|
|
color: #ffffff;
|
|
border: 3px solid;
|
|
border-radius: 15px;
|
|
border-color: rgba(28, 28, 28);
|
|
}
|
|
|
|
QTabBar::tab:selected
|
|
{
|
|
background-color: rgba(38, 39, 40, 0);
|
|
color: #ffffff;
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
border-top-left-radius: 3px;
|
|
border-top-right-radius: 3px;
|
|
border-color: rgba(48, 48, 48);
|
|
padding: 5px;
|
|
}
|
|
|
|
QTabBar::tab:selected:disabled
|
|
{
|
|
background-color: rgba(64, 64, 64, 0);
|
|
color: #656565;
|
|
}
|
|
|
|
QTabBar::tab:!selected
|
|
{
|
|
background-color: rgba(38, 38, 38, 0);
|
|
}
|
|
|
|
QTabBar::tab:!selected:hover
|
|
{
|
|
background-color: rgba(50, 50, 50, 0);
|
|
}
|
|
|
|
QTabBar::tab:top:!selected
|
|
{
|
|
margin-top: 3px;
|
|
}
|
|
|
|
QTabBar::tab:bottom:!selected
|
|
{
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
QTabBar::tab:top, QTabBar::tab:bottom
|
|
{
|
|
min-width: 8ex;
|
|
margin-right: -1px;
|
|
padding: 5px 10px 5px 10px;
|
|
}
|
|
|
|
QTabBar::tab:top:selected
|
|
{
|
|
border-bottom-color: none;
|
|
}
|
|
|
|
QTabBar::tab:bottom:selected
|
|
{
|
|
border-top-color: none;
|
|
}
|
|
|
|
QTabBar::tab:top:last, QTabBar::tab:bottom:last,
|
|
QTabBar::tab:top:only-one, QTabBar::tab:bottom:only-one
|
|
{
|
|
margin-right: 0;
|
|
}
|
|
|
|
QTabBar::tab:left:!selected
|
|
{
|
|
margin-right: 3px;
|
|
}
|
|
|
|
QTabBar::tab:right:!selected
|
|
{
|
|
margin-left: 3px;
|
|
}
|
|
|
|
QTabBar::tab:left, QTabBar::tab:right
|
|
{
|
|
min-height: 8ex;
|
|
margin-bottom: -1px;
|
|
padding: 10px 5px 10px 5px;
|
|
}
|
|
|
|
QTabBar::tab:left:selected
|
|
{
|
|
border-left-color: none;
|
|
}
|
|
|
|
QTabBar::tab:right:selected
|
|
{
|
|
border-right-color: none;
|
|
}
|
|
|
|
QTabBar::tab:left:last, QTabBar::tab:right:last,
|
|
QTabBar::tab:left:only-one, QTabBar::tab:right:only-one
|
|
{
|
|
margin-bottom: 0;
|
|
}
|
|
</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: rgba(36, 36, 36, 0);
|
|
font: 10pt "Segoe UI";
|
|
}
|
|
QListWidget:item {
|
|
padding-left: 10px;
|
|
height: 60px;
|
|
background-color: rgba(25, 25, 25, 0);
|
|
selection-color: rgba(255, 255, 255);
|
|
}
|
|
QListWidget:item:hover {
|
|
background-color: rgba(50, 50, 50, 0);
|
|
}
|
|
QListWidget:item:selected {
|
|
background-color: rgba(38, 39, 40, 0);
|
|
}
|
|
</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>
|
|
<item>
|
|
<property name="text">
|
|
<string>Download</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="images.qrc">
|
|
<normaloff>:/img/img/download.png</normaloff>:/img/img/download.png</iconset>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Settings</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="images.qrc">
|
|
<normaloff>:/img/img/settings.png</normaloff>:/img/img/settings.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>0</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>
|
|
<item>
|
|
<widget class="QPushButton" name="reconRefreshButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Reconnect and refresh</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>6</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>
|
|
<widget class="QTextBrowser" name="wallpaperLogs"/>
|
|
</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>
|
|
<item>
|
|
<widget class="QPushButton" name="clearConsoleLogs">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Clear logs</string>
|
|
</property>
|
|
</widget>
|
|
</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>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>
|
|
<item>
|
|
<widget class="QPushButton" name="clearPythonLogs">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Clear logs</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="downloadFilePage">
|
|
<layout class="QVBoxLayout" name="verticalLayout_10">
|
|
<item alignment="Qt::AlignTop">
|
|
<widget class="QLineEdit" name="downloadUrl">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>File url</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="pathToFileDownload">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>Output file path</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item alignment="Qt::AlignTop">
|
|
<widget class="QPushButton" name="downloadButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Download</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QTextBrowser" name="downloadLogs">
|
|
<property name="html">
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
p, li { white-space: pre-wrap; }
|
|
</style></head><body style=" font-family:'Segoe UI'; font-size:10pt; font-weight:400; font-style:normal;">
|
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="clearDlLogsButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Clear logs</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="settingsPage">
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0" alignment="Qt::AlignTop">
|
|
<widget class="QTabWidget" name="settingsTabWidget">
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="visualSettingsTab">
|
|
<attribute name="title">
|
|
<string>Visual</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_7">
|
|
<item alignment="Qt::AlignTop">
|
|
<widget class="QLabel" name="chooseAnimationLAbel">
|
|
<property name="text">
|
|
<string>Choose menu animation</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item alignment="Qt::AlignTop">
|
|
<widget class="QComboBox" name="chooseAnimationBox">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>InOutQuart</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>InOutBack</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>InOutBounce</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>OutBack</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>OutElastic</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="visualSettingsSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="pusherSettingTab">
|
|
<attribute name="title">
|
|
<string>Pusher</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_8">
|
|
<item>
|
|
<widget class="QLineEdit" name="pusher_app_id_edit">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>app_id</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="pusher_key_edit">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>key</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="pusher_secret_edit">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>secret</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="pusher_cluster_edit">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>cluster</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="pushercom_label">
|
|
<property name="text">
|
|
<string>Create account and application on pusher.com to get this data</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="imgurSettingsPage">
|
|
<attribute name="title">
|
|
<string>Imgur</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_9">
|
|
<property name="topMargin">
|
|
<number>9</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>9</number>
|
|
</property>
|
|
<item alignment="Qt::AlignTop">
|
|
<widget class="QLineEdit" name="imgurClientId">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>client_id</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item alignment="Qt::AlignTop">
|
|
<widget class="QLabel" name="imgurLabel">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Create account on imgur, create app and paste Client ID here</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="imgurSettingsSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QPushButton" name="saveSettingsButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Save settings</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<resources>
|
|
<include location="images.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|