Initial commit
This commit is contained in:
119
resources/abcd.py
Executable file
119
resources/abcd.py
Executable file
@ -0,0 +1,119 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'add_clip.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.15.1
|
||||
#
|
||||
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
|
||||
# run again. Do not edit this file unless you know what you are doing.
|
||||
|
||||
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_Form(object):
|
||||
def setupUi(self, Form):
|
||||
Form.setObjectName("Form")
|
||||
Form.resize(400, 313)
|
||||
self.verticalLayout = QtWidgets.QVBoxLayout(Form)
|
||||
self.verticalLayout.setObjectName("verticalLayout")
|
||||
self.add_clip = QtWidgets.QLabel(Form)
|
||||
self.add_clip.setAlignment(QtCore.Qt.AlignCenter)
|
||||
self.add_clip.setObjectName("add_clip")
|
||||
self.verticalLayout.addWidget(self.add_clip)
|
||||
self.line = QtWidgets.QFrame(Form)
|
||||
self.line.setFrameShape(QtWidgets.QFrame.HLine)
|
||||
self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
|
||||
self.line.setObjectName("line")
|
||||
self.verticalLayout.addWidget(self.line)
|
||||
self.file_hlayout = QtWidgets.QHBoxLayout()
|
||||
self.file_hlayout.setObjectName("file_hlayout")
|
||||
self.clip_chooser = QtWidgets.QPushButton(Form)
|
||||
self.clip_chooser.setObjectName("clip_chooser")
|
||||
self.file_hlayout.addWidget(self.clip_chooser)
|
||||
self.file_name_label = QtWidgets.QLabel(Form)
|
||||
self.file_name_label.setObjectName("file_name_label")
|
||||
self.file_hlayout.addWidget(self.file_name_label)
|
||||
self.label = QtWidgets.QLabel(Form)
|
||||
self.label.setMaximumSize(QtCore.QSize(16, 18))
|
||||
self.label.setText("")
|
||||
self.label.setPixmap(QtGui.QPixmap("../../trash-red.svg"))
|
||||
self.label.setScaledContents(True)
|
||||
self.label.setAlignment(QtCore.Qt.AlignCenter)
|
||||
self.label.setObjectName("label")
|
||||
self.file_hlayout.addWidget(self.label)
|
||||
self.verticalLayout.addLayout(self.file_hlayout)
|
||||
self.name_hlayout = QtWidgets.QHBoxLayout()
|
||||
self.name_hlayout.setObjectName("name_hlayout")
|
||||
self.name_label = QtWidgets.QLabel(Form)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.name_label.sizePolicy().hasHeightForWidth())
|
||||
self.name_label.setSizePolicy(sizePolicy)
|
||||
self.name_label.setMinimumSize(QtCore.QSize(70, 0))
|
||||
self.name_label.setBaseSize(QtCore.QSize(0, 0))
|
||||
self.name_label.setObjectName("name_label")
|
||||
self.name_hlayout.addWidget(self.name_label)
|
||||
self.name_edit = QtWidgets.QLineEdit(Form)
|
||||
self.name_edit.setObjectName("name_edit")
|
||||
self.name_hlayout.addWidget(self.name_edit)
|
||||
self.verticalLayout.addLayout(self.name_hlayout)
|
||||
self.description_hlayout = QtWidgets.QHBoxLayout()
|
||||
self.description_hlayout.setObjectName("description_hlayout")
|
||||
self.description_label = QtWidgets.QLabel(Form)
|
||||
self.description_label.setMinimumSize(QtCore.QSize(70, 0))
|
||||
self.description_label.setBaseSize(QtCore.QSize(0, 0))
|
||||
self.description_label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
|
||||
self.description_label.setObjectName("description_label")
|
||||
self.description_hlayout.addWidget(self.description_label)
|
||||
self.description_edit = QtWidgets.QTextEdit(Form)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.description_edit.sizePolicy().hasHeightForWidth())
|
||||
self.description_edit.setSizePolicy(sizePolicy)
|
||||
self.description_edit.setObjectName("description_edit")
|
||||
self.description_hlayout.addWidget(self.description_edit)
|
||||
self.verticalLayout.addLayout(self.description_hlayout)
|
||||
self.type_hlayout = QtWidgets.QHBoxLayout()
|
||||
self.type_hlayout.setObjectName("type_hlayout")
|
||||
self.type_label = QtWidgets.QLabel(Form)
|
||||
self.type_label.setMinimumSize(QtCore.QSize(70, 0))
|
||||
self.type_label.setBaseSize(QtCore.QSize(0, 0))
|
||||
self.type_label.setObjectName("type_label")
|
||||
self.type_hlayout.addWidget(self.type_label)
|
||||
self.type_box = QtWidgets.QComboBox(Form)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.type_box.sizePolicy().hasHeightForWidth())
|
||||
self.type_box.setSizePolicy(sizePolicy)
|
||||
self.type_box.setFocusPolicy(QtCore.Qt.WheelFocus)
|
||||
self.type_box.setObjectName("type_box")
|
||||
self.type_hlayout.addWidget(self.type_box)
|
||||
self.verticalLayout.addLayout(self.type_hlayout)
|
||||
self.save_new_hlayout = QtWidgets.QHBoxLayout()
|
||||
self.save_new_hlayout.setObjectName("save_new_hlayout")
|
||||
self.save_button = QtWidgets.QPushButton(Form)
|
||||
self.save_button.setObjectName("save_button")
|
||||
self.save_new_hlayout.addWidget(self.save_button)
|
||||
self.new_button = QtWidgets.QPushButton(Form)
|
||||
self.new_button.setObjectName("new_button")
|
||||
self.save_new_hlayout.addWidget(self.new_button)
|
||||
self.verticalLayout.addLayout(self.save_new_hlayout)
|
||||
|
||||
self.retranslateUi(Form)
|
||||
QtCore.QMetaObject.connectSlotsByName(Form)
|
||||
|
||||
def retranslateUi(self, Form):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
Form.setWindowTitle(_translate("Form", "Form"))
|
||||
self.add_clip.setText(_translate("Form", "Add clip"))
|
||||
self.clip_chooser.setText(_translate("Form", "Choose file"))
|
||||
self.file_name_label.setText(_translate("Form", "No file selected"))
|
||||
self.name_label.setText(_translate("Form", "Name"))
|
||||
self.description_label.setText(_translate("Form", "Description"))
|
||||
self.type_label.setText(_translate("Form", "Type"))
|
||||
self.save_button.setText(_translate("Form", "Save"))
|
||||
self.new_button.setText(_translate("Form", "New"))
|
361
resources/add_clip.ui
Executable file
361
resources/add_clip.ui
Executable file
@ -0,0 +1,361 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Form</class>
|
||||
<widget class="QWidget" name="Form">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>400</width>
|
||||
<height>469</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Add clip</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
<widget class="QLabel" name="add_clip">
|
||||
<property name="text">
|
||||
<string>Add clip</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QFrame" name="name_description_frame">
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="file_or_url_hlayout">
|
||||
<item>
|
||||
<widget class="QLineEdit" name="file_or_url_edit">
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string>File or url...</string>
|
||||
</property>
|
||||
<property name="clearButtonEnabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="file_chooser">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="sizeIncrement">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Choose file</string>
|
||||
</property>
|
||||
<property name="checkable">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Line" name="line">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="name_hlayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="name_label">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>70</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="baseSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Name</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="name_edit">
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="clearButtonEnabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="description_hlayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="description_label">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>70</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="baseSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Description</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QTextEdit" name="description_edit">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="type_hlayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="type_label">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>70</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="baseSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Type</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="type_box">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::WheelFocus</enum>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>3</number>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Audio</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Image</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Video</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Other</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Line" name="line_3">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="tags_hlayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="tags_label">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>70</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Tags</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QScrollArea" name="tags_edit">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="widgetResizable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<widget class="QWidget" name="scrollAreaWidgetContents">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>290</width>
|
||||
<height>83</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Line" name="line_2">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QPushButton" name="choose_source_button">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Select source</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="choose_source_label">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>No source selected</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="save_new_hlayout">
|
||||
<item>
|
||||
<widget class="QPushButton" name="save_button">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Save</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+S</string>
|
||||
</property>
|
||||
<property name="flat">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="new_button">
|
||||
<property name="text">
|
||||
<string>New</string>
|
||||
</property>
|
||||
<property name="checkable">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="autoRepeat">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="autoExclusive">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
257
resources/add_source.ui
Executable file
257
resources/add_source.ui
Executable file
@ -0,0 +1,257 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Form</class>
|
||||
<widget class="QWidget" name="Form">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>452</width>
|
||||
<height>400</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Add source</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="add_source_label">
|
||||
<property name="text">
|
||||
<string>Add source</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QFrame" name="frame">
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="file_or_url_hlayout">
|
||||
<item>
|
||||
<widget class="QLineEdit" name="file_or_url_edit">
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string>File or url...</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="file_chooser">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="sizeIncrement">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Choose file</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+O</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Line" name="line_3">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="type_hlayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="type_label">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>70</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Type</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="type_box">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Audio</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Movie</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Series</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Other</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="from_hlayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="name_label">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>70</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Name</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="name_edit">
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="season_label">
|
||||
<property name="text">
|
||||
<string>Season</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="season_edit">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="episode_label">
|
||||
<property name="text">
|
||||
<string>Episode</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="episode_edit">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="description_hlayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="description_label">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>70</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Description</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QTextEdit" name="description_edit">
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="save_new_hlayout">
|
||||
<item>
|
||||
<widget class="QPushButton" name="save_button">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Save</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+S</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="new_button">
|
||||
<property name="text">
|
||||
<string>New</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+N</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
125
resources/clipbase.sql
Executable file
125
resources/clipbase.sql
Executable file
@ -0,0 +1,125 @@
|
||||
-- MariaDB dump 10.18 Distrib 10.5.8-MariaDB, for debian-linux-gnu (x86_64)
|
||||
--
|
||||
-- Host: localhost Database: athnos
|
||||
-- ------------------------------------------------------
|
||||
-- Server version 10.5.8-MariaDB-3
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||
/*!40101 SET NAMES utf8mb4 */;
|
||||
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
||||
/*!40103 SET TIME_ZONE='+00:00' */;
|
||||
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
||||
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
||||
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||
|
||||
--
|
||||
-- Table structure for table `clip`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `clip`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `clip` (
|
||||
`id` int(10) unsigned DEFAULT NULL,
|
||||
`source_id` int(10) unsigned DEFAULT NULL,
|
||||
`path` text DEFAULT NULL,
|
||||
`type` smallint(1) DEFAULT NULL,
|
||||
`name` tinytext DEFAULT NULL,
|
||||
`description` text DEFAULT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `clip`
|
||||
--
|
||||
|
||||
LOCK TABLES `clip` WRITE;
|
||||
/*!40000 ALTER TABLE `clip` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `clip` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `item`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `item`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `item` (
|
||||
`id` int(10) unsigned DEFAULT NULL,
|
||||
`clip_id` int(10) unsigned DEFAULT NULL,
|
||||
`tag_id` int(10) unsigned DEFAULT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `item`
|
||||
--
|
||||
|
||||
LOCK TABLES `item` WRITE;
|
||||
/*!40000 ALTER TABLE `item` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `item` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `source`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `source`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `source` (
|
||||
`id` int(10) unsigned DEFAULT NULL,
|
||||
`path` text DEFAULT NULL,
|
||||
`type` smallint(1) unsigned DEFAULT NULL,
|
||||
`name` tinytext DEFAULT NULL,
|
||||
`description` text DEFAULT NULL,
|
||||
`season` tinytext DEFAULT NULL,
|
||||
`episode` tinytext DEFAULT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `source`
|
||||
--
|
||||
|
||||
LOCK TABLES `source` WRITE;
|
||||
/*!40000 ALTER TABLE `source` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `source` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `tag`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `tag`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `tag` (
|
||||
`id` int(10) unsigned DEFAULT NULL,
|
||||
`name` varchar(255) DEFAULT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `tag`
|
||||
--
|
||||
|
||||
LOCK TABLES `tag` WRITE;
|
||||
/*!40000 ALTER TABLE `tag` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `tag` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||
|
||||
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||||
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
||||
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||
|
||||
-- Dump completed on 2020-12-21 20:34:41
|
147
resources/clips.json
Executable file
147
resources/clips.json
Executable file
@ -0,0 +1,147 @@
|
||||
{
|
||||
"move": false,
|
||||
"copy": false,
|
||||
"root_dir": "/home/bytedream/backup/athnos/resources",
|
||||
"clips": [
|
||||
{
|
||||
"source": {
|
||||
"type": "",
|
||||
"path": "",
|
||||
"name": "",
|
||||
"description": "",
|
||||
"season": "",
|
||||
"episode": ""
|
||||
},
|
||||
"path": "/home/bytedream/backup/athnos/resources/athnos.qrc",
|
||||
"type": 0,
|
||||
"name": "athnos",
|
||||
"description": "a"
|
||||
},
|
||||
{
|
||||
"source": {
|
||||
"type": "",
|
||||
"path": "",
|
||||
"name": "",
|
||||
"description": "",
|
||||
"season": "",
|
||||
"episode": ""
|
||||
},
|
||||
"path": "/home/bytedream/backup/athnos/resources/show_source.ui",
|
||||
"type": 0,
|
||||
"name": "show_source",
|
||||
"description": "a"
|
||||
},
|
||||
{
|
||||
"source": {
|
||||
"type": "",
|
||||
"path": "",
|
||||
"name": "",
|
||||
"description": "",
|
||||
"season": "",
|
||||
"episode": ""
|
||||
},
|
||||
"path": "/home/bytedream/backup/athnos/resources/add_clip.ui",
|
||||
"type": 0,
|
||||
"name": "add_clip",
|
||||
"description": "a"
|
||||
},
|
||||
{
|
||||
"source": {
|
||||
"type": "",
|
||||
"path": "",
|
||||
"name": "",
|
||||
"description": "",
|
||||
"season": "",
|
||||
"episode": ""
|
||||
},
|
||||
"path": "/home/bytedream/backup/athnos/resources/add_source.ui",
|
||||
"type": 0,
|
||||
"name": "add_source",
|
||||
"description": "a"
|
||||
},
|
||||
{
|
||||
"source": {
|
||||
"type": "",
|
||||
"path": "",
|
||||
"name": "",
|
||||
"description": "",
|
||||
"season": "",
|
||||
"episode": ""
|
||||
},
|
||||
"path": "/home/bytedream/backup/athnos/resources/main_window.ui",
|
||||
"type": 0,
|
||||
"name": "main_window",
|
||||
"description": "a"
|
||||
},
|
||||
{
|
||||
"source": {
|
||||
"type": "",
|
||||
"path": "",
|
||||
"name": "",
|
||||
"description": "",
|
||||
"season": "",
|
||||
"episode": ""
|
||||
},
|
||||
"path": "/home/bytedream/backup/athnos/resources/connect_to_database.ui",
|
||||
"type": 0,
|
||||
"name": "connect_to_database",
|
||||
"description": "a"
|
||||
},
|
||||
{
|
||||
"source": {
|
||||
"type": "",
|
||||
"path": "",
|
||||
"name": "",
|
||||
"description": "",
|
||||
"season": "",
|
||||
"episode": ""
|
||||
},
|
||||
"path": "/home/bytedream/backup/athnos/resources/athnos.sql",
|
||||
"type": 0,
|
||||
"name": "athnos",
|
||||
"description": "a"
|
||||
},
|
||||
{
|
||||
"source": {
|
||||
"type": "",
|
||||
"path": "",
|
||||
"name": "",
|
||||
"description": "",
|
||||
"season": "",
|
||||
"episode": ""
|
||||
},
|
||||
"path": "/home/bytedream/backup/athnos/resources/abcd.py",
|
||||
"type": 0,
|
||||
"name": "abcd",
|
||||
"description": "a"
|
||||
},
|
||||
{
|
||||
"source": {
|
||||
"type": "",
|
||||
"path": "",
|
||||
"name": "",
|
||||
"description": "",
|
||||
"season": "",
|
||||
"episode": ""
|
||||
},
|
||||
"path": "/home/bytedream/backup/athnos/resources/__pycache__/abcd.cpython-39.pyc",
|
||||
"type": 0,
|
||||
"name": "abcd.cpython-39",
|
||||
"description": "a"
|
||||
},
|
||||
{
|
||||
"source": {
|
||||
"type": "",
|
||||
"path": "",
|
||||
"name": "",
|
||||
"description": "",
|
||||
"season": "",
|
||||
"episode": ""
|
||||
},
|
||||
"path": "/home/bytedream/backup/athnos/resources/images/trash-red.svg",
|
||||
"type": 0,
|
||||
"name": "trash-red",
|
||||
"description": "a"
|
||||
}
|
||||
]
|
||||
}
|
381
resources/connect_to_database.ui
Executable file
381
resources/connect_to_database.ui
Executable file
@ -0,0 +1,381 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Form</class>
|
||||
<widget class="QWidget" name="Form">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>400</width>
|
||||
<height>490</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Connect to database</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="sizeConstraint">
|
||||
<enum>QLayout::SetDefaultConstraint</enum>
|
||||
</property>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="database_type_hlayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="database_label">
|
||||
<property name="text">
|
||||
<string>Database</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>QSizePolicy::Fixed</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>13</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="database_type">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Line" name="line">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="database_file_hlayout">
|
||||
<item>
|
||||
<widget class="QPushButton" name="database_file">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>118</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>130</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Database file</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="file_name_label">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>No file selected</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="file_utils_hlayout">
|
||||
<property name="spacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="Line" name="line_2">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="delete_file_button">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resources.qrc">
|
||||
<normaloff>:/file_url/trash</normaloff>:/file_url/trash</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>18</width>
|
||||
<height>18</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="autoDefault">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="default">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="flat">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="add_file_button">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resources.qrc">
|
||||
<normaloff>:/file_url/add_file</normaloff>:/file_url/add_file</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>18</width>
|
||||
<height>18</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="flat">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QFrame" name="database_settings_frame">
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="database_ip_layout">
|
||||
<item>
|
||||
<widget class="QLabel" name="database_ip_label">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Database IP</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="database_ip_edit">
|
||||
<property name="text">
|
||||
<string>127.0.0.1</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="user_hlayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="user_label">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>User</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="user_edit">
|
||||
<property name="text">
|
||||
<string>root</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="password_hlayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="password_label">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Password</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="password_edit">
|
||||
<property name="inputMethodHints">
|
||||
<set>Qt::ImhHiddenText|Qt::ImhNoAutoUppercase|Qt::ImhNoPredictiveText|Qt::ImhSensitiveData</set>
|
||||
</property>
|
||||
<property name="echoMode">
|
||||
<enum>QLineEdit::Password</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="port_hlayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="port_label">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Port</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="port_edit">
|
||||
<property name="text">
|
||||
<string>3306</string>
|
||||
</property>
|
||||
<property name="frame">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="clearButtonEnabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="database_name_hlayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="database_name_label">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Database name</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="database_name_edit">
|
||||
<property name="text">
|
||||
<string>athnos</string>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="show_databases_button">
|
||||
<property name="text">
|
||||
<string>Show available names</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QListView" name="databases_view">
|
||||
<property name="inputMethodHints">
|
||||
<set>Qt::ImhNone</set>
|
||||
</property>
|
||||
<property name="editTriggers">
|
||||
<set>QAbstractItemView::NoEditTriggers</set>
|
||||
</property>
|
||||
<property name="modelColumn">
|
||||
<number>0</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="test_save_hlayout">
|
||||
<item>
|
||||
<widget class="QPushButton" name="test_connection_button">
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Test connection</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="save_button">
|
||||
<property name="text">
|
||||
<string>Save</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="resources.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
32
resources/export.ui
Executable file
32
resources/export.ui
Executable file
@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Form</class>
|
||||
<widget class="QWidget" name="Form">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>400</width>
|
||||
<height>300</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Export</string>
|
||||
</property>
|
||||
<widget class="QCheckBox" name="checkBox">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>110</x>
|
||||
<y>180</y>
|
||||
<width>88</width>
|
||||
<height>22</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Inclue files</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
1
resources/images/add-file.svg
Executable file
1
resources/images/add-file.svg
Executable file
@ -0,0 +1 @@
|
||||
<svg height="682pt" viewBox="-69 -21 682 682.66669" width="682pt" xmlns="http://www.w3.org/2000/svg"><path d="m507.886719 469.332031h-158.71875c-5.894531 0-10.667969 4.773438-10.667969 10.667969 0 5.890625 4.773438 10.664062 10.667969 10.664062h158.71875c18.136719.21875 33.027343-14.285156 33.277343-32.425781v-319.46875c.003907-2.5625-.914062-5.042969-2.589843-6.984375l-110.722657-128.097656c-2.023437-2.34375-4.972656-3.69140625-8.074218-3.68359375h-240c-18.132813-.22265625-33.027344 14.28515575-33.273438 32.42187475v255.574219c0 5.886719 4.773438 10.664062 10.660156 10.664062 5.894532 0 10.671876-4.777343 10.671876-10.664062v-255.574219c.253906-6.355469 5.589843-11.308593 11.941406-11.089843h221.933594l.792968 112.175781c.136719 14.644531 12.023438 26.445312 26.664063 26.488281h90.664062v298.238281c-.253906 6.351563-5.59375 11.308594-11.945312 11.09375zm-84.050781-336-.695313-102.546875 93.167969 107.878906h-87.140625c-2.945313 0-5.332031-2.386718-5.332031-5.332031zm0 0"/><path d="m130.5 640h53.335938c14.726562 0 26.664062-11.945312 26.664062-26.671875v-79.996094h80c14.726562 0 26.664062-11.941406 26.664062-26.667969v-53.332031c0-14.726562-11.9375-26.667969-26.664062-26.667969h-80v-80c0-14.722656-11.9375-26.664062-26.664062-26.664062h-53.335938c-14.726562 0-26.664062 11.941406-26.664062 26.664062v80h-80c-14.730469 0-26.667969 11.941407-26.667969 26.667969v53.332031c0 14.726563 11.9375 26.667969 26.667969 26.667969h80v79.996094c0 14.726563 11.9375 26.671875 26.664062 26.671875zm-112-133.335938v-53.332031c0-2.945312 2.386719-5.332031 5.335938-5.332031h90.664062c5.894531 0 10.667969-4.777344 10.667969-10.671875v-90.664063c0-2.941406 2.390625-5.328124 5.332031-5.328124h53.335938c2.945312 0 5.332031 2.386718 5.332031 5.328124v90.664063c0 5.894531 4.773437 10.671875 10.664062 10.671875h90.667969c2.945312 0 5.332031 2.386719 5.332031 5.332031v53.332031c0 2.945313-2.386719 5.332032-5.332031 5.332032h-90.667969c-5.890625 0-10.664062 4.777344-10.664062 10.671875v90.660156c0 2.945313-2.386719 5.332031-5.332031 5.332031h-53.335938c-2.941406 0-5.332031-2.386718-5.332031-5.332031v-90.660156c0-5.894531-4.773438-10.671875-10.667969-10.671875h-90.664062c-2.949219 0-5.335938-2.386719-5.335938-5.332032zm0 0"/></svg>
|
After Width: | Height: | Size: 2.2 KiB |
69
resources/images/hover.svg
Executable file
69
resources/images/hover.svg
Executable file
@ -0,0 +1,69 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
version="1.0"
|
||||
width="90.000000pt"
|
||||
height="90.000000pt"
|
||||
viewBox="0 0 90.000000 90.000000"
|
||||
preserveAspectRatio="xMidYMid meet"
|
||||
id="svg6"
|
||||
sodipodi:docname="hover.svg"
|
||||
inkscape:version="1.0.1 (1.0.1+r74)">
|
||||
<metadata
|
||||
id="metadata12">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs10" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1015"
|
||||
id="namedview8"
|
||||
showgrid="false"
|
||||
inkscape:zoom="1.0532945"
|
||||
inkscape:cx="503.80603"
|
||||
inkscape:cy="73.381817"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg6"
|
||||
inkscape:document-rotation="0" />
|
||||
<g
|
||||
transform="translate(0.000000,90.000000) scale(0.100000,-0.100000)"
|
||||
fill="#e74c3c"
|
||||
stroke="none"
|
||||
id="g4"
|
||||
style="fill:#ff0000">
|
||||
<path
|
||||
d="M381 800 c-144 -30 -254 -145 -282 -293 -42 -232 176 -450 408 -408 230 43 361 281 270 493 -64 148 -238 240 -396 208z m16 -252 l53 -52 54 53 c55 54 87 64 94 27 3 -12 -15 -38 -49 -72 l-53 -54 53 -54 c54 -55 64 -87 27 -94 -12 -3 -38 15 -72 49 l-54 53 -54 -53 c-34 -34 -60 -52 -72 -49 -37 7 -27 39 27 94 l53 54 -52 53 c-49 49 -61 74 -45 90 16 16 41 4 90 -45z"
|
||||
id="path2"
|
||||
style="fill:#ff0000" />
|
||||
</g>
|
||||
<path
|
||||
style="fill:#ffffff;stroke-width:0.118675"
|
||||
d="m 42.62261,79.541893 c -3.116165,-1.029612 -3.0588,-3.366808 0.188254,-7.669989 1.396469,-1.850682 2.716799,-3.287387 7.281853,-7.923686 l 3.884933,-3.945562 -4.564241,-4.658394 c -6.08555,-6.211085 -7.439709,-7.775931 -8.512559,-9.836986 -1.114091,-2.140282 -1.035053,-3.553964 0.260708,-4.663088 0.708784,-0.606692 1.585574,-0.8471 2.453647,-0.672766 1.282542,0.257572 2.893989,1.177546 4.869621,2.780065 1.428652,1.15884 1.758974,1.469999 6.924701,6.522982 l 4.598323,4.497964 3.946296,-3.885655 c 5.687488,-5.60009 7.50526,-7.188761 9.834701,-8.595197 0.995727,-0.601185 2.564775,-1.190382 3.166709,-1.189138 1.329589,0.0027 2.258471,0.928126 2.636008,2.626063 0.184424,0.829434 0.11029,1.240776 -0.424886,2.357499 -1.10469,2.3051 -2.851814,4.302544 -10.665876,12.194033 l -2.497118,2.521861 2.556276,2.581175 c 7.47895,7.551799 9.180447,9.533709 10.442026,12.162912 1.118083,2.330147 0.824343,3.732631 -0.948395,4.52819 -1.468317,0.658941 -2.46373,0.517958 -4.246791,-0.601482 -2.230843,-1.400566 -3.19545,-2.25347 -9.200683,-8.135224 l -4.599753,-4.505173 -4.538243,4.437921 c -5.125509,5.012205 -5.436854,5.305171 -6.896732,6.489619 -2.79398,2.266852 -4.569855,3.037667 -5.948779,2.582056 z"
|
||||
id="path16"
|
||||
transform="scale(0.75)" />
|
||||
</svg>
|
After Width: | Height: | Size: 3.4 KiB |
61
resources/images/internet.svg
Executable file
61
resources/images/internet.svg
Executable file
@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
|
||||
<g>
|
||||
<g>
|
||||
<g>
|
||||
<path d="M472.178,34.62H39.822C17.864,34.62,0,52.484,0,74.442c0,17.955,0,345.234,0,363.116
|
||||
c0,21.958,17.864,39.822,39.822,39.822h432.356c21.958,0,39.822-17.864,39.822-39.822c0-17.89,0-345.167,0-363.116
|
||||
C512,52.484,494.136,34.62,472.178,34.62z M477.867,437.557c0,3.137-2.552,5.689-5.689,5.689H39.822
|
||||
c-3.137,0-5.689-2.552-5.689-5.689V153.838h443.733V437.557z M477.867,119.705H34.133V74.442c0-3.137,2.552-5.689,5.689-5.689
|
||||
h432.356c3.137,0,5.689,2.552,5.689,5.689V119.705z"/>
|
||||
<circle cx="71.805" cy="94.23" r="12.836"/>
|
||||
<circle cx="112.959" cy="94.23" r="12.836"/>
|
||||
<circle cx="154.112" cy="94.23" r="12.836"/>
|
||||
<path d="M81.581,334.442c4.44,13.701,22.872,16.101,30.636,3.9l10.454-16.432l10.454,16.432
|
||||
c7.744,12.169,26.195,9.801,30.636-3.9l19.857-61.278c2.906-8.967-2.008-18.591-10.975-21.497
|
||||
c-8.971-2.906-18.591,2.009-21.497,10.975l-8.681,26.791l-5.393-8.478c-6.695-10.52-22.094-10.538-28.801,0l-5.392,8.478
|
||||
l-8.681-26.79c-2.906-8.966-12.526-13.882-21.497-10.975c-8.967,2.906-13.88,12.529-10.975,21.496L81.581,334.442z"/>
|
||||
<path d="M214.911,334.442c4.446,13.72,22.905,16.052,30.636,3.9L256,321.911l10.454,16.432c7.762,12.2,26.196,9.8,30.636-3.9
|
||||
l19.855-61.278c2.906-8.967-2.008-18.59-10.975-21.496c-8.974-2.907-18.591,2.008-21.497,10.975l-8.681,26.79l-5.392-8.478
|
||||
c-6.695-10.52-22.094-10.538-28.801,0l-5.392,8.478l-8.681-26.79c-2.905-8.966-12.527-13.882-21.496-10.975
|
||||
c-8.967,2.906-13.88,12.529-10.975,21.496L214.911,334.442z"/>
|
||||
<path d="M348.241,334.442c4.446,13.72,22.905,16.051,30.636,3.9l10.454-16.432l10.454,16.432c7.762,12.2,26.195,9.8,30.636-3.9
|
||||
l19.855-61.278c2.906-8.967-2.008-18.59-10.975-21.496c-8.973-2.907-18.591,2.008-21.496,10.975l-8.681,26.79l-5.392-8.478
|
||||
c-6.695-10.52-22.095-10.538-28.801,0l-5.393,8.478l-8.681-26.791c-2.906-8.966-12.531-13.881-21.497-10.975
|
||||
c-8.967,2.906-13.88,12.53-10.974,21.497L348.241,334.442z"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.4 KiB |
66
resources/images/normal.svg
Executable file
66
resources/images/normal.svg
Executable file
@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
version="1.0"
|
||||
width="90.000000pt"
|
||||
height="90.000000pt"
|
||||
viewBox="0 0 90.000000 90.000000"
|
||||
preserveAspectRatio="xMidYMid meet"
|
||||
id="svg6"
|
||||
sodipodi:docname="icons8-macos-schließen-90_1_.svg"
|
||||
inkscape:version="1.0.1 (1.0.1+r74)">
|
||||
<metadata
|
||||
id="metadata12">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs10" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1015"
|
||||
id="namedview8"
|
||||
showgrid="false"
|
||||
inkscape:zoom="5.9583333"
|
||||
inkscape:cx="51.52995"
|
||||
inkscape:cy="53.168328"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg6" />
|
||||
<g
|
||||
transform="translate(0.000000,90.000000) scale(0.100000,-0.100000)"
|
||||
fill="#e74c3c"
|
||||
stroke="none"
|
||||
id="g4">
|
||||
<path
|
||||
d="M381 800 c-144 -30 -254 -145 -282 -293 -42 -232 176 -450 408 -408 230 43 361 281 270 493 -64 148 -238 240 -396 208z m16 -252 l53 -52 54 53 c55 54 87 64 94 27 3 -12 -15 -38 -49 -72 l-53 -54 53 -54 c54 -55 64 -87 27 -94 -12 -3 -38 15 -72 49 l-54 53 -54 -53 c-34 -34 -60 -52 -72 -49 -37 7 -27 39 27 94 l53 54 -52 53 c-49 49 -61 74 -45 90 16 16 41 4 90 -45z"
|
||||
id="path2"
|
||||
style="fill:#ffffff" />
|
||||
</g>
|
||||
<path
|
||||
style="fill:#808080;stroke-width:0.118675"
|
||||
d="m 42.62261,79.541893 c -3.116165,-1.029612 -3.0588,-3.366808 0.188254,-7.669989 1.396469,-1.850682 2.716799,-3.287387 7.281853,-7.923686 l 3.884933,-3.945562 -4.564241,-4.658394 c -6.08555,-6.211085 -7.439709,-7.775931 -8.512559,-9.836986 -1.114091,-2.140282 -1.035053,-3.553964 0.260708,-4.663088 0.708784,-0.606692 1.585574,-0.8471 2.453647,-0.672766 1.282542,0.257572 2.893989,1.177546 4.869621,2.780065 1.428652,1.15884 1.758974,1.469999 6.924701,6.522982 l 4.598323,4.497964 3.946296,-3.885655 c 5.687488,-5.60009 7.50526,-7.188761 9.834701,-8.595197 0.995727,-0.601185 2.564775,-1.190382 3.166709,-1.189138 1.329589,0.0027 2.258471,0.928126 2.636008,2.626063 0.184424,0.829434 0.11029,1.240776 -0.424886,2.357499 -1.10469,2.3051 -2.851814,4.302544 -10.665876,12.194033 l -2.497118,2.521861 2.556276,2.581175 c 7.47895,7.551799 9.180447,9.533709 10.442026,12.162912 1.118083,2.330147 0.824343,3.732631 -0.948395,4.52819 -1.468317,0.658941 -2.46373,0.517958 -4.246791,-0.601482 -2.230843,-1.400566 -3.19545,-2.25347 -9.200683,-8.135224 l -4.599753,-4.505173 -4.538243,4.437921 c -5.125509,5.012205 -5.436854,5.305171 -6.896732,6.489619 -2.79398,2.266852 -4.569855,3.037667 -5.948779,2.582056 z"
|
||||
id="path16"
|
||||
transform="scale(0.75)" />
|
||||
</svg>
|
After Width: | Height: | Size: 3.3 KiB |
8
resources/images/trash-red.svg
Executable file
8
resources/images/trash-red.svg
Executable file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="448" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<title>trash-red</title>
|
||||
<g>
|
||||
<title>Layer 1</title>
|
||||
<path fill="#ff0000" id="svg_1" d="m192,188l0,216c0,6.627 -5.373,12 -12,12l-24,0c-6.627,0 -12,-5.373 -12,-12l0,-216c0,-6.627 5.373,-12 12,-12l24,0c6.627,0 12,5.373 12,12zm100,-12l-24,0c-6.627,0 -12,5.373 -12,12l0,216c0,6.627 5.373,12 12,12l24,0c6.627,0 12,-5.373 12,-12l0,-216c0,-6.627 -5.373,-12 -12,-12zm132,-96c13.255,0 24,10.745 24,24l0,12c0,6.627 -5.373,12 -12,12l-20,0l0,336c0,26.51 -21.49,48 -48,48l-288,0c-26.51,0 -48,-21.49 -48,-48l0,-336l-20,0c-6.627,0 -12,-5.373 -12,-12l0,-12c0,-13.255 10.745,-24 24,-24l74.411,0l34.018,-56.696a48,48 0 0 1 41.16,-23.304l100.823,0a48,48 0 0 1 41.16,23.304l34.017,56.696l74.411,0zm-269.611,0l139.223,0l-17.452,-29.087a6,6 0 0 0 -5.145,-2.913l-94.028,0a6,6 0 0 0 -5.145,2.913l-17.453,29.087zm213.611,48l-288,0l0,330a6,6 0 0 0 6,6l276,0a6,6 0 0 0 6,-6l0,-330z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1019 B |
908
resources/main_window.ui
Executable file
908
resources/main_window.ui
Executable file
@ -0,0 +1,908 @@
|
||||
<?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>923</width>
|
||||
<height>684</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Athnos</string>
|
||||
</property>
|
||||
<property name="tabShape">
|
||||
<enum>QTabWidget::Rounded</enum>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QSplitter" name="main_splitter">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="opaqueResize">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<widget class="QWidget" name="verticalLayoutWidget">
|
||||
<layout class="QVBoxLayout" name="search_vlayout">
|
||||
<item>
|
||||
<widget class="QGroupBox" name="clip_hlayout">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QGroupBox {border: 1px solid grey; margin-top: 0.5em; font: 12px consolas;} QGroupBox::title {top: -6px; left: 10px}</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>Search</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_6">
|
||||
<item>
|
||||
<spacer name="verticalSpacer_4">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>QSizePolicy::Fixed</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>5</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="search_box_hlayout">
|
||||
<item>
|
||||
<widget class="QLineEdit" name="search_input">
|
||||
<property name="placeholderText">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="clearButtonEnabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="filter_box">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="currentText">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QTableView" name="clip_view">
|
||||
<property name="contextMenuPolicy">
|
||||
<enum>Qt::DefaultContextMenu</enum>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
<property name="sizeAdjustPolicy">
|
||||
<enum>QAbstractScrollArea::AdjustToContents</enum>
|
||||
</property>
|
||||
<property name="autoScroll">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="editTriggers">
|
||||
<set>QAbstractItemView::NoEditTriggers</set>
|
||||
</property>
|
||||
<property name="dragEnabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="alternatingRowColors">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="selectionMode">
|
||||
<enum>QAbstractItemView::SingleSelection</enum>
|
||||
</property>
|
||||
<property name="selectionBehavior">
|
||||
<enum>QAbstractItemView::SelectRows</enum>
|
||||
</property>
|
||||
<property name="sortingEnabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<attribute name="horizontalHeaderShowSortIndicator" stdset="0">
|
||||
<bool>true</bool>
|
||||
</attribute>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QSplitter" name="clip_source_splitter">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<widget class="QGroupBox" name="clip_group_box">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QGroupBox {border: 1px solid grey; margin-top: 0.5em; font: 12px consolas;} QGroupBox::title {top: -6px; left: 10px}</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>Clip</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||
<item>
|
||||
<spacer name="verticalSpacer_3">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>QSizePolicy::Fixed</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>5</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="file_url_hlayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="file_url_label">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>70</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>File / URL</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="file_url_edit"/>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Line" name="extended_view_clip_line">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="name_hlayout">
|
||||
<property name="sizeConstraint">
|
||||
<enum>QLayout::SetDefaultConstraint</enum>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="name_label">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>70</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Name</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="name_edit">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="description_hlayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="description_label">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>70</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Description</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="openExternalLinks">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPlainTextEdit" name="description_edit">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Line" name="line">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="type_hlayout">
|
||||
<property name="sizeConstraint">
|
||||
<enum>QLayout::SetDefaultConstraint</enum>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="type_label">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>70</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Type</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="type_box">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="editable">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="currentText">
|
||||
<string>Other</string>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>3</number>
|
||||
</property>
|
||||
<property name="duplicatesEnabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="placeholderText" stdset="0">
|
||||
<string/>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Audio</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Image</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Video</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Other</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="tags_hlayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="tags_label">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>70</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Tags</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QScrollArea" name="tags_edit">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="widgetResizable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<widget class="QWidget" name="scrollAreaWidgetContents">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>483</width>
|
||||
<height>83</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="editing_hlayout">
|
||||
<item>
|
||||
<widget class="QPushButton" name="save_button">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Save</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>QSizePolicy::Fixed</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>15</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="enable_editing_check_box">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Enable editing</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_2">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>QSizePolicy::Fixed</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>15</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="delete_button">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Delete</string>
|
||||
</property>
|
||||
<property name="checkable">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QGroupBox" name="source_group_box">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QGroupBox {border: 1px solid grey; margin-top: 0.5em; font: 12px consolas;} QGroupBox::title {top: -6px; left: 10px}</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>Source</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
<spacer name="verticalSpacer_2">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>QSizePolicy::Fixed</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>5</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="from_hlayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="from_label">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>From</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="source_name">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_4">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>QSizePolicy::Fixed</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>7</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="season_label">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Season</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="source_season">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="baseSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_5">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>QSizePolicy::Fixed</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>7</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="episode_label">
|
||||
<property name="text">
|
||||
<string>Episode</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="source_episode">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="baseSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="source_descriptio_hlayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="source_description_label">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>70</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Description</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPlainTextEdit" name="source_description_edit">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="source_type_hlayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="source_type_label">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>70</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Type</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="source_type_box">
|
||||
<property name="currentIndex">
|
||||
<number>3</number>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Audio</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Movie</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Series</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Other</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="edit_change_hlayout">
|
||||
<item>
|
||||
<widget class="QPushButton" name="edit_source_button">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Edit source</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="change_source_button">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Change source</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QMenuBar" name="menubar">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>923</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
<widget class="QMenu" name="settings_menu">
|
||||
<property name="title">
|
||||
<string>Settings</string>
|
||||
</property>
|
||||
<widget class="QMenu" name="style_menu">
|
||||
<property name="title">
|
||||
<string>Style</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QMenu" name="update_menu">
|
||||
<property name="title">
|
||||
<string>Updates</string>
|
||||
</property>
|
||||
<widget class="QMenu" name="update_message_menu">
|
||||
<property name="title">
|
||||
<string>Update message</string>
|
||||
</property>
|
||||
<addaction name="on_major_update"/>
|
||||
<addaction name="on_minor_update"/>
|
||||
<addaction name="on_patch"/>
|
||||
</widget>
|
||||
<addaction name="check_for_updates_on_startup"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="update_message_menu"/>
|
||||
<addaction name="check_for_updates"/>
|
||||
</widget>
|
||||
<addaction name="connect_to_database"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="style_menu"/>
|
||||
<addaction name="update_menu"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menuHelp">
|
||||
<property name="title">
|
||||
<string>Help</string>
|
||||
</property>
|
||||
<addaction name="about"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="file_menu">
|
||||
<property name="title">
|
||||
<string>File</string>
|
||||
</property>
|
||||
<addaction name="file_import"/>
|
||||
<addaction name="file_export"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="add_clip"/>
|
||||
<addaction name="add_source"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="close_window"/>
|
||||
</widget>
|
||||
<addaction name="file_menu"/>
|
||||
<addaction name="settings_menu"/>
|
||||
<addaction name="menuHelp"/>
|
||||
</widget>
|
||||
<action name="connect_to_database">
|
||||
<property name="text">
|
||||
<string>Connect to database...</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="check_for_updates_on_startup">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Check for updates on startup</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="check_for_updates">
|
||||
<property name="text">
|
||||
<string>Check for updates...</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="on_major_update">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>On major update</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="on_minor_update">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>On minor update</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="on_patch">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>On patch</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="about">
|
||||
<property name="text">
|
||||
<string>About</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="file_import">
|
||||
<property name="text">
|
||||
<string>Import...</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="file_export">
|
||||
<property name="text">
|
||||
<string>Export...</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="close_window">
|
||||
<property name="text">
|
||||
<string>Close</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="add_clip">
|
||||
<property name="text">
|
||||
<string>Add clip...</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="add_source">
|
||||
<property name="text">
|
||||
<string>Add source...</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
11
resources/resources.qrc
Executable file
11
resources/resources.qrc
Executable file
@ -0,0 +1,11 @@
|
||||
<RCC>
|
||||
<qresource prefix="/tags">
|
||||
<file alias="delete_hover">images/hover.svg</file>
|
||||
<file alias="delete">images/normal.svg</file>
|
||||
</qresource>
|
||||
<qresource prefix="/file_url">
|
||||
<file alias="internet">images/internet.svg</file>
|
||||
<file alias="trash">images/trash-red.svg</file>
|
||||
<file alias="add_file">images/add-file.svg</file>
|
||||
</qresource>
|
||||
</RCC>
|
120
resources/show_source.ui
Executable file
120
resources/show_source.ui
Executable file
@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Form</class>
|
||||
<widget class="QWidget" name="Form">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>815</width>
|
||||
<height>530</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Show source</string>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QSplitter" name="main_splitter">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<widget class="QFrame" name="source_frame">
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="source_label">
|
||||
<property name="text">
|
||||
<string>Source</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="search_edit">
|
||||
<property name="placeholderText">
|
||||
<string>Search for source...</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QTableView" name="source_table_view">
|
||||
<property name="editTriggers">
|
||||
<set>QAbstractItemView::NoEditTriggers</set>
|
||||
</property>
|
||||
<property name="selectionMode">
|
||||
<enum>QAbstractItemView::SingleSelection</enum>
|
||||
</property>
|
||||
<property name="selectionBehavior">
|
||||
<enum>QAbstractItemView::SelectRows</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="select_source_button">
|
||||
<property name="text">
|
||||
<string>Select source</string>
|
||||
</property>
|
||||
<property name="autoDefault">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="default">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="flat">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QFrame" name="all_tags_frame">
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
<widget class="QLabel" name="all_tags_label">
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>All tags using this source</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QTableView" name="all_tags_table_view">
|
||||
<property name="editTriggers">
|
||||
<set>QAbstractItemView::NoEditTriggers</set>
|
||||
</property>
|
||||
<property name="selectionMode">
|
||||
<enum>QAbstractItemView::SingleSelection</enum>
|
||||
</property>
|
||||
<property name="selectionBehavior">
|
||||
<enum>QAbstractItemView::SelectRows</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
Reference in New Issue
Block a user