Compare commits
No commits in common. "dc43db69a394115fdb0ea5dd97adbc341fc4d5dc" and "ea430c0f389d1b881263868e2ee0ccadd51d6457" have entirely different histories.
dc43db69a3
...
ea430c0f38
@ -7,5 +7,4 @@ requires = [
|
|||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
[tool.setuptools_scm]
|
[tool.setuptools_scm]
|
||||||
version_scheme = "guess-next-dev"
|
version_scheme = "python-simplified-semver"
|
||||||
local_scheme = "dirty-tag"
|
|
||||||
|
@ -243,6 +243,12 @@ class WorklogDialog(QtWidgets.QDialog):
|
|||||||
self.tableWidget.setMinimumWidth(min(desired_width, self.tableWidget.maximumWidth()))
|
self.tableWidget.setMinimumWidth(min(desired_width, self.tableWidget.maximumWidth()))
|
||||||
self.adjustSize()
|
self.adjustSize()
|
||||||
|
|
||||||
|
def center_dialog(self):
|
||||||
|
screen = QtGui.QGuiApplication.screenAt(self.pos())
|
||||||
|
x = ((screen.size().width() - self.tableWidget.width()) // 2) + screen.geometry().left()
|
||||||
|
y = ((screen.size().height() - self.height()) // 2) + screen.geometry().top()
|
||||||
|
self.move(x, y)
|
||||||
|
|
||||||
def update_status_view(self, row):
|
def update_status_view(self, row):
|
||||||
if self._statuses[row][0] is Status.PROGRESS:
|
if self._statuses[row][0] is Status.PROGRESS:
|
||||||
icon = ProgressIndicator(self)
|
icon = ProgressIndicator(self)
|
||||||
|
Loading…
Reference in New Issue
Block a user