Init
This commit is contained in:
@@ -25,6 +25,7 @@ cVideoWidget::~cVideoWidget()
|
||||
void cVideoWidget::initUI()
|
||||
{
|
||||
ui->setupUi(this);
|
||||
ui->m_lpInformationTab->setCurrentIndex(0);
|
||||
|
||||
m_lpVideoModel = new QStandardItemModel(0, 1);
|
||||
QStringList headerLabels = QStringList() << tr("Video");
|
||||
|
||||
+109
-62
@@ -6,8 +6,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>635</width>
|
||||
<height>505</height>
|
||||
<width>1072</width>
|
||||
<height>734</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
@@ -63,74 +63,121 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>354</width>
|
||||
<height>485</height>
|
||||
<width>791</width>
|
||||
<height>714</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_6">
|
||||
<item row="0" column="0">
|
||||
<widget class="QGroupBox" name="m_lpFanartBox">
|
||||
<property name="title">
|
||||
<string>Fanart</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_2">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="m_lpFanart">
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout" stretch="1,0">
|
||||
<item>
|
||||
<widget class="QTabWidget" name="m_lpInformationTab">
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="m_lpInformationTabBasic">
|
||||
<attribute name="title">
|
||||
<string>Basic</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QGroupBox" name="m_lpPosterBox">
|
||||
<property name="title">
|
||||
<string>Poster</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_3">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="m_lpPoster">
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QWidget" name="m_lpInformationTabExtended">
|
||||
<attribute name="title">
|
||||
<string>Extended</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QGroupBox" name="m_lpThumbBox">
|
||||
<property name="title">
|
||||
<string>Thumb</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_4">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="m_lpThumb">
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QWidget" name="m_lpInformationTabCrew">
|
||||
<attribute name="title">
|
||||
<string>Crew</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QGroupBox" name="m_lpBannerBox">
|
||||
<property name="title">
|
||||
<string>Banner</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_5">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="m_lpBanner">
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<widget class="QWidget" name="m_lpInformationTabStream">
|
||||
<attribute name="title">
|
||||
<string>Stream</string>
|
||||
</attribute>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QGroupBox" name="m_lpFanartBox">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>500</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="baseSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>Fanart</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_2">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="m_lpFanart">
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="m_lpPosterBox">
|
||||
<property name="title">
|
||||
<string>Poster</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_3">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="m_lpPoster">
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="m_lpThumbBox">
|
||||
<property name="title">
|
||||
<string>Thumb</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_4">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="m_lpThumb">
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="m_lpBannerBox">
|
||||
<property name="title">
|
||||
<string>Banner</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_5">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="m_lpBanner">
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
|
||||
@@ -1,10 +1,19 @@
|
||||
#include "cmainwindow.h"
|
||||
#include <QApplication>
|
||||
#include <QTranslator>
|
||||
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QApplication a(argc, argv);
|
||||
cMainWindow w;
|
||||
QTranslator translator;
|
||||
|
||||
translator.load("qtKodiDB_de");
|
||||
|
||||
QApplication a(argc, argv);
|
||||
a.installTranslator(&translator);
|
||||
|
||||
cMainWindow w;
|
||||
|
||||
w.showMaximized();
|
||||
//w.show();
|
||||
//w.resize(100, 100);
|
||||
|
||||
@@ -11,6 +11,7 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
TARGET = qtKodiDB
|
||||
TEMPLATE = app
|
||||
|
||||
TRANSLATIONS = qtKodiDB_de.ts
|
||||
|
||||
SOURCES += main.cpp\
|
||||
cmainwindow.cpp \
|
||||
|
||||
Reference in New Issue
Block a user