#1 Prettified UI request
Closed 8 months ago by imzubin. Opened 8 months ago by thisisshub.
fedora-qa/ thisisshub/fedora-gooey-karma master  into  master

Fixed multiple radio button choice bug
Shubhashish Dixit • 8 months ago  
Initial Commit
Shubhashish Dixit • 8 months ago  
test minor changes
Shubhashish Dixit • 8 months ago  
file modified
-3

@@ -10,9 +10,6 @@ 

      python3-fedora

      PyQt5

  

- 

- ## usage

- 

  ### Clone the repo

  

      git clone https://pagure.io/fedora-qa/fedora-gooey-karma.git

file modified
+3 -11

@@ -1,12 +1,7 @@ 

  #!/bin/python3

  

- 

- 

  # import system stuff

- import os

- import sys

- import json

- import pprint

+ import os,sys,json,pprint

  from pathlib import Path

  from ast import literal_eval

  

@@ -17,16 +12,13 @@ 

  from FedoraGooeyMainWindow import Ui_MainWindow

  from FedoraGooeyLoginWindow import Ui_Login

  

- 

- 

  #  import Fedora libs

- from bodhi.client.bindings import BodhiClient

+ from bodhiCalls import BodhiClient

  from fedora.client import FasProxyClient, openidbaseclient

  

  location_data = str(Path.home()) + "/.fgk"

  location_assets = "/usr/share/fedora-gooey-karma/"

  

- 

  class Main():

          def __init__(self):

                  

@@ -201,7 +193,7 @@ 

                          print(e)

  

          def postKarma(self):

-                 t = self.ui.Package_breif.text()

+                 t = self.ui.Package_name_main()

                  print(t)

                  if (not self.login):

                                  error_dialog = QtWidgets.QErrorMessage()

file modified
+220 -193

@@ -1,6 +1,6 @@ 

  # -*- coding: utf-8 -*-

  

- # Form implementation generated from reading ui file 'ui/MainWindow.ui'

+ # Form implementation generated from reading ui file 'MainWindow.ui'

  #

  # Created by: PyQt5 UI code generator 5.13.0

  #

@@ -22,6 +22,9 @@ 

          self.loginButton = QtWidgets.QPushButton(self.centralwidget)

          self.loginButton.setObjectName("loginButton")

          self.gridLayout.addWidget(self.loginButton, 1, 4, 1, 1)

+         self.usernamLable = QtWidgets.QLabel(self.centralwidget)

+         self.usernamLable.setObjectName("usernamLable")

+         self.gridLayout.addWidget(self.usernamLable, 1, 3, 1, 1, QtCore.Qt.AlignRight)

          self.frame = QtWidgets.QFrame(self.centralwidget)

          self.frame.setEnabled(True)

          self.frame.setAutoFillBackground(False)

@@ -29,48 +32,78 @@ 

          self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)

          self.frame.setFrameShadow(QtWidgets.QFrame.Raised)

          self.frame.setObjectName("frame")

-         self.gridLayout_2 = QtWidgets.QGridLayout(self.frame)

-         self.gridLayout_2.setObjectName("gridLayout_2")

-         self.karmaBox = QtWidgets.QComboBox(self.frame)

-         self.karmaBox.setObjectName("karmaBox")

-         self.karmaBox.addItem("")

-         self.karmaBox.addItem("")

-         self.karmaBox.addItem("")

-         self.gridLayout_2.addWidget(self.karmaBox, 28, 5, 1, 1)

-         self.Karma = QtWidgets.QLabel(self.frame)

+         self.gridLayout_4 = QtWidgets.QGridLayout(self.frame)

+         self.gridLayout_4.setObjectName("gridLayout_4")

+         self.UpdateType = QtWidgets.QLabel(self.frame)

+         self.UpdateType.setObjectName("UpdateType")

+         self.gridLayout_4.addWidget(self.UpdateType, 0, 1, 1, 1)

+         self.frame_2 = QtWidgets.QFrame(self.frame)

+         self.frame_2.setMinimumSize(QtCore.QSize(300, 600))

+         self.frame_2.setMaximumSize(QtCore.QSize(300, 16777215))

+         self.frame_2.setFrameShape(QtWidgets.QFrame.StyledPanel)

+         self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)

+         self.frame_2.setObjectName("frame_2")

+         self.gridLayout_3 = QtWidgets.QGridLayout(self.frame_2)

+         self.gridLayout_3.setObjectName("gridLayout_3")

+         self.listWidget = QtWidgets.QListWidget(self.frame_2)

+         self.listWidget.setObjectName("listWidget")

+         self.gridLayout_3.addWidget(self.listWidget, 1, 0, 1, 2)

+         self.label_4 = QtWidgets.QLabel(self.frame_2)

+         self.label_4.setObjectName("label_4")

+         self.gridLayout_3.addWidget(self.label_4, 10, 0, 1, 1)

+         self.PageNum = QtWidgets.QLabel(self.frame_2)

+         self.PageNum.setObjectName("PageNum")

+         self.gridLayout_3.addWidget(self.PageNum, 10, 1, 1, 1)

+         self.fetchUpdatesButton = QtWidgets.QPushButton(self.frame_2)

+         self.fetchUpdatesButton.setObjectName("fetchUpdatesButton")

+         self.gridLayout_3.addWidget(self.fetchUpdatesButton, 11, 0, 1, 2)

+         self.lineEdit = QtWidgets.QLineEdit(self.frame_2)

+         self.lineEdit.setObjectName("lineEdit")

+         self.gridLayout_3.addWidget(self.lineEdit, 0, 0, 1, 2)

+         self.previousButton = QtWidgets.QPushButton(self.frame_2)

+         self.previousButton.setObjectName("previousButton")

+         self.gridLayout_3.addWidget(self.previousButton, 8, 0, 1, 1)

+         self.nextButton = QtWidgets.QPushButton(self.frame_2)

+         self.nextButton.setObjectName("nextButton")

+         self.gridLayout_3.addWidget(self.nextButton, 8, 1, 1, 1)

+         self.gridLayout_4.addWidget(self.frame_2, 1, 0, 9, 1)

+         self.Package_name_main = QtWidgets.QLabel(self.frame)

+         self.Package_name_main.setMaximumSize(QtCore.QSize(1000, 1000))

          font = QtGui.QFont()

          font.setFamily("OpenSymbol")

+         font.setPointSize(22)

          font.setBold(False)

          font.setWeight(50)

+         self.Package_name_main.setFont(font)

+         self.Package_name_main.setObjectName("Package_name_main")

+         self.gridLayout_4.addWidget(self.Package_name_main, 1, 1, 1, 2)

+         self.Release_notes = QtWidgets.QTextBrowser(self.frame)

+         self.Release_notes.setObjectName("Release_notes")

+         self.gridLayout_4.addWidget(self.Release_notes, 2, 1, 1, 5)

