mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2025-01-13 07:33:53 +08:00
.
This commit is contained in:
parent
18e85c9a39
commit
3f6e1e8d71
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
set(VERSION_MAJOR 6)
|
set(VERSION_MAJOR 6)
|
||||||
set(VERSION_MINOR 16)
|
set(VERSION_MINOR 16)
|
||||||
set(VERSION_PATCH 12)
|
set(VERSION_PATCH 13)
|
||||||
set(VERSION_REVISION 0)
|
set(VERSION_REVISION 0)
|
||||||
set(LUNA_VERSION "{${VERSION_MAJOR},${VERSION_MINOR},${VERSION_PATCH},${VERSION_REVISION}}")
|
set(LUNA_VERSION "{${VERSION_MAJOR},${VERSION_MINOR},${VERSION_PATCH},${VERSION_REVISION}}")
|
||||||
add_library(VERSION_DEF ${CMAKE_CURRENT_LIST_DIR}/version_def.cpp)
|
add_library(VERSION_DEF ${CMAKE_CURRENT_LIST_DIR}/version_def.cpp)
|
||||||
|
@ -2440,8 +2440,6 @@ class statusbutton(QPushButton):
|
|||||||
|
|
||||||
|
|
||||||
class IconButton(QPushButton):
|
class IconButton(QPushButton):
|
||||||
clicked = pyqtSignal()
|
|
||||||
|
|
||||||
def sizeHint(self):
|
def sizeHint(self):
|
||||||
return QSize(
|
return QSize(
|
||||||
int(1.42 * globalconfig["buttonsize2"]),
|
int(1.42 * globalconfig["buttonsize2"]),
|
||||||
@ -2450,7 +2448,6 @@ class IconButton(QPushButton):
|
|||||||
|
|
||||||
def __init__(self, icon, enable=True, qicon=None, parent=None):
|
def __init__(self, icon, enable=True, qicon=None, parent=None):
|
||||||
super().__init__(parent)
|
super().__init__(parent)
|
||||||
super().clicked.connect(self.clicked)
|
|
||||||
self._icon = icon
|
self._icon = icon
|
||||||
self._qicon = qicon
|
self._qicon = qicon
|
||||||
self.setSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Fixed)
|
self.setSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Fixed)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user