|
@@ -25,11 +25,11 @@ from carla_config import * |
|
|
# Imports (Global) |
|
|
# Imports (Global) |
|
|
|
|
|
|
|
|
if config_UseQt5: |
|
|
if config_UseQt5: |
|
|
from PyQt5.QtCore import pyqtSignal, pyqtSlot, QByteArray, QSettings |
|
|
|
|
|
|
|
|
from PyQt5.QtCore import pyqtSignal, pyqtSlot, Qt, QByteArray, QSettings |
|
|
from PyQt5.QtGui import QColor, QCursor, QFontMetrics, QPainter, QPainterPath |
|
|
from PyQt5.QtGui import QColor, QCursor, QFontMetrics, QPainter, QPainterPath |
|
|
from PyQt5.QtWidgets import QDialog, QInputDialog, QLineEdit, QMenu, QVBoxLayout, QWidget |
|
|
from PyQt5.QtWidgets import QDialog, QInputDialog, QLineEdit, QMenu, QVBoxLayout, QWidget |
|
|
else: |
|
|
else: |
|
|
from PyQt4.QtCore import pyqtSignal, pyqtSlot, QByteArray, QSettings |
|
|
|
|
|
|
|
|
from PyQt4.QtCore import pyqtSignal, pyqtSlot, Qt, QByteArray, QSettings |
|
|
from PyQt4.QtGui import QColor, QCursor, QFontMetrics, QPainter, QPainterPath |
|
|
from PyQt4.QtGui import QColor, QCursor, QFontMetrics, QPainter, QPainterPath |
|
|
from PyQt4.QtGui import QDialog, QInputDialog, QLineEdit, QMenu, QVBoxLayout, QWidget |
|
|
from PyQt4.QtGui import QDialog, QInputDialog, QLineEdit, QMenu, QVBoxLayout, QWidget |
|
|
|
|
|
|
|
@@ -191,6 +191,9 @@ class CarlaAboutW(QDialog): |
|
|
self.adjustSize() |
|
|
self.adjustSize() |
|
|
self.setFixedSize(self.size()) |
|
|
self.setFixedSize(self.size()) |
|
|
|
|
|
|
|
|
|
|
|
if WINDOWS: |
|
|
|
|
|
self.setWindowFlags(self.windowFlags()|Qt.MSWindowsFixedSizeDialogHint) |
|
|
|
|
|
|
|
|
def done(self, r): |
|
|
def done(self, r): |
|
|
QDialog.done(self, r) |
|
|
QDialog.done(self, r) |
|
|
self.close() |
|
|
self.close() |
|
@@ -209,6 +212,9 @@ class JuceAboutW(QDialog): |
|
|
self.adjustSize() |
|
|
self.adjustSize() |
|
|
self.setFixedSize(self.size()) |
|
|
self.setFixedSize(self.size()) |
|
|
|
|
|
|
|
|
|
|
|
if WINDOWS: |
|
|
|
|
|
self.setWindowFlags(self.windowFlags()|Qt.MSWindowsFixedSizeDialogHint) |
|
|
|
|
|
|
|
|
def done(self, r): |
|
|
def done(self, r): |
|
|
QDialog.done(self, r) |
|
|
QDialog.done(self, r) |
|
|
self.close() |
|
|
self.close() |
|
|