+         self.Release_static = QtWidgets.QLabel(self.frame)

+         font = QtGui.QFont()

+         font.setFamily("OpenSymbol")

+         font.setBold(True)

+         font.setWeight(75)

          font.setKerning(True)

-         self.Karma.setFont(font)

-         self.Karma.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))

-         self.Karma.setLayoutDirection(QtCore.Qt.LeftToRight)

-         self.Karma.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)

-         self.Karma.setObjectName("Karma")

-         self.gridLayout_2.addWidget(self.Karma, 12, 4, 1, 1)

-         self.UpdateType = QtWidgets.QLabel(self.frame)

-         self.UpdateType.setObjectName("UpdateType")

-         self.gridLayout_2.addWidget(self.UpdateType, 1, 3, 1, 1)

-         self.Request = QtWidgets.QLabel(self.frame)

+         self.Release_static.setFont(font)

+         self.Release_static.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))

+         self.Release_static.setLayoutDirection(QtCore.Qt.LeftToRight)

+         self.Release_static.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)

+         self.Release_static.setObjectName("Release_static")

+         self.gridLayout_4.addWidget(self.Release_static, 3, 1, 1, 1)

+         self.Release = QtWidgets.QLabel(self.frame)

          font = QtGui.QFont()

          font.setFamily("OpenSymbol")

          font.setBold(False)

          font.setWeight(50)

          font.setKerning(True)

-         self.Request.setFont(font)

-         self.Request.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))

-         self.Request.setLayoutDirection(QtCore.Qt.LeftToRight)

-         self.Request.setText("")

-         self.Request.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)

-         self.Request.setObjectName("Request")

-         self.gridLayout_2.addWidget(self.Request, 10, 6, 1, 1)

-         self.Release_notes = QtWidgets.QTextBrowser(self.frame)

-         self.Release_notes.setObjectName("Release_notes")

-         self.gridLayout_2.addWidget(self.Release_notes, 7, 3, 1, 6)

-         self.treeWidget_comment = QtWidgets.QTreeWidget(self.frame)

-         self.treeWidget_comment.setObjectName("treeWidget_comment")

-         self.gridLayout_2.addWidget(self.treeWidget_comment, 13, 3, 1, 6)

+         self.Release.setFont(font)

+         self.Release.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))

+         self.Release.setLayoutDirection(QtCore.Qt.LeftToRight)

+         self.Release.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)

+         self.Release.setObjectName("Release")

+         self.gridLayout_4.addWidget(self.Release, 3, 2, 1, 1)

          self.Status_static = QtWidgets.QLabel(self.frame)

          font = QtGui.QFont()

          font.setFamily("OpenSymbol")

@@ -82,29 +115,7 @@ 

          self.Status_static.setLayoutDirection(QtCore.Qt.LeftToRight)

          self.Status_static.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)

          self.Status_static.setObjectName("Status_static")

-         self.gridLayout_2.addWidget(self.Status_static, 9, 5, 1, 1)

-         self.label_2 = QtWidgets.QLabel(self.frame)

-         self.label_2.setObjectName("label_2")

-         self.gridLayout_2.addWidget(self.label_2, 17, 3, 1, 1)

-         self.Package_name_main = QtWidgets.QLabel(self.frame)

-         self.Package_name_main.setMaximumSize(QtCore.QSize(1000, 1000))

-         font = QtGui.QFont()

-         font.setFamily("OpenSymbol")

-         font.setPointSize(22)

-         font.setBold(False)

-         font.setWeight(50)

-         self.Package_name_main.setFont(font)

-         self.Package_name_main.setObjectName("Package_name_main")

-         self.gridLayout_2.addWidget(self.Package_name_main, 5, 3, 1, 4)

-         self.Package_breif = QtWidgets.QLabel(self.frame)

-         font = QtGui.QFont()

-         font.setFamily("OpenSymbol")

-         font.setPointSize(12)

-         font.setBold(False)

-         font.setWeight(50)

-         self.Package_breif.setFont(font)

-         self.Package_breif.setObjectName("Package_breif")

-         self.gridLayout_2.addWidget(self.Package_breif, 6, 3, 1, 1)

+         self.gridLayout_4.addWidget(self.Status_static, 3, 3, 1, 1)

          self.Status = QtWidgets.QLabel(self.frame)

          font = QtGui.QFont()

          font.setFamily("OpenSymbol")

@@ -116,7 +127,7 @@ 

          self.Status.setLayoutDirection(QtCore.Qt.LeftToRight)

          self.Status.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)

          self.Status.setObjectName("Status")

-         self.gridLayout_2.addWidget(self.Status, 9, 6, 1, 1)

+         self.gridLayout_4.addWidget(self.Status, 3, 4, 1, 1)

          self.Date_static = QtWidgets.QLabel(self.frame)

          font = QtGui.QFont()

          font.setFamily("OpenSymbol")

@@ -128,67 +139,19 @@ 

          self.Date_static.setLayoutDirection(QtCore.Qt.LeftToRight)

          self.Date_static.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)

          self.Date_static.setObjectName("Date_static")

-         self.gridLayout_2.addWidget(self.Date_static, 10, 3, 1, 1)

-         self.pushButton = QtWidgets.QPushButton(self.frame)

-         self.pushButton.setObjectName("pushButton")

-         self.gridLayout_2.addWidget(self.pushButton, 28, 6, 1, 2)

-         self.frame_2 = QtWidgets.QFrame(self.frame)

-         self.frame_2.setMinimumSize(QtCore.QSize(300, 600))

-         self.frame_2.setMaximumSize(QtCore.QSize(300, 16777215))

-         self.frame_2.setFrameShape(QtWidgets.QFrame.StyledPanel)

-         self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)

-         self.frame_2.setObjectName("frame_2")

-         self.gridLayout_3 = QtWidgets.QGridLayout(self.frame_2)

-         self.gridLayout_3.setObjectName("gridLayout_3")

-         self.listWidget = QtWidgets.QListWidget(self.frame_2)

-         self.listWidget.setObjectName("listWidget")

-         self.gridLayout_3.addWidget(self.listWidget, 1, 0, 1, 2)

-         self.label_4 = QtWidgets.QLabel(self.frame_2)

-         self.label_4.setObjectName("label_4")

-         self.gridLayout_3.addWidget(self.label_4, 10, 0, 1, 1)

-         self.PageNum = QtWidgets.QLabel(self.frame_2)

-         self.PageNum.setObjectName("PageNum")

-         self.gridLayout_3.addWidget(self.PageNum, 10, 1, 1, 1)

-         self.fetchUpdatesButton = QtWidgets.QPushButton(self.frame_2)

-         self.fetchUpdatesButton.setObjectName("fetchUpdatesButton")

-         self.gridLayout_3.addWidget(self.fetchUpdatesButton, 11, 0, 1, 2)

-         self.lineEdit = QtWidgets.QLineEdit(self.frame_2)

-         self.lineEdit.setObjectName("lineEdit")

-         self.gridLayout_3.addWidget(self.lineEdit, 0, 0, 1, 2)

-         self.previousButton = QtWidgets.QPushButton(self.frame_2)

-         self.previousButton.setObjectName("previousButton")

-         self.gridLayout_3.addWidget(self.previousButton, 8, 0, 1, 1)

-         self.nextButton = QtWidgets.QPushButton(self.frame_2)

-         self.nextButton.setObjectName("nextButton")

-         self.gridLayout_3.addWidget(self.nextButton, 8, 1, 1, 1)

-         self.gridLayout_2.addWidget(self.frame_2, 0, 0, 29, 1)

-         self.Karma_static = QtWidgets.QLabel(self.frame)

-         font = QtGui.QFont()

-         font.setFamily("OpenSymbol")

-         font.setBold(True)

-         font.setWeight(75)

-         font.setKerning(True)

-         self.Karma_static.setFont(font)

-         self.Karma_static.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))

-         self.Karma_static.setLayoutDirection(QtCore.Qt.LeftToRight)

-         self.Karma_static.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)

-         self.Karma_static.setObjectName("Karma_static")

-         self.gridLayout_2.addWidget(self.Karma_static, 12, 3, 1, 1)

-         self.Release = QtWidgets.QLabel(self.frame)

+         self.gridLayout_4.addWidget(self.Date_static, 4, 1, 1, 1)

+         self.Date_submitted = QtWidgets.QLabel(self.frame)

          font = QtGui.QFont()

          font.setFamily("OpenSymbol")

          font.setBold(False)

          font.setWeight(50)

          font.setKerning(True)

-         self.Release.setFont(font)

-         self.Release.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))

-         self.Release.setLayoutDirection(QtCore.Qt.LeftToRight)

-         self.Release.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)

-         self.Release.setObjectName("Release")

-         self.gridLayout_2.addWidget(self.Release, 9, 4, 1, 1)

-         self.karmaText = QtWidgets.QLabel(self.frame)

-         self.karmaText.setObjectName("karmaText")

-         self.gridLayout_2.addWidget(self.karmaText, 28, 4, 1, 1)

+         self.Date_submitted.setFont(font)

+         self.Date_submitted.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))

+         self.Date_submitted.setLayoutDirection(QtCore.Qt.LeftToRight)

+         self.Date_submitted.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)

+         self.Date_submitted.setObjectName("Date_submitted")

+         self.gridLayout_4.addWidget(self.Date_submitted, 4, 2, 1, 1)

          self.Request_static = QtWidgets.QLabel(self.frame)

          font = QtGui.QFont()

          font.setFamily("OpenSymbol")

@@ -200,19 +163,43 @@ 

          self.Request_static.setLayoutDirection(QtCore.Qt.LeftToRight)

          self.Request_static.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)

          self.Request_static.setObjectName("Request_static")

-         self.gridLayout_2.addWidget(self.Request_static, 10, 5, 1, 1)

-         self.Submit_user = QtWidgets.QLabel(self.frame)

+         self.gridLayout_4.addWidget(self.Request_static, 4, 3, 1, 1)

+         self.Request = QtWidgets.QLabel(self.frame)

          font = QtGui.QFont()

          font.setFamily("OpenSymbol")

          font.setBold(False)

          font.setWeight(50)

          font.setKerning(True)

-         self.Submit_user.setFont(font)

-         self.Submit_user.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))

-         self.Submit_user.setLayoutDirection(QtCore.Qt.LeftToRight)

-         self.Submit_user.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)

-         self.Submit_user.setObjectName("Submit_user")

-         self.gridLayout_2.addWidget(self.Submit_user, 12, 6, 1, 1)

+         self.Request.setFont(font)

+         self.Request.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))

+         self.Request.setLayoutDirection(QtCore.Qt.LeftToRight)

+         self.Request.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)

+         self.Request.setObjectName("Request")

+         self.gridLayout_4.addWidget(self.Request, 4, 4, 1, 1)

+         self.Karma_static = QtWidgets.QLabel(self.frame)

+         font = QtGui.QFont()

+         font.setFamily("OpenSymbol")

+         font.setBold(True)

+         font.setWeight(75)

+         font.setKerning(True)

+         self.Karma_static.setFont(font)

+         self.Karma_static.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))

+         self.Karma_static.setLayoutDirection(QtCore.Qt.LeftToRight)

+         self.Karma_static.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)

+         self.Karma_static.setObjectName("Karma_static")

+         self.gridLayout_4.addWidget(self.Karma_static, 5, 1, 1, 1)

+         self.Karma = QtWidgets.QLabel(self.frame)

+         font = QtGui.QFont()

+         font.setFamily("OpenSymbol")

+         font.setBold(False)

+         font.setWeight(50)

+         font.setKerning(True)

+         self.Karma.setFont(font)

+         self.Karma.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))

+         self.Karma.setLayoutDirection(QtCore.Qt.LeftToRight)

+         self.Karma.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)

+         self.Karma.setObjectName("Karma")

+         self.gridLayout_4.addWidget(self.Karma, 5, 2, 1, 1)

          self.Submitter_static = QtWidgets.QLabel(self.frame)

          font = QtGui.QFont()

          font.setFamily("OpenSymbol")

@@ -224,52 +211,93 @@ 

          self.Submitter_static.setLayoutDirection(QtCore.Qt.LeftToRight)

          self.Submitter_static.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)

          self.Submitter_static.setObjectName("Submitter_static")

-         self.gridLayout_2.addWidget(self.Submitter_static, 12, 5, 1, 1)

-         self.commentEdit = QtWidgets.QTextEdit(self.frame)

-         self.commentEdit.setMaximumSize(QtCore.QSize(16777215, 100))

-         self.commentEdit.setObjectName("commentEdit")

-         self.gridLayout_2.addWidget(self.commentEdit, 18, 3, 1, 6)

-         self.Release_static = QtWidgets.QLabel(self.frame)

-         font = QtGui.QFont()

-         font.setFamily("OpenSymbol")

-         font.setBold(True)

-         font.setWeight(75)

-         font.setKerning(True)

-         self.Release_static.setFont(font)

-         self.Release_static.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))

-         self.Release_static.setLayoutDirection(QtCore.Qt.LeftToRight)

-         self.Release_static.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)

-         self.Release_static.setObjectName("Release_static")

-         self.gridLayout_2.addWidget(self.Release_static, 9, 3, 1, 1)

-         self.Date_submitted = QtWidgets.QLabel(self.frame)

+         self.gridLayout_4.addWidget(self.Submitter_static, 5, 3, 1, 1)

+         self.Submit_user = QtWidgets.QLabel(self.frame)

          font = QtGui.QFont()

          font.setFamily("OpenSymbol")

          font.setBold(False)

          font.setWeight(50)

          font.setKerning(True)

-         self.Date_submitted.setFont(font)

-         self.Date_submitted.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))

-         self.Date_submitted.setLayoutDirection(QtCore.Qt.LeftToRight)

-         self.Date_submitted.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)

-         self.Date_submitted.setObjectName("Date_submitted")

-         self.gridLayout_2.addWidget(self.Date_submitted, 10, 4, 1, 1)

-         self.critpathText = QtWidgets.QLabel(self.frame)

+         self.Submit_user.setFont(font)

+         self.Submit_user.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))

+         self.Submit_user.setLayoutDirection(QtCore.Qt.LeftToRight)

+         self.Submit_user.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)

+         self.Submit_user.setObjectName("Submit_user")

+         self.gridLayout_4.addWidget(self.Submit_user, 5, 4, 1, 1)

+         self.treeWidget_comment = QtWidgets.QTreeWidget(self.frame)

+         self.treeWidget_comment.setObjectName("treeWidget_comment")

+         self.gridLayout_4.addWidget(self.treeWidget_comment, 6, 1, 1, 5)

+         self.label_2 = QtWidgets.QLabel(self.frame)

+         self.label_2.setObjectName("label_2")

+         self.gridLayout_4.addWidget(self.label_2, 7, 1, 1, 1)

+         self.commentEdit = QtWidgets.QTextEdit(self.frame)

+         self.commentEdit.setMaximumSize(QtCore.QSize(16777215, 100))

+         self.commentEdit.setObjectName("commentEdit")

+         self.gridLayout_4.addWidget(self.commentEdit, 8, 1, 1, 5)

+         self.gridLayout_2 = QtWidgets.QGridLayout()

+         self.gridLayout_2.setObjectName("gridLayout_2")

+         spacerItem = QtWidgets.QSpacerItem(20, 18, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)

+         self.gridLayout_2.addItem(spacerItem, 0, 0, 1, 1)

+         self.label = QtWidgets.QLabel(self.frame)

+         self.label.setStyleSheet("background-color: rgb(164, 0, 0);\n"

+ "\n"

+ "color: rgb(255, 255, 255)")

+         self.label.setObjectName("label")

+         self.gridLayout_2.addWidget(self.label, 0, 1, 1, 1)

+         self.label_3 = QtWidgets.QLabel(self.frame)

+         self.label_3.setStyleSheet("background-color: rgb(186, 189, 182);\n"

+ "color: rgb(255, 255, 255)")

+         self.label_3.setObjectName("label_3")

+         self.gridLayout_2.addWidget(self.label_3, 0, 2, 1, 1)

+         self.label_5 = QtWidgets.QLabel(self.frame)

+         self.label_5.setStyleSheet("background-color: rgb(78, 154, 6);\n"

+ "color: rgb(255, 255, 255)")

+         self.label_5.setObjectName("label_5")

+         self.gridLayout_2.addWidget(self.label_5, 0, 3, 1, 1)

+         self.splitter_4 = QtWidgets.QSplitter(self.frame)

+         self.splitter_4.setOrientation(QtCore.Qt.Vertical)

+         self.splitter_4.setObjectName("splitter_4")

+         self.critpathText = QtWidgets.QLabel(self.splitter_4)

          self.critpathText.setObjectName("critpathText")

-         self.gridLayout_2.addWidget(self.critpathText, 26, 4, 1, 1)

-         self.critpathBox = QtWidgets.QComboBox(self.frame)

-         self.critpathBox.setObjectName("critpathBox")

-         self.critpathBox.addItem("")

-         self.critpathBox.addItem("")

-         self.critpathBox.addItem("")

-         self.gridLayout_2.addWidget(self.critpathBox, 26, 5, 1, 1)

+         self.karmaText = QtWidgets.QLabel(self.splitter_4)

+         self.karmaText.setObjectName("karmaText")

+         self.gridLayout_2.addWidget(self.splitter_4, 1, 0, 2, 1)

+         self.splitter = QtWidgets.QSplitter(self.frame)

+         self.splitter.setOrientation(QtCore.Qt.Horizontal)

+         self.splitter.setObjectName("splitter")

+         self.radioButton_2 = QtWidgets.QRadioButton(self.splitter)

+         self.radioButton_2.setText("")

+         self.radioButton_2.setObjectName("radioButton_2")

+         self.radioButton_3 = QtWidgets.QRadioButton(self.splitter)

+         self.radioButton_3.setText("")

+         self.radioButton_3.setObjectName("radioButton_3")

+         self.radioButton_5 = QtWidgets.QRadioButton(self.splitter)

+         self.radioButton_5.setText("")

+         self.radioButton_5.setObjectName("radioButton_5")

+         self.gridLayout_2.addWidget(self.splitter, 1, 1, 1, 3)

+         self.splitter_2 = QtWidgets.QSplitter(self.frame)

+         self.splitter_2.setOrientation(QtCore.Qt.Horizontal)

+         self.splitter_2.setObjectName("splitter_2")

+         self.radioButton = QtWidgets.QRadioButton(self.splitter_2)

+         self.radioButton.setText("")

+         self.radioButton.setObjectName("radioButton")

+         self.radioButton_4 = QtWidgets.QRadioButton(self.splitter_2)

+         self.radioButton_4.setText("")

+         self.radioButton_4.setObjectName("radioButton_4")

+         self.radioButton_6 = QtWidgets.QRadioButton(self.splitter_2)

+         self.radioButton_6.setText("")

+         self.radioButton_6.setObjectName("radioButton_6")

+         self.gridLayout_2.addWidget(self.splitter_2, 2, 1, 1, 3)

+         self.gridLayout_4.addLayout(self.gridLayout_2, 9, 2, 1, 2)

+         self.pushButton = QtWidgets.QPushButton(self.frame)

+         self.pushButton.setObjectName("pushButton")

+         self.gridLayout_4.addWidget(self.pushButton, 9, 5, 1, 1)

          self.Karma_static.raise_()

          self.frame_2.raise_()

-         self.Package_breif.raise_()

          self.commentEdit.raise_()

          self.Package_name_main.raise_()

          self.Release_static.raise_()

          self.Date_static.raise_()

-         self.pushButton.raise_()

          self.Release.raise_()

          self.Date_submitted.raise_()

          self.Karma.raise_()

@@ -279,66 +307,65 @@ 

          self.Status_static.raise_()

          self.Status.raise_()

          self.Request.raise_()

-         self.UpdateType.raise_()

-         self.karmaBox.raise_()

-         self.karmaText.raise_()

          self.label_2.raise_()

          self.Release_notes.raise_()

          self.treeWidget_comment.raise_()

-         self.critpathText.raise_()

-         self.critpathBox.raise_()

