[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [gluon/creator-distributionsupport-shreya] creator/plugins/docks/distributiondock: Changing docker U
From: Shreya Pandit <shreya () shreyapandit ! com>
Date: 2012-08-17 17:38:32
Message-ID: 20120817173832.CC8F6A6094 () git ! kde ! org
[Download RAW message or body]
Git commit 608d72b1db2aa211316f6f8d908d9ca260e14a03 by Shreya Pandit.
Committed on 17/08/2012 at 10:34.
Pushed by pandit into branch 'creator-distributionsupport-shreya'.
Changing docker Ui to be more 'social' in nature
M +88 -10 creator/plugins/docks/distributiondock/distributiondock.cpp
M +15 -2 creator/plugins/docks/distributiondock/distributiondock.h
M +733 -3 creator/plugins/docks/distributiondock/distributiondock.ui
http://commits.kde.org/gluon/608d72b1db2aa211316f6f8d908d9ca260e14a03
diff --git a/creator/plugins/docks/distributiondock/distributiondock.cpp \
b/creator/plugins/docks/distributiondock/distributiondock.cpp index 3f286cd..89b9126 \
100644
--- a/creator/plugins/docks/distributiondock/distributiondock.cpp
+++ b/creator/plugins/docks/distributiondock/distributiondock.cpp
@@ -32,10 +32,12 @@
#include <player/lib/gamedetailsjob.h>
#include <player/lib/gameuploadjob.h>
#include <player/lib/archive/archiver.h>
-
+#include <engine/projectmetadata.h>
+#include <KToolBar>
#include <KDE/KLocalizedString>
#include <QWebView>
#include <QDebug>
+#include <KPushButton>
#include <QtGui/QPushButton>
#include <QtCore/QStateMachine>
#include <QtCore/QHistoryState>
@@ -52,15 +54,27 @@ class DistributionDock::DistributionDockPrivate
QString currentGameId;
QWidget widget;
+ KPushButton *statsButton;
+ KPushButton *eventsButton;
+ KPushButton *backButton1;
+ KPushButton *backButton2;
Ui::DistributionDock ui;
QStringList categoryIds;
GluonPlayer::EditGameJob* editGameJob;
QStateMachine machine;
QStringList licenseIds;
+ QListView* m_commentsView;
+ GluonKDEPlayer::CommentItemsViewDelegate* m_commentsDelegate;
+ GluonPlayer::CommentItemsModel* m_commentsModel;
+ NewCommentForm* m_newCommentForm;
QState* loggedOutState;
QState* loggingInState;
QState* optionState;
+ QState* parentSocialState;
+ QState* initial;
+ QState* statsState;
+ QState* eventState;
QState* loggedInState;
QState* fetchingState;
QState* editingState;
@@ -69,22 +83,56 @@ class DistributionDock::DistributionDockPrivate
QState* uploadingState;
QHistoryState* stateBeforeUploading;
QState* uploadFinishedState;
+
};
DistributionDock::DistributionDock( const QString& title, QWidget* parent, \
Qt::WindowFlags flags )
: QDockWidget( title, parent, flags ), d( new DistributionDockPrivate() )
{
setObjectName( "Distribution Dock" );
-
d->ui.setupUi( &d->widget );
-
+ KToolBar* toolBar = new KToolBar( this );
+ toolBar->setIconDimensions( 16 );
+ QAction* changeDetailsAction = toolBar->addAction( KIcon( "document-change" ), \
i18n( "Change Game Details" ), this, SLOT(changedetailsChosen())); + QAction* \
uploadNewAction = toolBar->addAction( KIcon( "document-upload" ), i18n( "Upload New \
Game" ), this, SLOT(testWizard())); + setWidget( &d->widget );
+
+ d->m_commentsView = new QListView( this );
+ d->m_commentsDelegate = new CommentItemsViewDelegate( m_commentsView, this );
+ d->m_commentsModel = new GluonPlayer::CommentItemsModel( \
metaData->projectId()); + d->m_newCommentForm = new NewCommentForm( this );
+
+ d->ui.menuLayout->addWidget(toolBar);
+ d->statsButton = new KPushButton(this);
+ d->eventsButton = new KPushButton(this);
+ d->statsButton->setIcon( KIcon( "go-next-view" ) );
+ d->eventsButton->setIcon( KIcon( "go-next-view" ) );
+ d->statsButton->setText( i18nc( "View", "View" ) );
+ d->eventsButton->setText( i18nc( "View", "View" ) );
+ d->statsButton->setSizePolicy( QSizePolicy::Fixed, QSizePolicy::Fixed );
+ d->eventsButton->setSizePolicy( QSizePolicy::Fixed, QSizePolicy::Fixed );
+ d->ui.buttonsLayout->addWidget(d->statsButton);
+ d->ui.buttonsLayout->addWidget(d->eventsButton);
+ d->backButton1 = new KPushButton(this);
+ d->backButton2 = new KPushButton(this);
+ d->backButton1->setIcon( KIcon( "go-previous-view" ) );
+ d->backButton2->setIcon( KIcon( "go-previous-view" ) );
+ d->backButton1->setText( i18nc( "Go Back", "Back" ) );
+ d->backButton2->setText( i18nc("Go Back", "Back" ) );
+ d->backButton1->setSizePolicy( QSizePolicy::Fixed, QSizePolicy::Fixed );
+ d->backButton2->setSizePolicy( QSizePolicy::Fixed, QSizePolicy::Fixed );
+ d->ui.buttonlayout1->addWidget(d->backButton1);
+ d->ui.buttonlayout2->addWidget(d->backButton2);
initGuiStates();
-
updateCategories();
updateLicenses();
loadCredentials();
+
- setWidget( &d->widget );
+}
+void DistributionDock::changedetailsChosen()
+{
+ qDebug()<<"change details is chosen";
}
DistributionDock::~DistributionDock()
@@ -238,10 +286,15 @@ void DistributionDock::initGuiStates()
d->loggedOutState = new QState();
d->loggingInState = new QState();
d->loggedInState = new QState();
- d->optionState = new QState( d->loggedInState );
+ d->optionState = new QState();
+ d->parentSocialState = new QState( d->loggedInState );
+ d->statsState = new QState( d->parentSocialState);
+ d->eventState = new QState( d->parentSocialState );
+ d->initial = new QState( d->parentSocialState );
d->fetchingState = new QState( d->loggedInState );
d->editingState = new QState( d->loggedInState);
- d->loggedInState->setInitialState( d->optionState );
+ d->loggedInState->setInitialState( d->parentSocialState );
+ d->parentSocialState->setInitialState(d->initial);
d->createState = new QState( d->editingState );
d->updateState = new QState( d->editingState );
d->editingState->setInitialState( d->createState );
@@ -254,6 +307,10 @@ void DistributionDock::initGuiStates()
d->machine.addState( d->loggedOutState );
d->machine.addState( d->loggingInState );
d->machine.addState( d->loggedInState );
+ d->machine.addState(d->parentSocialState);
+ d->machine.addState(d->initial);
+ d->machine.addState(d->statsState);
+ d->machine.addState(d->eventState);
d->machine.addState(d->optionState);
d->machine.addState( d->fetchingState );
d->machine.addState( d->editingState );
@@ -271,13 +328,26 @@ void DistributionDock::initGuiStates()
d->loggingInState->assignProperty( d->ui.loginButton, "text", i18n( "Logging In" \
) );
d->loggingInState->assignProperty( d->ui.loginPage, "enabled", false );
- d->loggedInState->assignProperty( d->ui.stackedWidget, "currentIndex", \
d->ui.stackedWidget->indexOf( d->ui.welcomePage ) ); + \
d->loggedInState->assignProperty( d->ui.stackedWidget, "currentIndex", \
d->ui.stackedWidget->indexOf( d->ui.parentSocialPage ) ); + \
d->initial->assignProperty(d->statsButton,"enabled",true); + \
d->initial->assignProperty(d->eventsButton,"enabled",true); + \
d->initial->addTransition(d->statsButton, SIGNAL(clicked()), d->statsState); + \
d->initial->addTransition(d->eventsButton, SIGNAL(clicked()), d->eventState); +
+ d->statsState->assignProperty( d->ui.stackedWidget, "currentIndex", \
d->ui.stackedWidget->indexOf( d->ui.statsPage ) ); + \
d->statsState->addTransition(d->backButton1, SIGNAL(clicked()), d->loggedOutState); + \
d->eventState->assignProperty( d->ui.stackedWidget, "currentIndex", \
d->ui.stackedWidget->indexOf( d->ui.eventsPage ) ); + \
d->eventState->addTransition(d->backButton2, SIGNAL(clicked()), d->loggedOutState); +
d->optionState->assignProperty( d->ui.loginChanged, "enabled", true );
d->optionState->assignProperty( d->ui.changeDetails, "enabled", true );
d->optionState->addTransition(d->ui.loginChanged, SIGNAL(clicked()), \
d->loggedOutState);
d->optionState->addTransition(d->ui.changeDetails, SIGNAL(clicked()), \
d->fetchingState);
+// d->parentSocialState->addTransition(d->ui.statsButton, SIGNAL(clicked()), \
d->loggedOutState); + // d->optionState->addTransition(d->ui.eventsButton, \
SIGNAL(clicked()), d->fetchingState); +
d->editingState->assignProperty( d->ui.gamePage, "enabled", true );
d->fetchingState->assignProperty( d->ui.detailsGroupBox, "enabled", false );
@@ -306,8 +376,10 @@ void DistributionDock::initGuiStates()
d->fetchingState );
d->uploadingState->addTransition( this, SIGNAL(gameUploadFinished()), \
d->uploadFinishedState );
- connect( d->loggingInState, SIGNAL(entered()), this, SLOT(doLogin()) );
+ connect( d->loggingInState, SIGNAL(entered()), this, SLOT(doLogin()));
connect( d->ui.uploadNew, SIGNAL(clicked()), this, SLOT(testWizard()));
+ connect( d->backButton1, SIGNAL(clicked()), this, SLOT(goBack()));
+ connect( d->backButton2, SIGNAL(clicked()), this, SLOT(goBack()));
connect( d->ui.registerButton, SIGNAL(clicked()), this, SLOT(registerOnline()));
connect( d->optionState, SIGNAL(entered()), this, SLOT(setLoginName()));
connect( d->fetchingState, SIGNAL(entered()), this, \
SLOT(updateUiFromGameProject()) ); @@ -322,6 +394,11 @@ void \
DistributionDock::onFetch()
d->ui.stackedWidget->setCurrentIndex( d->ui.stackedWidget->indexOf( \
d->ui.gamePage )); d->fetchingState->addTransition(d->editingState);
}
+void DistributionDock::goBack()
+{
+ qDebug()<<"IN GO BACK SLOT";
+ d->ui.stackedWidget->setCurrentIndex(d->ui.stackedWidget->indexOf(d->ui.parentSocialPage));
+}
void DistributionDock::testWizard()
{
@@ -345,7 +422,8 @@ void DistributionDock::gameDetailsFetched( )
d->ui.licenseList->setCurrentIndex( d->licenseIds.indexOf( \
gameDetails->license() ) );
d->ui.descriptionEdit->setPlainText( gameDetails->gameDescription() );
d->ui.changelogEdit->setPlainText( gameDetails->changelog() );
-
+
+
emit switchToUpdateMode();
}
diff --git a/creator/plugins/docks/distributiondock/distributiondock.h \
b/creator/plugins/docks/distributiondock/distributiondock.h index 335db7d..2844be6 \
100644
--- a/creator/plugins/docks/distributiondock/distributiondock.h
+++ b/creator/plugins/docks/distributiondock/distributiondock.h
@@ -22,6 +22,12 @@
#define GLUON_CREATOR_DISTRIBUTIONDOCK_H
#include <QtGui/QDockWidget>
+ #include <QListView>
+ #include <player/desktop/delegates/commentitemsviewdelegate.h>
+ #include <player/lib/models/commentitemsmodel.h>
+ #include <player/desktop/views/newcommentform.h>
+ #include <engine/projectmetadata.h>
+
namespace GluonPlayer
{
@@ -45,7 +51,7 @@
virtual ~DistributionDock();
class DistributionDockPrivate;
DistributionDockPrivate* const d;
-
+ void loadComments();
void initGuiStates();
void fetchExistingGameDetails();
@@ -70,13 +76,20 @@
QString createArchive( );
void uploadGameArchive();
void registerOnline();
+ void goBack();
+ void changedetailsChosen();
+
+ void addNewComment( QModelIndex parentIndex, QString title, QString body );
+ void cancelNewComment( );
+ void showReplyForm( const QModelIndex& index );
+ void commentFailed( );
+
Q_SIGNALS:
void switchToCreateMode();
void switchToUpdateMode();
void gameUploadFinished();
-// private:
};
}
diff --git a/creator/plugins/docks/distributiondock/distributiondock.ui \
b/creator/plugins/docks/distributiondock/distributiondock.ui index 688c260..e2216e2 \
100644
--- a/creator/plugins/docks/distributiondock/distributiondock.ui
+++ b/creator/plugins/docks/distributiondock/distributiondock.ui
@@ -20,7 +20,7 @@
<item>
<widget class="QStackedWidget" name="stackedWidget">
<property name="currentIndex">
- <number>0</number>
+ <number>2</number>
</property>
<widget class="QWidget" name="loginPage">
<layout class="QVBoxLayout" name="verticalLayout_11">
@@ -120,6 +120,736 @@
</item>
</layout>
</widget>
+ <widget class="QWidget" name="parentSocialPage">
+ <widget class="QWidget" name="verticalLayoutWidget_2">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>10</y>
+ <width>451</width>
+ <height>31</height>
+ </rect>
+ </property>
+ <layout class="QVBoxLayout" name="menuLayout"/>
+ </widget>
+ <widget class="QWidget" name="widget" native="true">
+ <property name="geometry">
+ <rect>
+ <x>19</x>
+ <y>69</y>
+ <width>181</width>
+ <height>91</height>
+ </rect>
+ </property>
+ <widget class="QLabel" name="label_14">
+ <property name="geometry">
+ <rect>
+ <x>10</x>
+ <y>50</y>
+ <width>139</width>
+ <height>49</height>
+ </rect>
+ </property>
+ <property name="font">
+ <font>
+ <pointsize>10</pointsize>
+ </font>
+ </property>
+ <property name="text">
+ <string>Social Events</string>
+ </property>
+ </widget>
+ <widget class="QLabel" name="label_11">
+ <property name="geometry">
+ <rect>
+ <x>10</x>
+ <y>10</y>
+ <width>149</width>
+ <height>49</height>
+ </rect>
+ </property>
+ <property name="palette">
+ <palette>
+ <active>
+ <colorrole role="WindowText">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>0</red>
+ <green>0</green>
+ <blue>0</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Button">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>65</red>
+ <green>65</green>
+ <blue>247</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Light">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>183</red>
+ <green>183</green>
+ <blue>255</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Midlight">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>124</red>
+ <green>124</green>
+ <blue>251</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Dark">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>32</red>
+ <green>32</green>
+ <blue>123</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Mid">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>43</red>
+ <green>43</green>
+ <blue>165</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Text">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>0</red>
+ <green>0</green>
+ <blue>0</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="BrightText">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>255</red>
+ <green>255</green>
+ <blue>255</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="ButtonText">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>0</red>
+ <green>0</green>
+ <blue>0</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Base">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>255</red>
+ <green>255</green>
+ <blue>255</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Window">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>65</red>
+ <green>65</green>
+ <blue>247</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Shadow">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>0</red>
+ <green>0</green>
+ <blue>0</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="AlternateBase">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>160</red>
+ <green>160</green>
+ <blue>251</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="ToolTipBase">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>255</red>
+ <green>255</green>
+ <blue>220</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="ToolTipText">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>0</red>
+ <green>0</green>
+ <blue>0</blue>
+ </color>
+ </brush>
+ </colorrole>
+ </active>
+ <inactive>
+ <colorrole role="WindowText">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>0</red>
+ <green>0</green>
+ <blue>0</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Button">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>65</red>
+ <green>65</green>
+ <blue>247</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Light">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>183</red>
+ <green>183</green>
+ <blue>255</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Midlight">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>124</red>
+ <green>124</green>
+ <blue>251</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Dark">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>32</red>
+ <green>32</green>
+ <blue>123</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Mid">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>43</red>
+ <green>43</green>
+ <blue>165</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Text">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>0</red>
+ <green>0</green>
+ <blue>0</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="BrightText">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>255</red>
+ <green>255</green>
+ <blue>255</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="ButtonText">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>0</red>
+ <green>0</green>
+ <blue>0</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Base">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>255</red>
+ <green>255</green>
+ <blue>255</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Window">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>65</red>
+ <green>65</green>
+ <blue>247</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Shadow">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>0</red>
+ <green>0</green>
+ <blue>0</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="AlternateBase">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>160</red>
+ <green>160</green>
+ <blue>251</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="ToolTipBase">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>255</red>
+ <green>255</green>
+ <blue>220</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="ToolTipText">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>0</red>
+ <green>0</green>
+ <blue>0</blue>
+ </color>
+ </brush>
+ </colorrole>
+ </inactive>
+ <disabled>
+ <colorrole role="WindowText">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>32</red>
+ <green>32</green>
+ <blue>123</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Button">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>65</red>
+ <green>65</green>
+ <blue>247</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Light">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>183</red>
+ <green>183</green>
+ <blue>255</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Midlight">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>124</red>
+ <green>124</green>
+ <blue>251</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Dark">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>32</red>
+ <green>32</green>
+ <blue>123</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Mid">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>43</red>
+ <green>43</green>
+ <blue>165</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Text">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>32</red>
+ <green>32</green>
+ <blue>123</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="BrightText">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>255</red>
+ <green>255</green>
+ <blue>255</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="ButtonText">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>32</red>
+ <green>32</green>
+ <blue>123</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Base">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>65</red>
+ <green>65</green>
+ <blue>247</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Window">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>65</red>
+ <green>65</green>
+ <blue>247</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="Shadow">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>0</red>
+ <green>0</green>
+ <blue>0</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="AlternateBase">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>65</red>
+ <green>65</green>
+ <blue>247</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="ToolTipBase">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>255</red>
+ <green>255</green>
+ <blue>220</blue>
+ </color>
+ </brush>
+ </colorrole>
+ <colorrole role="ToolTipText">
+ <brush brushstyle="SolidPattern">
+ <color alpha="255">
+ <red>0</red>
+ <green>0</green>
+ <blue>0</blue>
+ </color>
+ </brush>
+ </colorrole>
+ </disabled>
+ </palette>
+ </property>
+ <property name="font">
+ <font>
+ <pointsize>10</pointsize>
+ <weight>50</weight>
+ <bold>false</bold>
+ </font>
+ </property>
+ <property name="text">
+ <string>Project Statistics</string>
+ </property>
+ </widget>
+ </widget>
+ <widget class="QWidget" name="verticalLayoutWidget_3">
+ <property name="geometry">
+ <rect>
+ <x>250</x>
+ <y>80</y>
+ <width>111</width>
+ <height>81</height>
+ </rect>
+ </property>
+ <layout class="QVBoxLayout" name="buttonsLayout"/>
+ </widget>
+ </widget>
+ <widget class="QWidget" name="statsPage">
+ <widget class="QWidget" name="horizontalLayoutWidget_2">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>421</width>
+ <height>51</height>
+ </rect>
+ </property>
+ <layout class="QHBoxLayout" name="buttonlayout1">
+ <item>
+ <widget class="QLabel" name="label_17">
+ <property name="text">
+ <string> Know real time game statistics \
</string> + </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="backbutton">
+ <property name="text">
+ <string>Back</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QGroupBox" name="groupBox_2">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>60</y>
+ <width>431</width>
+ <height>301</height>
+ </rect>
+ </property>
+ <property name="title">
+ <string/>
+ </property>
+ <widget class="QWidget" name="verticalLayoutWidget_4">
+ <property name="geometry">
+ <rect>
+ <x>10</x>
+ <y>80</y>
+ <width>160</width>
+ <height>171</height>
+ </rect>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout_13">
+ <item>
+ <widget class="QLabel" name="label_20">
+ <property name="text">
+ <string>This month</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="label_21">
+ <property name="text">
+ <string>This week</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="label_22">
+ <property name="text">
+ <string>Today</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QLabel" name="label_16">
+ <property name="geometry">
+ <rect>
+ <x>10</x>
+ <y>40</y>
+ <width>121</width>
+ <height>21</height>
+ </rect>
+ </property>
+ <property name="text">
+ <string>Downloads</string>
+ </property>
+ </widget>
+ <widget class="QWidget" name="verticalLayoutWidget_5">
+ <property name="geometry">
+ <rect>
+ <x>220</x>
+ <y>80</y>
+ <width>160</width>
+ <height>171</height>
+ </rect>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout_14">
+ <item>
+ <widget class="QLabel" name="monthDownloadLabel">
+ <property name="text">
+ <string/>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="weekDownloadlabel">
+ <property name="text">
+ <string/>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="dayDownloadLabel">
+ <property name="text">
+ <string/>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QLabel" name="label_19">
+ <property name="geometry">
+ <rect>
+ <x>10</x>
+ <y>270</y>
+ <width>161</width>
+ <height>21</height>
+ </rect>
+ </property>
+ <property name="text">
+ <string>Reported Playtime this week</string>
+ </property>
+ </widget>
+ <widget class="QLabel" name="playtimeLabel">
+ <property name="geometry">
+ <rect>
+ <x>230</x>
+ <y>270</y>
+ <width>161</width>
+ <height>21</height>
+ </rect>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ </widget>
+ <zorder>verticalLayoutWidget_4</zorder>
+ <zorder>label_16</zorder>
+ <zorder>verticalLayoutWidget_5</zorder>
+ <zorder>monthDownloadLabel</zorder>
+ <zorder>label_19</zorder>
+ <zorder>playtimeLabel</zorder>
+ </widget>
+ </widget>
+ <widget class="QWidget" name="evenstPage">
+ <widget class="QWidget" name="horizontalLayoutWidget_6">
+ <property name="geometry">
+ <rect>
+ <x>10</x>
+ <y>10</y>
+ <width>421</width>
+ <height>41</height>
+ </rect>
+ </property>
+ <layout class="QHBoxLayout" name="buttonlayout2">
+ <item>
+ <widget class="QLabel" name="label_18">
+ <property name="text">
+ <string>See comments , give feedback and much more!</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QToolBox" name="toolBox">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="geometry">
+ <rect>
+ <x>20</x>
+ <y>70</y>
+ <width>391</width>
+ <height>311</height>
+ </rect>
+ </property>
+ <property name="currentIndex">
+ <number>2</number>
+ </property>
+ <widget class="QWidget" name="screenshotTab">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>381</width>
+ <height>220</height>
+ </rect>
+ </property>
+ <attribute name="label">
+ <string>Screenshot</string>
+ </attribute>
+ </widget>
+ <widget class="QWidget" name="commentsTab">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>381</width>
+ <height>220</height>
+ </rect>
+ </property>
+ <attribute name="label">
+ <string>Comments</string>
+ </attribute>
+ </widget>
+ <widget class="QWidget" name="reviewTab">
+ <attribute name="label">
+ <string>New Review</string>
+ </attribute>
+ <widget class="QPlainTextEdit" name="reviewEdit">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>321</width>
+ <height>171</height>
+ </rect>
+ </property>
+ </widget>
+ <widget class="QPushButton" name="submitButton">
+ <property name="geometry">
+ <rect>
+ <x>230</x>
+ <y>190</y>
+ <width>91</width>
+ <height>24</height>
+ </rect>
+ </property>
+ <property name="text">
+ <string>Submit</string>
+ </property>
+ </widget>
+ </widget>
+ </widget>
+ </widget>
<widget class="QWidget" name="gamePage">
<layout class="QVBoxLayout" name="verticalLayout_7">
<item>
@@ -132,7 +862,7 @@
<rect>
<x>0</x>
<y>0</y>
- <width>408</width>
+ <width>170</width>
<height>465</height>
</rect>
</property>
@@ -340,7 +1070,7 @@
<rect>
<x>0</x>
<y>50</y>
- <width>151</width>
+ <width>153</width>
<height>141</height>
</rect>
</property>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic