Skip to content

Commit

Permalink
minor changes on ui and genlist_api
Browse files Browse the repository at this point in the history
1. fix the size of ui_compare buttons
2. remove unnecessary python modules
  • Loading branch information
mutolisp committed Feb 20, 2017
1 parent a9f0589 commit 36b196c
Show file tree
Hide file tree
Showing 7 changed files with 56,184 additions and 56,192 deletions.
2 changes: 0 additions & 2 deletions src/genlist_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@
import traceback # dealing with exception
import xlsxwriter # export xlsx
import logging # for debug
import rpy2 # rpython binding
from PyQt5.Qt import QObject
from openpyxl import Workbook, worksheet, load_workbook
from platform import uname
from decorators import *

# format the typesetting of names
class Genlist(object):
Expand Down
112,358 changes: 56,179 additions & 56,179 deletions src/iconResources_rc.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/ui/ui_about.ui
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ p, li { white-space: pre-wrap; }
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:12pt; font-weight:600;"><br /></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:12pt; font-weight:600;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Another species checklist generator</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt;">Version 0.4.1</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt;">Version 0.5.0</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Brief Introduction</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p>
Expand Down
2 changes: 1 addition & 1 deletion src/ui/ui_compare.ui
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
<item row="4" column="2">
<widget class="QComboBox" name="comboABDifference">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="MinimumExpanding">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
Expand Down
8 changes: 1 addition & 7 deletions src/ui/ui_main.ui
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>591</width>
<width>654</width>
<height>374</height>
</rect>
</property>
Expand Down Expand Up @@ -459,12 +459,6 @@
</layout>
</widget>
</widget>
<widget class="QDockWidget" name="dockWidgetMap">
<attribute name="dockWidgetArea">
<number>2</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents_2"/>
</widget>
<action name="actionSelectExport">
<property name="icon">
<iconset resource="../iconResources.qrc">
Expand Down
2 changes: 1 addition & 1 deletion src/ui_about.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def retranslateUi(self, AboutDialog):
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:12pt; font-weight:600;\"><br /></p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:12pt; font-weight:600;\"><br /></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Another species checklist generator</p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:12pt;\">Version 0.4.1</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:12pt;\">Version 0.5.0</span></p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;\"><br /></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Brief Introduction</span></p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n"
Expand Down
2 changes: 1 addition & 1 deletion src/ui_compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def setupUi(self, CompareDialog):
self.butCompare.setObjectName("butCompare")
self.gridLayout_2.addWidget(self.butCompare, 5, 5, 1, 1)
self.comboABDifference = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.MinimumExpanding)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.comboABDifference.sizePolicy().hasHeightForWidth())
Expand Down

0 comments on commit 36b196c

Please sign in to comment.