+         self.pushButton.raise_()

+         self.UpdateType.raise_()

          self.gridLayout.addWidget(self.frame, 3, 0, 1, 5)

-         self.usernamLable = QtWidgets.QLabel(self.centralwidget)

-         self.usernamLable.setObjectName("usernamLable")

-         self.gridLayout.addWidget(self.usernamLable, 1, 3, 1, 1, QtCore.Qt.AlignRight)

          MainWindow.setCentralWidget(self.centralwidget)

          self.statusbar = QtWidgets.QStatusBar(MainWindow)

          self.statusbar.setObjectName("statusbar")

          MainWindow.setStatusBar(self.statusbar)

  

          self.retranslateUi(MainWindow)

-         self.karmaBox.setCurrentIndex(1)

-         self.critpathBox.setCurrentIndex(1)

          QtCore.QMetaObject.connectSlotsByName(MainWindow)

  

      def retranslateUi(self, MainWindow):

          _translate = QtCore.QCoreApplication.translate

          MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))

          self.loginButton.setText(_translate("MainWindow", "Login"))

-         self.karmaBox.setCurrentText(_translate("MainWindow", "0"))

-         self.karmaBox.setItemText(0, _translate("MainWindow", "1"))

-         self.karmaBox.setItemText(1, _translate("MainWindow", "0"))

-         self.karmaBox.setItemText(2, _translate("MainWindow", "-1"))

-         self.Karma.setText(_translate("MainWindow", "__"))

+         self.usernamLable.setText(_translate("MainWindow", "Username"))

          self.UpdateType.setText(_translate("MainWindow", "__"))

-         self.treeWidget_comment.headerItem().setText(0, _translate("MainWindow", "#"))

-         self.treeWidget_comment.headerItem().setText(1, _translate("MainWindow", "karma"))

-         self.treeWidget_comment.headerItem().setText(2, _translate("MainWindow", "critpath"))

-         self.treeWidget_comment.headerItem().setText(3, _translate("MainWindow", "user"))

-         self.treeWidget_comment.headerItem().setText(4, _translate("MainWindow", "comment"))

-         self.Status_static.setText(_translate("MainWindow", "Status"))

-         self.label_2.setText(_translate("MainWindow", "Comment"))

-         self.Package_name_main.setText(_translate("MainWindow", "Package Name"))

-         self.Package_breif.setText(_translate("MainWindow", "breif"))

-         self.Status.setText(_translate("MainWindow", "__"))

-         self.Date_static.setText(_translate("MainWindow", "date submitted"))

-         self.pushButton.setText(_translate("MainWindow", "Submit"))

          self.label_4.setText(_translate("MainWindow", "Page number:"))

          self.PageNum.setText(_translate("MainWindow", "1"))

          self.fetchUpdatesButton.setText(_translate("MainWindow", "Fetch Updates"))

+         self.lineEdit.setPlaceholderText(_translate("MainWindow", "Search packages here"))

          self.previousButton.setText(_translate("MainWindow", "Previous"))

          self.nextButton.setText(_translate("MainWindow", "Next"))

-         self.Karma_static.setText(_translate("MainWindow", "Karma"))

+         self.Package_name_main.setText(_translate("MainWindow", "Package Brief"))

+         self.Release_static.setText(_translate("MainWindow", "Release"))

          self.Release.setText(_translate("MainWindow", "__"))

-         self.karmaText.setText(_translate("MainWindow", "Karma"))

+         self.Status_static.setText(_translate("MainWindow", "Status"))

+         self.Status.setText(_translate("MainWindow", "__"))

+         self.Date_static.setText(_translate("MainWindow", "Date Submitted"))

+         self.Date_submitted.setText(_translate("MainWindow", "__"))

          self.Request_static.setText(_translate("MainWindow", "Request"))

+         self.Request.setText(_translate("MainWindow", "__"))

+         self.Karma_static.setText(_translate("MainWindow", "Karma"))

+         self.Karma.setText(_translate("MainWindow", "__"))

+         self.Submitter_static.setText(_translate("MainWindow", "Submitted By"))

          self.Submit_user.setText(_translate("MainWindow", "__"))

-         self.Submitter_static.setText(_translate("MainWindow", "Submitter"))

-         self.Release_static.setText(_translate("MainWindow", "Release"))

-         self.Date_submitted.setText(_translate("MainWindow", "__"))

-         self.critpathText.setText(_translate("MainWindow", "critpath"))

-         self.critpathBox.setCurrentText(_translate("MainWindow", "0"))

-         self.critpathBox.setItemText(0, _translate("MainWindow", "1"))

-         self.critpathBox.setItemText(1, _translate("MainWindow", "0"))

-         self.critpathBox.setItemText(2, _translate("MainWindow", "-1"))

-         self.usernamLable.setText(_translate("MainWindow", "Username"))

+         self.treeWidget_comment.headerItem().setText(0, _translate("MainWindow", "#"))

+         self.treeWidget_comment.headerItem().setText(1, _translate("MainWindow", "karma"))

+         self.treeWidget_comment.headerItem().setText(2, _translate("MainWindow", "critpath"))

+         self.treeWidget_comment.headerItem().setText(3, _translate("MainWindow", "user"))

+         self.treeWidget_comment.headerItem().setText(4, _translate("MainWindow", "comment"))

+         self.label_2.setText(_translate("MainWindow", "Comment"))

+         self.commentEdit.setPlaceholderText(_translate("MainWindow", "Add comments or feedback here please"))

+         self.label.setText(_translate("MainWindow", " -1"))

+         self.label_3.setText(_translate("MainWindow", "  0"))

+         self.label_5.setText(_translate("MainWindow", " +1"))

+         self.critpathText.setText(_translate("MainWindow", "Critpath"))

+         self.karmaText.setText(_translate("MainWindow", "Karma"))

+         self.pushButton.setText(_translate("MainWindow", "Submit"))

+ 

+ 

+ if __name__ == "__main__":

+     import sys

+     app = QtWidgets.QApplication(sys.argv)

+     MainWindow = QtWidgets.QMainWindow()

+     ui = Ui_MainWindow()

+     ui.setupUi(MainWindow)

+     MainWindow.show()

+     sys.exit(app.exec_())

file modified
+1 -1

@@ -1,4 +1,4 @@ 

- from bodhi.client.bindings import BodhiClient

+ from bodhiCalls import BodhiClient

  import pprint

  bc = BodhiClient(updateid="FEDORA-2016-1d9eb09530" )

  pprint.pprint(bc.query()) 

\ No newline at end of file

file modified
+306 -270

@@ -25,6 +25,13 @@ 

        </property>

       </widget>

      </item>

+     <item row="1" column="3" alignment="Qt::AlignRight">

+      <widget class="QLabel" name="usernamLable">

+       <property name="text">

+        <string>Username</string>

+       </property>

+      </widget>

+     </item>

      <item row="3" column="0" colspan="5">

       <widget class="QFrame" name="frame">

        <property name="enabled">

@@ -42,39 +49,114 @@ 

        <property name="frameShadow">

         <enum>QFrame::Raised</enum>

        </property>

-       <layout class="QGridLayout" name="gridLayout_2">

-        <item row="28" column="5">

-         <widget class="QComboBox" name="karmaBox">

-          <property name="currentText">

-           <string>0</string>

+       <layout class="QGridLayout" name="gridLayout_4">

+        <item row="0" column="1">

+         <widget class="QLabel" name="UpdateType">

+          <property name="text">

+           <string>__</string>

           </property>

-          <property name="currentIndex">

-           <number>1</number>

+         </widget>

+        </item>

+        <item row="1" column="0" rowspan="9">

+         <widget class="QFrame" name="frame_2">

+          <property name="minimumSize">

+           <size>

+            <width>300</width>

+            <height>600</height>

+           </size>

           </property>

-          <item>

-           <property name="text">

-            <string>1</string>

-           </property>

-          </item>

-          <item>

-           <property name="text">

-            <string>0</string>

-           </property>

-          </item>

-          <item>

-           <property name="text">

-            <string>-1</string>

-           </property>

-          </item>

+          <property name="maximumSize">

+           <size>

+            <width>300</width>

+            <height>16777215</height>

+           </size>

+          </property>

+          <property name="frameShape">

+           <enum>QFrame::StyledPanel</enum>

+          </property>

+          <property name="frameShadow">

+           <enum>QFrame::Raised</enum>

+          </property>

+          <layout class="QGridLayout" name="gridLayout_3">

+           <item row="1" column="0" colspan="2">

+            <widget class="QListWidget" name="listWidget"/>

+           </item>

+           <item row="10" column="0">

+            <widget class="QLabel" name="label_4">

+             <property name="text">

+              <string>Page number:</string>

+             </property>

+            </widget>

+           </item>

+           <item row="10" column="1">

+            <widget class="QLabel" name="PageNum">

+             <property name="text">

+              <string>1</string>

+             </property>

+            </widget>

+           </item>

+           <item row="11" column="0" colspan="2">

+            <widget class="QPushButton" name="fetchUpdatesButton">

+             <property name="text">

+              <string>Fetch Updates</string>

+             </property>

+            </widget>

+           </item>

+           <item row="0" column="0" colspan="2">

+            <widget class="QLineEdit" name="lineEdit">

+             <property name="placeholderText">

+              <string>Search packages here</string>

+             </property>

+            </widget>

+           </item>

+           <item row="8" column="0">

+            <widget class="QPushButton" name="previousButton">

+             <property name="text">

+              <string>Previous</string>

+             </property>

+            </widget>

+           </item>

+           <item row="8" column="1">

+            <widget class="QPushButton" name="nextButton">

+             <property name="text">

+              <string>Next</string>

+             </property>

+            </widget>

+           </item>

+          </layout>

          </widget>

         </item>

-        <item row="12" column="4">

-         <widget class="QLabel" name="Karma">

+        <item row="1" column="1" colspan="2">

+         <widget class="QLabel" name="Package_name_main">

+          <property name="maximumSize">

+           <size>

+            <width>1000</width>

+            <height>1000</height>

+           </size>

+          </property>

           <property name="font">

            <font>

             <family>OpenSymbol</family>

+            <pointsize>22</pointsize>

             <weight>50</weight>

             <bold>false</bold>

+           </font>

+          </property>

+          <property name="text">

+           <string>Package Brief</string>

+          </property>

+         </widget>

+        </item>

+        <item row="2" column="1" colspan="5">

+         <widget class="QTextBrowser" name="Release_notes"/>

+        </item>

+        <item row="3" column="1">

+         <widget class="QLabel" name="Release_static">

+          <property name="font">

+           <font>

+            <family>OpenSymbol</family>

+            <weight>75</weight>

+            <bold>true</bold>

             <kerning>true</kerning>

            </font>

           </property>

@@ -85,22 +167,15 @@ 

            <enum>Qt::LeftToRight</enum>

           </property>

           <property name="text">

-           <string>__</string>

+           <string>Release</string>

           </property>

           <property name="alignment">

-           <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>

-          </property>

-         </widget>

-        </item>

-        <item row="1" column="3">

-         <widget class="QLabel" name="UpdateType">

-          <property name="text">

-           <string>__</string>

+           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>

           </property>

          </widget>

         </item>

-        <item row="10" column="6">

-         <widget class="QLabel" name="Request">

+        <item row="3" column="2">

+         <widget class="QLabel" name="Release">

           <property name="font">

            <font>

             <family>OpenSymbol</family>

@@ -116,46 +191,14 @@ 

            <enum>Qt::LeftToRight</enum>

           </property>

           <property name="text">

-           <string/>

+           <string>__</string>

           </property>

           <property name="alignment">

            <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>

           </property>

          </widget>

         </item>

-        <item row="7" column="3" colspan="6">

-         <widget class="QTextBrowser" name="Release_notes"/>

-        </item>

-        <item row="13" column="3" colspan="6">

-         <widget class="QTreeWidget" name="treeWidget_comment">

-          <column>

-           <property name="text">

-            <string>#</string>

-           </property>

-          </column>

-          <column>

-           <property name="text">

-            <string>karma</string>

-           </property>

-          </column>

-          <column>

-           <property name="text">

-            <string>critpath</string>

-           </property>

-          </column>

-          <column>

-           <property name="text">

-            <string>user</string>

-           </property>

-          </column>

-          <column>

-           <property name="text">

-            <string>comment</string>

-           </property>

-          </column>

-         </widget>

-        </item>

-        <item row="9" column="5">

+        <item row="3" column="3">

          <widget class="QLabel" name="Status_static">

           <property name="font">

            <font>

@@ -179,50 +222,7 @@ 

           </property>

          </widget>

         </item>

-        <item row="17" column="3">

-         <widget class="QLabel" name="label_2">

-          <property name="text">

-           <string>Comment</string>

-          </property>

-         </widget>

-        </item>

-        <item row="5" column="3" colspan="4">

-         <widget class="QLabel" name="Package_name_main">

-          <property name="maximumSize">

-           <size>

-            <width>1000</width>

-            <height>1000</height>

-           </size>

-          </property>

-          <property name="font">

-           <font>

-            <family>OpenSymbol</family>

-            <pointsize>22</pointsize>

-            <weight>50</weight>

-            <bold>false</bold>

-           </font>

-          </property>

-          <property name="text">

-           <string>Package Name</string>

-          </property>

-         </widget>

-        </item>

-        <item row="6" column="3">

-         <widget class="QLabel" name="Package_breif">

-          <property name="font">

-           <font>

-            <family>OpenSymbol</family>

-            <pointsize>12</pointsize>

-            <weight>50</weight>

-            <bold>false</bold>

-           </font>

-          </property>

-          <property name="text">

-           <string>breif</string>

-          </property>

-         </widget>

-        </item>

-        <item row="9" column="6">

+        <item row="3" column="4">

          <widget class="QLabel" name="Status">

           <property name="font">

            <font>

@@ -246,7 +246,7 @@ 

           </property>

          </widget>

         </item>

-        <item row="10" column="3">

+        <item row="4" column="1">

          <widget class="QLabel" name="Date_static">

           <property name="font">

            <font>

@@ -263,87 +263,39 @@ 

            <enum>Qt::LeftToRight</enum>

           </property>

           <property name="text">

-           <string>date submitted</string>

+           <string>Date Submitted</string>

           </property>

           <property name="alignment">

            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>

           </property>

          </widget>

         </item>

-        <item row="28" column="6" colspan="2">

-         <widget class="QPushButton" name="pushButton">

-          <property name="text">

-           <string>Submit</string>

+        <item row="4" column="2">

+         <widget class="QLabel" name="Date_submitted">

+          <property name="font">

+           <font>

+            <family>OpenSymbol</family>

+            <weight>50</weight>

+            <bold>false</bold>

+            <kerning>true</kerning>

+           </font>

           </property>

-         </widget>

-        </item>

-        <item row="0" column="0" rowspan="29">

-         <widget class="QFrame" name="frame_2">

-          <property name="minimumSize">

-           <size>

-            <width>300</width>

-            <height>600</height>

-           </size>

+          <property name="cursor">

+           <cursorShape>ArrowCursor</cursorShape>

           </property>

-          <property name="maximumSize">

-           <size>

-            <width>300</width>

-            <height>16777215</height>

-           </size>

+          <property name="layoutDirection">

+           <enum>Qt::LeftToRight</enum>

           </property>

-          <property name="frameShape">

-           <enum>QFrame::StyledPanel</enum>

+          <property name="text">

+           <string>__</string>

           </property>

-          <property name="frameShadow">

-           <enum>QFrame::Raised</enum>

+          <property name="alignment">

+           <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>

           </property>

-          <layout class="QGridLayout" name="gridLayout_3">

-           <item row="1" column="0" colspan="2">

-            <widget class="QListWidget" name="listWidget"/>

-           </item>

-           <item row="10" column="0">

-            <widget class="QLabel" name="label_4">

-             <property name="text">

-              <string>Page number:</string>

-             </property>

-            </widget>

-           </item>

-           <item row="10" column="1">

-            <widget class="QLabel" name="PageNum">

-             <property name="text">

-              <string>1</string>

-             </property>

-            </widget>

-           </item>

-           <item row="11" column="0" colspan="2">

-            <widget class="QPushButton" name="fetchUpdatesButton">

-             <property name="text">

-              <string>Fetch Updates</string>

-             </property>

-            </widget>

-           </item>

-           <item row="0" column="0" colspan="2">

-            <widget class="QLineEdit" name="lineEdit"/>

-           </item>

-           <item row="8" column="0">

-            <widget class="QPushButton" name="previousButton">

-             <property name="text">

-              <string>Previous</string>

-             </property>

-            </widget>

-           </item>

-           <item row="8" column="1">

-            <widget class="QPushButton" name="nextButton">

-             <property name="text">

-              <string>Next</string>

-             </property>

-            </widget>

-           </item>

-          </layout>

          </widget>

         </item>

-        <item row="12" column="3">

-         <widget class="QLabel" name="Karma_static">

+        <item row="4" column="3">

+         <widget class="QLabel" name="Request_static">

           <property name="font">

            <font>

             <family>OpenSymbol</family>

@@ -359,15 +311,15 @@ 

            <enum>Qt::LeftToRight</enum>

           </property>

           <property name="text">

-           <string>Karma</string>

+           <string>Request</string>

           </property>

           <property name="alignment">

            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>

           </property>

          </widget>

         </item>

-        <item row="9" column="4">

-         <widget class="QLabel" name="Release">

+        <item row="4" column="4">

+         <widget class="QLabel" name="Request">

           <property name="font">

            <font>

             <family>OpenSymbol</family>

@@ -390,15 +342,8 @@ 

           </property>

          </widget>

         </item>

-        <item row="28" column="4">

-         <widget class="QLabel" name="karmaText">

-          <property name="text">

-           <string>Karma</string>

-          </property>

-         </widget>

-        </item>

-        <item row="10" column="5">

-         <widget class="QLabel" name="Request_static">

+        <item row="5" column="1">

+         <widget class="QLabel" name="Karma_static">

           <property name="font">

            <font>

             <family>OpenSymbol</family>

@@ -414,15 +359,15 @@ 

            <enum>Qt::LeftToRight</enum>

           </property>

           <property name="text">

-           <string>Request</string>

+           <string>Karma</string>

           </property>

           <property name="alignment">

            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>

           </property>

          </widget>

         </item>

-        <item row="12" column="6">

-         <widget class="QLabel" name="Submit_user">

+        <item row="5" column="2">

+         <widget class="QLabel" name="Karma">

           <property name="font">

            <font>

             <family>OpenSymbol</family>

@@ -445,7 +390,7 @@ 

           </property>

          </widget>

         </item>

-        <item row="12" column="5">

+        <item row="5" column="3">

          <widget class="QLabel" name="Submitter_static">

           <property name="font">

            <font>

@@ -462,49 +407,15 @@ 

            <enum>Qt::LeftToRight</enum>

           </property>

           <property name="text">

-           <string>Submitter</string>

-          </property>

-          <property name="alignment">

-           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>

-          </property>

-         </widget>

-        </item>

-        <item row="18" column="3" colspan="6">

-         <widget class="QTextEdit" name="commentEdit">

-          <property name="maximumSize">

-           <size>

-            <width>16777215</width>

-            <height>100</height>

-           </size>

-          </property>

-         </widget>

-        </item>

-        <item row="9" column="3">

-         <widget class="QLabel" name="Release_static">

-          <property name="font">

-           <font>

-            <family>OpenSymbol</family>

-            <weight>75</weight>

-            <bold>true</bold>

-            <kerning>true</kerning>

-           </font>

-          </property>

-          <property name="cursor">

-           <cursorShape>ArrowCursor</cursorShape>

-          </property>

-          <property name="layoutDirection">

-           <enum>Qt::LeftToRight</enum>

-          </property>

-          <property name="text">

-           <string>Release</string>

+           <string>Submitted By</string>

           </property>

           <property name="alignment">

            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>

           </property>

          </widget>

         </item>

-        <item row="10" column="4">

-         <widget class="QLabel" name="Date_submitted">

+        <item row="5" column="4">

+         <widget class="QLabel" name="Submit_user">

           <property name="font">

            <font>

             <family>OpenSymbol</family>

@@ -527,47 +438,181 @@ 

           </property>

          </widget>

         </item>

-        <item row="26" column="4">

-         <widget class="QLabel" name="critpathText">

+        <item row="6" column="1" colspan="5">

+         <widget class="QTreeWidget" name="treeWidget_comment">

+          <column>

+           <property name="text">

+            <string>#</string>

+           </property>

+          </column>

+          <column>

+           <property name="text">

+            <string>karma</string>

+           </property>

+          </column>

+          <column>

+           <property name="text">

+            <string>critpath</string>

+           </property>

+          </column>

+          <column>

+           <property name="text">

+            <string>user</string>

+           </property>

+          </column>

+          <column>

+           <property name="text">

+            <string>comment</string>

+           </property>

+          </column>

+         </widget>

+        </item>

+        <item row="7" column="1">

+         <widget class="QLabel" name="label_2">

           <property name="text">

-           <string>critpath</string>

+           <string>Comment</string>

           </property>

          </widget>

         </item>

-        <item row="26" column="5">

-         <widget class="QComboBox" name="critpathBox">

-          <property name="currentText">

-           <string>0</string>

+        <item row="8" column="1" colspan="5">

+         <widget class="QTextEdit" name="commentEdit">

+          <property name="maximumSize">

+           <size>

+            <width>16777215</width>

+            <height>100</height>

+           </size>

           </property>

-          <property name="currentIndex">

-           <number>1</number>

+          <property name="placeholderText">

+           <string>Add comments or feedback here please</string>

           </property>

-          <item>

-           <property name="text">

-            <string>1</string>

-           </property>

+         </widget>

+        </item>

+        <item row="9" column="2" colspan="2">

+         <layout class="QGridLayout" name="gridLayout_2">

+          <item row="0" column="0">

+           <spacer name="verticalSpacer">

+            <property name="orientation">

+             <enum>Qt::Vertical</enum>

+            </property>

+            <property name="sizeHint" stdset="0">

+             <size>

+              <width>20</width>

+              <height>18</height>

+             </size>

+            </property>

+           </spacer>

           </item>

-          <item>

-           <property name="text">

-            <string>0</string>

-           </property>

+          <item row="0" column="1">

+           <widget class="QLabel" name="label">

+            <property name="styleSheet">

+             <string notr="true">background-color: rgb(164, 0, 0);

+ 

+ color: rgb(255, 255, 255)</string>

+            </property>

+            <property name="text">

+             <string> -1</string>

+            </property>

+           </widget>

           </item>

-          <item>

-           <property name="text">

-            <string>-1</string>

-           </property>

+          <item row="0" column="2">

+           <widget class="QLabel" name="label_3">

+            <property name="styleSheet">

+             <string notr="true">background-color: rgb(186, 189, 182);

+ color: rgb(255, 255, 255)</string>

+            </property>

+            <property name="text">

+             <string>  0</string>

+            </property>

+           </widget>

+          </item>

+          <item row="0" column="3">

+           <widget class="QLabel" name="label_5">

+            <property name="styleSheet">

+             <string notr="true">background-color: rgb(78, 154, 6);

+ color: rgb(255, 255, 255)</string>

+            </property>

+            <property name="text">

+             <string> +1</string>

+            </property>

+           </widget>

+          </item>

+          <item row="1" column="0" rowspan="2">

+           <widget class="QSplitter" name="splitter_4">

+            <property name="orientation">

+             <enum>Qt::Vertical</enum>

+            </property>

+            <widget class="QLabel" name="critpathText">

+             <property name="text">

+              <string>Critpath</string>

+             </property>

+            </widget>

+            <widget class="QLabel" name="karmaText">

+             <property name="text">

+              <string>Karma</string>

+             </property>

+            </widget>

+           </widget>

+          </item>

+          <item row="1" column="1" colspan="3">

+           <widget class="QSplitter" name="splitter">

+            <property name="orientation">

+             <enum>Qt::Horizontal</enum>

+            </property>

+            <widget class="QRadioButton" name="radioButton_2">

+             <property name="text">

+              <string/>

+             </property>

+            </widget>

+            <widget class="QRadioButton" name="radioButton_3">

+             <property name="text">

+              <string/>

+             </property>

+            </widget>

+            <widget class="QRadioButton" name="radioButton_5">

+             <property name="text">

+              <string/>

+             </property>

+            </widget>

+           </widget>

+          </item>

+          <item row="2" column="1" colspan="3">

+           <widget class="QSplitter" name="splitter_2">

+            <property name="orientation">

+             <enum>Qt::Horizontal</enum>

+            </property>

+            <widget class="QRadioButton" name="radioButton">

+             <property name="text">

+              <string/>

+             </property>

+            </widget>

+            <widget class="QRadioButton" name="radioButton_4">

+             <property name="text">

+              <string/>

+             </property>

+            </widget>

+            <widget class="QRadioButton" name="radioButton_6">

+             <property name="text">

+              <string/>

+             </property>

+            </widget>

+           </widget>

           </item>

+         </layout>

+        </item>

+        <item row="9" column="5">

+         <widget class="QPushButton" name="pushButton">

+          <property name="text">

+           <string>Submit</string>

+          </property>

          </widget>

         </item>

        </layout>

        <zorder>Karma_static</zorder>

        <zorder>frame_2</zorder>

-       <zorder>Package_breif</zorder>

        <zorder>commentEdit</zorder>

        <zorder>Package_name_main</zorder>

        <zorder>Release_static</zorder>

        <zorder>Date_static</zorder>

-       <zorder>pushButton</zorder>

        <zorder>Release</zorder>

        <zorder>Date_submitted</zorder>

        <zorder>Karma</zorder>

@@ -577,21 +622,12 @@ 

        <zorder>Status_static</zorder>

        <zorder>Status</zorder>

        <zorder>Request</zorder>

-       <zorder>UpdateType</zorder>

-       <zorder>karmaBox</zorder>

-       <zorder>karmaText</zorder>

        <zorder>label_2</zorder>

        <zorder>Release_notes</zorder>

        <zorder>treeWidget_comment</zorder>

-       <zorder>critpathText</zorder>

-       <zorder>critpathBox</zorder>

-      </widget>

-     </item>

-     <item row="1" column="3" alignment="Qt::AlignRight">

-      <widget class="QLabel" name="usernamLable">

-       <property name="text">

-        <string>Username</string>

-       </property>

+       <zorder>pushButton</zorder>

+       <zorder></zorder>

+       <zorder>UpdateType</zorder>

       </widget>

      </item>

     </layout>

Added place holder texts in text boxes
Replaced Karma and Critpath box with radio buttons

1 new commit added

  • Fixed multiple radio button choice bug
8 months ago

the UI doesn't work Closing issue

Pull-Request has been closed by imzubin

8 months ago