diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-18 10:56:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-18 10:56:29 +0100 |
commit | 07199e3b0545f27ed0701c20748f082fb145f2a4 (patch) | |
tree | 15e9a4cc205c11ff7cb32db5e1d2bc2ef3a264d2 /src | |
parent | 17e31142c0021821319cd3effc5e9ba4cccf5d82 (diff) |
qt frontend : move the progress output do a dedicated window && ui tweaks
* buffer the progress messages when the progress window is hidden
* replay the buffer when the progress window is shown
* display real-time output when the progress window is shown
Diffstat (limited to 'src')
-rw-r--r-- | src/frontend/gui/icon/exit.png | bin | 20902 -> 17041 bytes | |||
-rw-r--r-- | src/frontend/gui/icon/install.png | bin | 15140 -> 15202 bytes | |||
-rw-r--r-- | src/frontend/gui/icon/license.png | bin | 4089 -> 0 bytes | |||
-rw-r--r-- | src/frontend/gui/icon/orphans.png | bin | 30895 -> 20590 bytes | |||
-rw-r--r-- | src/frontend/gui/icon/progress.png | bin | 0 -> 8928 bytes | |||
-rw-r--r-- | src/frontend/gui/icon/settings.png | bin | 14015 -> 8384 bytes | |||
-rw-r--r-- | src/frontend/gui/icon/uninstall.png | bin | 16276 -> 15578 bytes | |||
-rw-r--r-- | src/frontend/gui/icon/upgrade.png | bin | 22430 -> 17827 bytes | |||
-rw-r--r-- | src/frontend/gui/sisyphus-qt5.py | 213 | ||||
-rw-r--r-- | src/frontend/gui/sisyphus-qt6.py | 213 | ||||
-rw-r--r-- | src/frontend/gui/ui/license.ui | 333 | ||||
-rw-r--r-- | src/frontend/gui/ui/progress.ui | 123 | ||||
-rw-r--r-- | src/frontend/gui/ui/settings.ui (renamed from src/frontend/gui/ui/mirrorcfg.ui) | 2 | ||||
-rw-r--r-- | src/frontend/gui/ui/sisyphus.ui | 433 |
14 files changed, 552 insertions, 765 deletions
diff --git a/src/frontend/gui/icon/exit.png b/src/frontend/gui/icon/exit.png Binary files differindex 59ba8f3..c914bc0 100644 --- a/src/frontend/gui/icon/exit.png +++ b/src/frontend/gui/icon/exit.png diff --git a/src/frontend/gui/icon/install.png b/src/frontend/gui/icon/install.png Binary files differindex 9fd0f91..6d2a76d 100644 --- a/src/frontend/gui/icon/install.png +++ b/src/frontend/gui/icon/install.png diff --git a/src/frontend/gui/icon/license.png b/src/frontend/gui/icon/license.png Binary files differdeleted file mode 100644 index e6ab417..0000000 --- a/src/frontend/gui/icon/license.png +++ /dev/null diff --git a/src/frontend/gui/icon/orphans.png b/src/frontend/gui/icon/orphans.png Binary files differindex ed3f047..600fbce 100644 --- a/src/frontend/gui/icon/orphans.png +++ b/src/frontend/gui/icon/orphans.png diff --git a/src/frontend/gui/icon/progress.png b/src/frontend/gui/icon/progress.png Binary files differnew file mode 100644 index 0000000..da35437 --- /dev/null +++ b/src/frontend/gui/icon/progress.png diff --git a/src/frontend/gui/icon/settings.png b/src/frontend/gui/icon/settings.png Binary files differindex f9857f0..b70e2b6 100644 --- a/src/frontend/gui/icon/settings.png +++ b/src/frontend/gui/icon/settings.png diff --git a/src/frontend/gui/icon/uninstall.png b/src/frontend/gui/icon/uninstall.png Binary files differindex 919fb77..ac08fb8 100644 --- a/src/frontend/gui/icon/uninstall.png +++ b/src/frontend/gui/icon/uninstall.png diff --git a/src/frontend/gui/icon/upgrade.png b/src/frontend/gui/icon/upgrade.png Binary files differindex 58f0563..8059823 100644 --- a/src/frontend/gui/icon/upgrade.png +++ b/src/frontend/gui/icon/upgrade.png diff --git a/src/frontend/gui/sisyphus-qt5.py b/src/frontend/gui/sisyphus-qt5.py index 939feae..45a076f 100644 --- a/src/frontend/gui/sisyphus-qt5.py +++ b/src/frontend/gui/sisyphus-qt5.py @@ -40,16 +40,12 @@ class Sisyphus(QtWidgets.QMainWindow): Sisyphus.dbFilter = self.filterDatabases['All Packages'] Sisyphus.searchTerm = "'%%'" + self.progressWindow = None self.databaseTable.clicked.connect(self.rowClicked) - self.inputBox.textEdited.connect(self.searchDatabase) - - self.settingsButton.clicked.connect(self.showMirrorWindow) - self.licenseButton.clicked.connect(self.showLicenseWindow) - - sys.stdout = MainWorker( - workerOutput=self.updateProgress) # capture stdout + self.progressButton.clicked.connect(self.showProgressWindow) + self.settingsButton.clicked.connect(self.showSettingsWindow) self.updateWorker = MainWorker() self.updateThread = QtCore.QThread() @@ -65,7 +61,6 @@ class Sisyphus(QtWidgets.QMainWindow): self.installWorker.moveToThread(self.installThread) self.installWorker.started.connect(self.showProgress) self.installThread.started.connect(self.installWorker.startInstall) - self.installWorker.workerOutput.connect(self.updateProgress) self.installThread.finished.connect(self.hideProgress) self.installWorker.finished.connect(self.installThread.quit) @@ -76,7 +71,6 @@ class Sisyphus(QtWidgets.QMainWindow): self.uninstallWorker.started.connect(self.showProgress) self.uninstallThread.started.connect( self.uninstallWorker.startUninstall) - self.uninstallWorker.workerOutput.connect(self.updateProgress) self.uninstallThread.finished.connect(self.hideProgress) self.uninstallWorker.finished.connect(self.uninstallThread.quit) @@ -86,7 +80,6 @@ class Sisyphus(QtWidgets.QMainWindow): self.upgradeWorker.moveToThread(self.upgradeThread) self.upgradeWorker.started.connect(self.showProgress) self.upgradeThread.started.connect(self.upgradeWorker.startUpgrade) - self.upgradeWorker.workerOutput.connect(self.updateProgress) self.upgradeThread.finished.connect(self.hideProgress) self.upgradeWorker.finished.connect(self.upgradeThread.quit) @@ -97,15 +90,12 @@ class Sisyphus(QtWidgets.QMainWindow): self.autoremoveWorker.started.connect(self.showProgress) self.autoremoveThread.started.connect( self.autoremoveWorker.startAutoremove) - self.autoremoveWorker.workerOutput.connect(self.updateProgress) self.autoremoveThread.finished.connect(self.hideProgress) self.autoremoveWorker.finished.connect(self.autoremoveThread.quit) self.updateSystem() - self.progressBar.hide() - self.progressBox.hide() - self.exitButton.clicked.connect(self.sisyphusExit) + self.exitButton.clicked.connect(self.closeMainWindow) def centerOnScreen(self): screenGeometry = QtWidgets.QDesktopWidget().screenGeometry() @@ -138,9 +128,12 @@ class Sisyphus(QtWidgets.QMainWindow): def loadDatabase(self): filter = Sisyphus.dbFilter - cat = '%' + self.inputBox.text() + '%' if self.applicationFilter.currentText() == 'Package Category' else '' - pn = '%' + self.inputBox.text() + '%' if self.applicationFilter.currentText() == 'Package Name' else '' - desc = '%' + self.inputBox.text() + '%' if self.applicationFilter.currentText() == 'Package Description' else '' + cat = '%' + self.inputBox.text() + \ + '%' if self.applicationFilter.currentText() == 'Package Category' else '' + pn = '%' + self.inputBox.text() + \ + '%' if self.applicationFilter.currentText() == 'Package Name' else '' + desc = '%' + self.inputBox.text() + \ + '%' if self.applicationFilter.currentText() == 'Package Description' else '' query = sisyphus.querydb.start(filter, cat, pn, desc) with sqlite3.connect(sisyphus.getfs.lcl_db) as db: @@ -207,104 +200,139 @@ class Sisyphus(QtWidgets.QMainWindow): self.statusBar().showMessage("I am busy with some cleaning, please don't rush me ...") self.autoremoveThread.start() - def enableUiInput(self): - self.databaseTable.show() - self.installButton.setEnabled(True) - self.uninstallButton.setEnabled(True) - self.autoremoveButton.setEnabled(True) - self.upgradeButton.setEnabled(True) - self.exitButton.setEnabled(True) - self.licenseButton.setEnabled(True) - self.settingsButton.setEnabled(True) - self.applicationFilter.setEnabled(True) - self.databaseFilter.setEnabled(True) - self.inputBox.setEnabled(True) - self.label1.setEnabled(True) - self.label2.setEnabled(True) - - def disableUiInput(self): - self.databaseTable.hide() - self.installButton.setEnabled(False) - self.uninstallButton.setEnabled(False) - self.autoremoveButton.setEnabled(False) - self.upgradeButton.setEnabled(False) - self.exitButton.setEnabled(False) - self.licenseButton.setEnabled(False) - self.settingsButton.setEnabled(False) - self.applicationFilter.setEnabled(False) - self.databaseFilter.setEnabled(False) - self.inputBox.setEnabled(False) - self.label1.setEnabled(False) - self.label2.setEnabled(False) + def hideProgressButton(self): + self.progressButton.hide() - def showProgressBar(self): - self.progressBar.setRange(0, 0) - self.progressBar.show() + def showProgressButton(self): + self.progressButton.show() + + def hideSettingsButton(self): + self.settingsButton.hide() + + def showSettingsButton(self): + self.settingsButton.show() + + def hideUiButtons(self): + self.installButton.hide() + self.uninstallButton.hide() + self.autoremoveButton.hide() + self.upgradeButton.hide() + self.exitButton.hide() + + def showUiButtons(self): + self.installButton.show() + self.uninstallButton.show() + self.autoremoveButton.show() + self.upgradeButton.show() + self.exitButton.show() def hideProgressBar(self): self.progressBar.setRange(0, 1) self.progressBar.setValue(1) self.progressBar.hide() - def clearProgressBox(self): - self.progressBox.clear() - - def showProgressBox(self): - self.progressBox.show() - - def hideProgressBox(self): - self.progressBox.hide() + def showProgressBar(self): + self.progressBar.setRange(0, 0) + self.progressBar.show() def setInputFocus(self): self.inputBox.setFocus() def showProgress(self): - self.disableUiInput() + self.hideUiButtons() + self.hideSettingsButton() + self.showProgressButton() self.showProgressBar() - self.showProgressBox() - self.clearProgressBox() self.setInputFocus() def hideProgress(self): - self.enableUiInput() + self.showUiButtons() + self.showSettingsButton() + self.hideProgressButton() self.hideProgressBar() - self.hideProgressBox() - self.loadDatabase() self.setInputFocus() + self.loadDatabase() - def updateProgress(self, workerMessage): - self.progressBox.insertPlainText(workerMessage) - self.progressBox.ensureCursorVisible() + def showProgressWindow(self): + if self.progressWindow is None: + self.progressWindow = ProgressWindow(self) + + self.installWorker.workerOutput.connect( + self.progressWindow.updateProgressWindow) + self.uninstallWorker.workerOutput.connect( + self.progressWindow.updateProgressWindow) + self.upgradeWorker.workerOutput.connect( + self.progressWindow.updateProgressWindow) + self.autoremoveWorker.workerOutput.connect( + self.progressWindow.updateProgressWindow) - def showMirrorWindow(self): - self.window = MirrorConfiguration() - self.window.show() + self.progressWindow.show() - def showLicenseWindow(self): - self.window = LicenseInformation() - self.window.show() + def showSettingsWindow(self): + self.settingsWindow = SettingsWindow(self) + self.settingsWindow.show() - def sisyphusExit(self): + def closeMainWindow(self): self.close() def handleSigterm(self, signum, frame): self.close() def __del__(self): - sys.stdout = sys.__stdout__ # restore stdout + sys.stdout = sys.__stdout__ -# mirror configuration window +class ProgressWindow(QtWidgets.QMainWindow): + progress_messages = [] -class MirrorConfiguration(QtWidgets.QMainWindow): - def __init__(self): - super(MirrorConfiguration, self).__init__() - uic.loadUi('/usr/share/sisyphus/ui/mirrorcfg.ui', self) + def __init__(self, parent=None): + super(ProgressWindow, self).__init__(parent) + uic.loadUi('/usr/share/sisyphus/ui/progress.ui', self) + self.setWindowFlag(QtCore.Qt.FramelessWindowHint) + self.centerOnScreen() + self.refreshProgressWindow() + self.clearButton.clicked.connect(self.clearProgressWindow) + self.hideButton.clicked.connect(self.hideProgressWindow) + + sys.stdout = MainWorker(workerOutput=self.updateProgressWindow) + + def centerOnScreen(self): + screenGeometry = QtWidgets.QDesktopWidget().screenGeometry() + windowGeometry = self.geometry() + horizontalPosition = int( + (screenGeometry.width() - windowGeometry.width()) / 2) + verticalPosition = int( + (screenGeometry.height() - windowGeometry.height()) / 2) + self.move(horizontalPosition, verticalPosition) + + def updateProgressWindow(self, workerMessage): + ProgressWindow.progress_messages.append(workerMessage) + self.progressBox.insertPlainText(workerMessage) + self.progressBox.ensureCursorVisible() + + def refreshProgressWindow(self): + self.progressBox.clear() + self.progressBox.setPlainText( + ''.join(ProgressWindow.progress_messages)) + self.progressBox.ensureCursorVisible() + + def clearProgressWindow(self): + self.progressBox.clear() + ProgressWindow.progress_messages.clear() + + def hideProgressWindow(self): + self.hide() + + +class SettingsWindow(QtWidgets.QMainWindow): + def __init__(self, parent=None): + super(SettingsWindow, self).__init__(parent) + uic.loadUi('/usr/share/sisyphus/ui/settings.ui', self) self.centerOnScreen() self.MIRRORLIST = sisyphus.setmirror.getList() self.updateMirrorList() - self.applyButton.pressed.connect(self.mirrorCfgApply) - self.applyButton.released.connect(self.mirrorCfgExit) + self.applyButton.pressed.connect(self.writeMirrorList) + self.applyButton.released.connect(self.closeSettingsWindow) self.mirrorCombo.activated.connect(self.setMirrorList) def centerOnScreen(self): @@ -333,31 +361,13 @@ class MirrorConfiguration(QtWidgets.QMainWindow): self.ACTIVEMIRRORINDEX = self.mirrorCombo.currentIndex() self.MIRRORLIST[self.ACTIVEMIRRORINDEX]['isActive'] = True - def mirrorCfgApply(self): + def writeMirrorList(self): sisyphus.setmirror.writeList(self.MIRRORLIST) - def mirrorCfgExit(self): + def closeSettingsWindow(self): self.close() -# license information window -class LicenseInformation(QtWidgets.QMainWindow): - def __init__(self): - super(LicenseInformation, self).__init__() - uic.loadUi('/usr/share/sisyphus/ui/license.ui', self) - self.centerOnScreen() - - def centerOnScreen(self): - screenGeometry = QtWidgets.QDesktopWidget().screenGeometry() - windowGeometry = self.geometry() - horizontalPosition = int( - (screenGeometry.width() - windowGeometry.width()) / 2) - verticalPosition = int( - (screenGeometry.height() - windowGeometry.height()) / 2) - self.move(horizontalPosition, verticalPosition) - - -# worker/multithreading class class MainWorker(QtCore.QObject): started = QtCore.pyqtSignal() finished = QtCore.pyqtSignal() @@ -408,7 +418,6 @@ class MainWorker(QtCore.QObject): self.finished.emit() -# launch application if __name__ == '__main__': app = QtWidgets.QApplication(sys.argv) app.setStyle('Breeze') diff --git a/src/frontend/gui/sisyphus-qt6.py b/src/frontend/gui/sisyphus-qt6.py index ace6c8b..5ffcd32 100644 --- a/src/frontend/gui/sisyphus-qt6.py +++ b/src/frontend/gui/sisyphus-qt6.py @@ -40,16 +40,12 @@ class Sisyphus(QtWidgets.QMainWindow): Sisyphus.dbFilter = self.filterDatabases['All Packages'] Sisyphus.searchTerm = "'%%'" + self.progressWindow = None self.databaseTable.clicked.connect(self.rowClicked) - self.inputBox.textEdited.connect(self.searchDatabase) - - self.settingsButton.clicked.connect(self.showMirrorWindow) - self.licenseButton.clicked.connect(self.showLicenseWindow) - - sys.stdout = MainWorker( - workerOutput=self.updateProgress) # capture stdout + self.progressButton.clicked.connect(self.showProgressWindow) + self.settingsButton.clicked.connect(self.showSettingsWindow) self.updateWorker = MainWorker() self.updateThread = QtCore.QThread() @@ -65,7 +61,6 @@ class Sisyphus(QtWidgets.QMainWindow): self.installWorker.moveToThread(self.installThread) self.installWorker.started.connect(self.showProgress) self.installThread.started.connect(self.installWorker.startInstall) - self.installWorker.workerOutput.connect(self.updateProgress) self.installThread.finished.connect(self.hideProgress) self.installWorker.finished.connect(self.installThread.quit) @@ -76,7 +71,6 @@ class Sisyphus(QtWidgets.QMainWindow): self.uninstallWorker.started.connect(self.showProgress) self.uninstallThread.started.connect( self.uninstallWorker.startUninstall) - self.uninstallWorker.workerOutput.connect(self.updateProgress) self.uninstallThread.finished.connect(self.hideProgress) self.uninstallWorker.finished.connect(self.uninstallThread.quit) @@ -86,7 +80,6 @@ class Sisyphus(QtWidgets.QMainWindow): self.upgradeWorker.moveToThread(self.upgradeThread) self.upgradeWorker.started.connect(self.showProgress) self.upgradeThread.started.connect(self.upgradeWorker.startUpgrade) - self.upgradeWorker.workerOutput.connect(self.updateProgress) self.upgradeThread.finished.connect(self.hideProgress) self.upgradeWorker.finished.connect(self.upgradeThread.quit) @@ -97,15 +90,12 @@ class Sisyphus(QtWidgets.QMainWindow): self.autoremoveWorker.started.connect(self.showProgress) self.autoremoveThread.started.connect( self.autoremoveWorker.startAutoremove) - self.autoremoveWorker.workerOutput.connect(self.updateProgress) self.autoremoveThread.finished.connect(self.hideProgress) self.autoremoveWorker.finished.connect(self.autoremoveThread.quit) self.updateSystem() - self.progressBar.hide() - self.progressBox.hide() - self.exitButton.clicked.connect(self.sisyphusExit) + self.exitButton.clicked.connect(self.closeMainWindow) def centerOnScreen(self): screenGeometry = QtGui.QGuiApplication.primaryScreen().geometry() @@ -138,9 +128,12 @@ class Sisyphus(QtWidgets.QMainWindow): def loadDatabase(self): filter = Sisyphus.dbFilter - cat = '%' + self.inputBox.text() + '%' if self.applicationFilter.currentText() == 'Package Category' else '' - pn = '%' + self.inputBox.text() + '%' if self.applicationFilter.currentText() == 'Package Name' else '' - desc = '%' + self.inputBox.text() + '%' if self.applicationFilter.currentText() == 'Package Description' else '' + cat = '%' + self.inputBox.text() + \ + '%' if self.applicationFilter.currentText() == 'Package Category' else '' + pn = '%' + self.inputBox.text() + \ + '%' if self.applicationFilter.currentText() == 'Package Name' else '' + desc = '%' + self.inputBox.text() + \ + '%' if self.applicationFilter.currentText() == 'Package Description' else '' query = sisyphus.querydb.start(filter, cat, pn, desc) with sqlite3.connect(sisyphus.getfs.lcl_db) as db: @@ -207,104 +200,139 @@ class Sisyphus(QtWidgets.QMainWindow): self.statusBar().showMessage("I am busy with some cleaning, please don't rush me ...") self.autoremoveThread.start() - def enableUiInput(self): - self.databaseTable.show() - self.installButton.setEnabled(True) - self.uninstallButton.setEnabled(True) - self.autoremoveButton.setEnabled(True) - self.upgradeButton.setEnabled(True) - self.exitButton.setEnabled(True) - self.licenseButton.setEnabled(True) - self.settingsButton.setEnabled(True) - self.applicationFilter.setEnabled(True) - self.databaseFilter.setEnabled(True) - self.inputBox.setEnabled(True) - self.label1.setEnabled(True) - self.label2.setEnabled(True) - - def disableUiInput(self): - self.databaseTable.hide() - self.installButton.setEnabled(False) - self.uninstallButton.setEnabled(False) - self.autoremoveButton.setEnabled(False) - self.upgradeButton.setEnabled(False) - self.exitButton.setEnabled(False) - self.licenseButton.setEnabled(False) - self.settingsButton.setEnabled(False) - self.applicationFilter.setEnabled(False) - self.databaseFilter.setEnabled(False) - self.inputBox.setEnabled(False) - self.label1.setEnabled(False) - self.label2.setEnabled(False) + def hideProgressButton(self): + self.progressButton.hide() - def showProgressBar(self): - self.progressBar.setRange(0, 0) - self.progressBar.show() + def showProgressButton(self): + self.progressButton.show() + + def hideSettingsButton(self): + self.settingsButton.hide() + + def showSettingsButton(self): + self.settingsButton.show() + + def hideUiButtons(self): + self.installButton.hide() + self.uninstallButton.hide() + self.autoremoveButton.hide() + self.upgradeButton.hide() + self.exitButton.hide() + + def showUiButtons(self): + self.installButton.show() + self.uninstallButton.show() + self.autoremoveButton.show() + self.upgradeButton.show() + self.exitButton.show() def hideProgressBar(self): self.progressBar.setRange(0, 1) self.progressBar.setValue(1) self.progressBar.hide() - def clearProgressBox(self): - self.progressBox.clear() - - def showProgressBox(self): - self.progressBox.show() - - def hideProgressBox(self): - self.progressBox.hide() + def showProgressBar(self): + self.progressBar.setRange(0, 0) + self.progressBar.show() def setInputFocus(self): self.inputBox.setFocus() def showProgress(self): - self.disableUiInput() + self.hideUiButtons() + self.hideSettingsButton() + self.showProgressButton() self.showProgressBar() - self.showProgressBox() - self.clearProgressBox() self.setInputFocus() def hideProgress(self): - self.enableUiInput() + self.showUiButtons() + self.showSettingsButton() + self.hideProgressButton() self.hideProgressBar() - self.hideProgressBox() - self.loadDatabase() self.setInputFocus() + self.loadDatabase() - def updateProgress(self, workerMessage): - self.progressBox.insertPlainText(workerMessage) - self.progressBox.ensureCursorVisible() + def showProgressWindow(self): + if self.progressWindow is None: + self.progressWindow = ProgressWindow(self) + + self.installWorker.workerOutput.connect( + self.progressWindow.updateProgressWindow) + self.uninstallWorker.workerOutput.connect( + self.progressWindow.updateProgressWindow) + self.upgradeWorker.workerOutput.connect( + self.progressWindow.updateProgressWindow) + self.autoremoveWorker.workerOutput.connect( + self.progressWindow.updateProgressWindow) - def showMirrorWindow(self): - self.window = MirrorConfiguration() - self.window.show() + self.progressWindow.show() - def showLicenseWindow(self): - self.window = LicenseInformation() - self.window.show() + def showSettingsWindow(self): + self.settingsWindow = SettingsWindow(self) + self.settingsWindow.show() - def sisyphusExit(self): + def closeMainWindow(self): self.close() def handleSigterm(self, signum, frame): self.close() def __del__(self): - sys.stdout = sys.__stdout__ # restore stdout + sys.stdout = sys.__stdout__ -# mirror configuration window +class ProgressWindow(QtWidgets.QMainWindow): + progress_messages = [] -class MirrorConfiguration(QtWidgets.QMainWindow): - def __init__(self): - super(MirrorConfiguration, self).__init__() - uic.loadUi('/usr/share/sisyphus/ui/mirrorcfg.ui', self) + def __init__(self, parent=None): + super(ProgressWindow, self).__init__(parent) + uic.loadUi('/usr/share/sisyphus/ui/progress.ui', self) + self.setWindowFlag(QtCore.Qt.WindowType.FramelessWindowHint) + self.centerOnScreen() + self.refreshProgressWindow() + self.clearButton.clicked.connect(self.clearProgressWindow) + self.hideButton.clicked.connect(self.hideProgressWindow) + + sys.stdout = MainWorker(workerOutput=self.updateProgressWindow) + + def centerOnScreen(self): + screenGeometry = QtGui.QGuiApplication.primaryScreen().geometry() + windowGeometry = self.geometry() + horizontalPosition = int( + (screenGeometry.width() - windowGeometry.width()) / 2) + verticalPosition = int( + (screenGeometry.height() - windowGeometry.height()) / 2) + self.move(horizontalPosition, verticalPosition) + + def updateProgressWindow(self, workerMessage): + ProgressWindow.progress_messages.append(workerMessage) + self.progressBox.insertPlainText(workerMessage) + self.progressBox.ensureCursorVisible() + + def refreshProgressWindow(self): + self.progressBox.clear() + self.progressBox.setPlainText( + ''.join(ProgressWindow.progress_messages)) + self.progressBox.ensureCursorVisible() + + def clearProgressWindow(self): + self.progressBox.clear() + ProgressWindow.progress_messages.clear() + + def hideProgressWindow(self): + self.hide() + + +class SettingsWindow(QtWidgets.QMainWindow): + def __init__(self, parent=None): + super(SettingsWindow, self).__init__(parent) + uic.loadUi('/usr/share/sisyphus/ui/settings.ui', self) self.centerOnScreen() self.MIRRORLIST = sisyphus.setmirror.getList() self.updateMirrorList() - self.applyButton.pressed.connect(self.mirrorCfgApply) - self.applyButton.released.connect(self.mirrorCfgExit) + self.applyButton.pressed.connect(self.writeMirrorList) + self.applyButton.released.connect(self.closeSettingsWindow) self.mirrorCombo.activated.connect(self.setMirrorList) def centerOnScreen(self): @@ -333,31 +361,13 @@ class MirrorConfiguration(QtWidgets.QMainWindow): self.ACTIVEMIRRORINDEX = self.mirrorCombo.currentIndex() self.MIRRORLIST[self.ACTIVEMIRRORINDEX]['isActive'] = True - def mirrorCfgApply(self): + def writeMirrorList(self): sisyphus.setmirror.writeList(self.MIRRORLIST) - def mirrorCfgExit(self): + def closeSettingsWindow(self): self.close() -# license information window -class LicenseInformation(QtWidgets.QMainWindow): - def __init__(self): - super(LicenseInformation, self).__init__() - uic.loadUi('/usr/share/sisyphus/ui/license.ui', self) - self.centerOnScreen() - - def centerOnScreen(self): - screenGeometry = QtGui.QGuiApplication.primaryScreen().geometry() - windowGeometry = self.geometry() - horizontalPosition = int( - (screenGeometry.width() - windowGeometry.width()) / 2) - verticalPosition = int( - (screenGeometry.height() - windowGeometry.height()) / 2) - self.move(horizontalPosition, verticalPosition) - - -# worker/multithreading class class MainWorker(QtCore.QObject): started = QtCore.pyqtSignal() finished = QtCore.pyqtSignal() @@ -408,7 +418,6 @@ class MainWorker(QtCore.QObject): self.finished.emit() -# launch application if __name__ == '__main__': app = QtWidgets.QApplication(sys.argv) app.setStyle('Breeze') diff --git a/src/frontend/gui/ui/license.ui b/src/frontend/gui/ui/license.ui deleted file mode 100644 index 78dfa3a..0000000 --- a/src/frontend/gui/ui/license.ui +++ /dev/null @@ -1,333 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ui version="4.0"> - <class>MainWindow</class> - <widget class="QMainWindow" name="MainWindow"> - <property name="windowModality"> - <enum>Qt::ApplicationModal</enum> - </property> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>640</width> - <height>480</height> - </rect> - </property> - <property name="minimumSize"> - <size> - <width>640</width> - <height>480</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>640</width> - <height>480</height> - </size> - </property> - <property name="windowTitle"> - <string>License Information</string> - </property> - <property name="windowIcon"> - <iconset> - <normaloff>../icon/sisyphus.png</normaloff>../icon/sisyphus.png</iconset> - </property> - <widget class="QWidget" name="centralWidget"> - <layout class="QGridLayout" name="gridLayout"> - <item row="0" column="0"> - <widget class="QTextBrowser" name="textBrowser"> - <property name="html"> - <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Noto Sans'; font-size:8pt; font-weight:400; font-style:normal;"> -<p align="justify" style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> GNU GENERAL PUBLIC LICENSE</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> Version 2, June 1991</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> Copyright (C) 1989, 1991 Free Software Foundation, Inc., &lt;http://fsf.org/&gt;</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> Everyone is permitted to copy and distribute verbatim copies</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> of this license document, but changing it is not allowed.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> Preamble</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> The licenses for most software are designed to take away your</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">freedom to share and change it. By contrast, the GNU General Public</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">License is intended to guarantee your freedom to share and change free</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">software--to make sure the software is free for all its users. This</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">General Public License applies to most of the Free Software</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">Foundation's software and to any other program whose authors commit to</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">using it. (Some other Free Software Foundation software is covered by</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">the GNU Lesser General Public License instead.) You can apply it to</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">your programs, too.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> When we speak of free software, we are referring to freedom, not</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">price. Our General Public Licenses are designed to make sure that you</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">have the freedom to distribute copies of free software (and charge for</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">this service if you wish), that you receive source code or can get it</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">if you want it, that you can change the software or use pieces of it</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">in new free programs; and that you know you can do these things.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> To protect your rights, we need to make restrictions that forbid</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">anyone to deny you these rights or to ask you to surrender the rights.</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">These restrictions translate to certain responsibilities for you if you</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">distribute copies of the software, or if you modify it.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> For example, if you distribute copies of such a program, whether</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">gratis or for a fee, you must give the recipients all the rights that</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">you have. You must make sure that they, too, receive or can get the</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">source code. And you must show them these terms so they know their</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">rights.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> We protect your rights with two steps: (1) copyright the software, and</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">(2) offer you this license which gives you legal permission to copy,</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">distribute and/or modify the software.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> Also, for each author's protection and ours, we want to make certain</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">that everyone understands that there is no warranty for this free</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">software. If the software is modified by someone else and passed on, we</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">want its recipients to know that what they have is not the original, so</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">that any problems introduced by others will not reflect on the original</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">authors' reputations.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> Finally, any free program is threatened constantly by software</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">patents. We wish to avoid the danger that redistributors of a free</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">program will individually obtain patent licenses, in effect making the</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">program proprietary. To prevent this, we have made it clear that any</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">patent must be licensed for everyone's free use or not licensed at all.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> The precise terms and conditions for copying, distribution and</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">modification follow.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> GNU GENERAL PUBLIC LICENSE</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> 0. This License applies to any program or other work which contains</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">a notice placed by the copyright holder saying it may be distributed</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">under the terms of this General Public License. The &quot;Program&quot;, below,</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">refers to any such program or work, and a &quot;work based on the Program&quot;</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">means either the Program or any derivative work under copyright law:</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">that is to say, a work containing the Program or a portion of it,</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">either verbatim or with modifications and/or translated into another</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">language. (Hereinafter, translation is included without limitation in</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">the term &quot;modification&quot;.) Each licensee is addressed as &quot;you&quot;.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">Activities other than copying, distribution and modification are not</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">covered by this License; they are outside its scope. The act of</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">running the Program is not restricted, and the output from the Program</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">is covered only if its contents constitute a work based on the</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">Program (independent of having been made by running the Program).</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">Whether that is true depends on what the Program does.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> 1. You may copy and distribute verbatim copies of the Program's</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">source code as you receive it, in any medium, provided that you</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">conspicuously and appropriately publish on each copy an appropriate</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">copyright notice and disclaimer of warranty; keep intact all the</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">notices that refer to this License and to the absence of any warranty;</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">and give any other recipients of the Program a copy of this License</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">along with the Program.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">You may charge a fee for the physical act of transferring a copy, and</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">you may at your option offer warranty protection in exchange for a fee.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> 2. You may modify your copy or copies of the Program or any portion</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">of it, thus forming a work based on the Program, and copy and</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">distribute such modifications or work under the terms of Section 1</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">above, provided that you also meet all of these conditions:</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> a) You must cause the modified files to carry prominent notices</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> stating that you changed the files and the date of any change.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> b) You must cause any work that you distribute or publish, that in</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> whole or in part contains or is derived from the Program or any</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> part thereof, to be licensed as a whole at no charge to all third</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> parties under the terms of this License.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> c) If the modified program normally reads commands interactively</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> when run, you must cause it, when started running for such</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> interactive use in the most ordinary way, to print or display an</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> announcement including an appropriate copyright notice and a</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> notice that there is no warranty (or else, saying that you provide</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> a warranty) and that users may redistribute the program under</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> these conditions, and telling the user how to view a copy of this</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> License. (Exception: if the Program itself is interactive but</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> does not normally print such an announcement, your work based on</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> the Program is not required to print an announcement.)</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">These requirements apply to the modified work as a whole. If</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">identifiable sections of that work are not derived from the Program,</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">and can be reasonably considered independent and separate works in</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">themselves, then this License, and its terms, do not apply to those</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">sections when you distribute them as separate works. But when you</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">distribute the same sections as part of a whole which is a work based</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">on the Program, the distribution of the whole must be on the terms of</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">this License, whose permissions for other licensees extend to the</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">entire whole, and thus to each and every part regardless of who wrote it.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">Thus, it is not the intent of this section to claim rights or contest</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">your rights to work written entirely by you; rather, the intent is to</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">exercise the right to control the distribution of derivative or</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">collective works based on the Program.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">In addition, mere aggregation of another work not based on the Program</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">with the Program (or with a work based on the Program) on a volume of</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">a storage or distribution medium does not bring the other work under</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">the scope of this License.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> 3. You may copy and distribute the Program (or a work based on it,</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">under Section 2) in object code or executable form under the terms of</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">Sections 1 and 2 above provided that you also do one of the following:</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> a) Accompany it with the complete corresponding machine-readable</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> source code, which must be distributed under the terms of Sections</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> 1 and 2 above on a medium customarily used for software interchange; or,</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> b) Accompany it with a written offer, valid for at least three</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> years, to give any third party, for a charge no more than your</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> cost of physically performing source distribution, a complete</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> machine-readable copy of the corresponding source code, to be</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> distributed under the terms of Sections 1 and 2 above on a medium</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> customarily used for software interchange; or,</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> c) Accompany it with the information you received as to the offer</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> to distribute corresponding source code. (This alternative is</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> allowed only for noncommercial distribution and only if you</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> received the program in object code or executable form with such</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> an offer, in accord with Subsection b above.)</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">The source code for a work means the preferred form of the work for</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">making modifications to it. For an executable work, complete source</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">code means all the source code for all modules it contains, plus any</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">associated interface definition files, plus the scripts used to</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">control compilation and installation of the executable. However, as a</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">special exception, the source code distributed need not include</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">anything that is normally distributed (in either source or binary</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">form) with the major components (compiler, kernel, and so on) of the</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">operating system on which the executable runs, unless that component</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">itself accompanies the executable.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">If distribution of executable or object code is made by offering</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">access to copy from a designated place, then offering equivalent</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">access to copy the source code from the same place counts as</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">distribution of the source code, even though third parties are not</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">compelled to copy the source along with the object code.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> 4. You may not copy, modify, sublicense, or distribute the Program</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">except as expressly provided under this License. Any attempt</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">otherwise to copy, modify, sublicense or distribute the Program is</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">void, and will automatically terminate your rights under this License.</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">However, parties who have received copies, or rights, from you under</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">this License will not have their licenses terminated so long as such</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">parties remain in full compliance.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> 5. You are not required to accept this License, since you have not</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">signed it. However, nothing else grants you permission to modify or</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">distribute the Program or its derivative works. These actions are</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">prohibited by law if you do not accept this License. Therefore, by</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">modifying or distributing the Program (or any work based on the</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">Program), you indicate your acceptance of this License to do so, and</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">all its terms and conditions for copying, distributing or modifying</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">the Program or works based on it.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> 6. Each time you redistribute the Program (or any work based on the</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">Program), the recipient automatically receives a license from the</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">original licensor to copy, distribute or modify the Program subject to</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">these terms and conditions. You may not impose any further</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">restrictions on the recipients' exercise of the rights granted herein.</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">You are not responsible for enforcing compliance by third parties to</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">this License.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> 7. If, as a consequence of a court judgment or allegation of patent</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">infringement or for any other reason (not limited to patent issues),</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">conditions are imposed on you (whether by court order, agreement or</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">otherwise) that contradict the conditions of this License, they do not</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">excuse you from the conditions of this License. If you cannot</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">distribute so as to satisfy simultaneously your obligations under this</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">License and any other pertinent obligations, then as a consequence you</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">may not distribute the Program at all. For example, if a patent</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">license would not permit royalty-free redistribution of the Program by</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">all those who receive copies directly or indirectly through you, then</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">the only way you could satisfy both it and this License would be to</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">refrain entirely from distribution of the Program.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">If any portion of this section is held invalid or unenforceable under</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">any particular circumstance, the balance of the section is intended to</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">apply and the section as a whole is intended to apply in other</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">circumstances.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">It is not the purpose of this section to induce you to infringe any</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">patents or other property right claims or to contest validity of any</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">such claims; this section has the sole purpose of protecting the</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">integrity of the free software distribution system, which is</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">implemented by public license practices. Many people have made</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">generous contributions to the wide range of software distributed</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">through that system in reliance on consistent application of that</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">system; it is up to the author/donor to decide if he or she is willing</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">to distribute software through any other system and a licensee cannot</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">impose that choice.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">This section is intended to make thoroughly clear what is believed to</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">be a consequence of the rest of this License.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> 8. If the distribution and/or use of the Program is restricted in</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">certain countries either by patents or by copyrighted interfaces, the</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">original copyright holder who places the Program under this License</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">may add an explicit geographical distribution limitation excluding</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">those countries, so that distribution is permitted only in or among</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">countries not thus excluded. In such case, this License incorporates</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">the limitation as if written in the body of this License.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> 9. The Free Software Foundation may publish revised and/or new versions</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">of the General Public License from time to time. Such new versions will</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">be similar in spirit to the present version, but may differ in detail to</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">address new problems or concerns.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">Each version is given a distinguishing version number. If the Program</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">specifies a version number of this License which applies to it and &quot;any</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">later version&quot;, you have the option of following the terms and conditions</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">either of that version or of any later version published by the Free</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">Software Foundation. If the Program does not specify a version number of</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">this License, you may choose any version ever published by the Free Software</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">Foundation.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> 10. If you wish to incorporate parts of the Program into other free</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">programs whose distribution conditions are different, write to the author</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">to ask for permission. For software which is copyrighted by the Free</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">Software Foundation, write to the Free Software Foundation; we sometimes</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">make exceptions for this. Our decision will be guided by the two goals</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">of preserving the free status of all derivatives of our free software and</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">of promoting the sharing and reuse of software generally.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> NO WARRANTY</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">PROVIDE THE PROGRAM &quot;AS IS&quot; WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">REPAIR OR CORRECTION.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE</span></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;">POSSIBILITY OF SUCH DAMAGES.</span></p> -<p align="justify" 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-family:'monospace'; font-size:10pt;"><br /></p> -<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; font-size:10pt;"> END OF TERMS AND CONDITIONS</span></p></body></html></string> - </property> - </widget> - </item> - </layout> - </widget> - </widget> - <layoutdefault spacing="6" margin="11"/> - <resources/> - <connections/> -</ui> diff --git a/src/frontend/gui/ui/progress.ui b/src/frontend/gui/ui/progress.ui new file mode 100644 index 0000000..d56f63f --- /dev/null +++ b/src/frontend/gui/ui/progress.ui @@ -0,0 +1,123 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>MainWindow</class> + <widget class="QMainWindow" name="MainWindow"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>1024</width> + <height>576</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>1024</width> + <height>576</height> + </size> + </property> + <property name="windowTitle"> + <string>Sisyphus : Progress Window</string> + </property> + <property name="windowIcon"> + <iconset> + <normaloff>../icon/sisyphus.png</normaloff>../icon/sisyphus.png</iconset> + </property> + <widget class="QWidget" name="mainLayout"> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QPlainTextEdit" name="progressBox"> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="frameShadow"> + <enum>QFrame::Sunken</enum> + </property> + <property name="textInteractionFlags"> + <set>Qt::TextSelectableByMouse</set> + </property> + <property name="placeholderText"> + <string>The progress output will be displayed here</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <layout class="QHBoxLayout" name="ActionLayout"> + <item> + <widget class="QToolButton" name="hideButton"> + <property name="minimumSize"> + <size> + <width>275</width> + <height>64</height> + </size> + </property> + <property name="text"> + <string>Hide Window</string> + </property> + <property name="icon"> + <iconset> + <normaloff>../icon/progress.png</normaloff>../icon/progress.png</iconset> + </property> + <property name="iconSize"> + <size> + <width>30</width> + <height>30</height> + </size> + </property> + <property name="toolButtonStyle"> + <enum>Qt::ToolButtonTextUnderIcon</enum> + </property> + <property name="autoRaise"> + <bool>true</bool> + </property> + <property name="arrowType"> + <enum>Qt::NoArrow</enum> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="clearButton"> + <property name="minimumSize"> + <size> + <width>275</width> + <height>64</height> + </size> + </property> + <property name="text"> + <string>Clear Window</string> + </property> + <property name="icon"> + <iconset> + <normaloff>../icon/orphans.png</normaloff>../icon/orphans.png</iconset> + </property> + <property name="iconSize"> + <size> + <width>30</width> + <height>30</height> + </size> + </property> + <property name="toolButtonStyle"> + <enum>Qt::ToolButtonTextUnderIcon</enum> + </property> + <property name="autoRaise"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + </widget> + <tabstops> + <tabstop>progressBox</tabstop> + </tabstops> + <resources/> + <connections/> +</ui> diff --git a/src/frontend/gui/ui/mirrorcfg.ui b/src/frontend/gui/ui/settings.ui index 672a9c5..eb9196a 100644 --- a/src/frontend/gui/ui/mirrorcfg.ui +++ b/src/frontend/gui/ui/settings.ui @@ -26,7 +26,7 @@ </size> </property> <property name="windowTitle"> - <string>Mirror Configuration</string> + <string>Sisyphus : Settings</string> </property> <property name="windowIcon"> <iconset> diff --git a/src/frontend/gui/ui/sisyphus.ui b/src/frontend/gui/ui/sisyphus.ui index f2d5a06..b9cfb59 100644 --- a/src/frontend/gui/ui/sisyphus.ui +++ b/src/frontend/gui/ui/sisyphus.ui @@ -9,8 +9,8 @@ <rect> <x>0</x> <y>0</y> - <width>1024</width> - <height>576</height> + <width>1366</width> + <height>768</height> </rect> </property> <property name="sizePolicy"> @@ -21,8 +21,8 @@ </property> <property name="minimumSize"> <size> - <width>1024</width> - <height>576</height> + <width>1366</width> + <height>768</height> </size> </property> <property name="windowTitle"> @@ -49,6 +49,16 @@ <property name="spacing"> <number>15</number> </property> + <item row="3" column="0"> + <widget class="QProgressBar" name="progressBar"> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>25</height> + </size> + </property> + </widget> + </item> <item row="1" column="0"> <widget class="QTableView" name="databaseTable"> <property name="frameShape"> @@ -101,242 +111,186 @@ </attribute> </widget> </item> - <item row="4" column="0"> - <widget class="QProgressBar" name="progressBar"> - <property name="maximumSize"> - <size> - <width>16777215</width> - <height>25</height> - </size> - </property> - </widget> - </item> <item row="2" column="0"> - <widget class="QPlainTextEdit" name="progressBox"> - <property name="frameShape"> - <enum>QFrame::StyledPanel</enum> - </property> - <property name="frameShadow"> - <enum>QFrame::Sunken</enum> - </property> - <property name="verticalScrollBarPolicy"> - <enum>Qt::ScrollBarAlwaysOn</enum> - </property> - <property name="textInteractionFlags"> - <set>Qt::TextSelectableByMouse</set> - </property> - <property name="placeholderText"> - <string>The progress output will be displayed here</string> - </property> - </widget> - </item> - <item row="0" column="0"> - <widget class="QWidget" name="inputLayout" native="true"> - <layout class="QHBoxLayout" name="inputGrid"> - <property name="spacing"> - <number>25</number> - </property> - <property name="leftMargin"> - <number>25</number> - </property> - <property name="rightMargin"> - <number>25</number> - </property> + <widget class="QWidget" name="actionLayout" native="true"> + <layout class="QHBoxLayout" name="actionGrid"> <item> - <widget class="QLabel" name="label1"> + <widget class="QToolButton" name="installButton"> <property name="minimumSize"> <size> - <width>0</width> - <height>30</height> + <width>125</width> + <height>48</height> </size> </property> <property name="maximumSize"> <size> - <width>16777215</width> - <height>30</height> + <width>175</width> + <height>64</height> </size> </property> - <property name="font"> - <font> - <pointsize>10</pointsize> - </font> + <property name="text"> + <string>Install Selected Package(s)</string> </property> - <property name="frameShape"> - <enum>QFrame::StyledPanel</enum> + <property name="icon"> + <iconset> + <normaloff>../icon/install.png</normaloff>../icon/install.png</iconset> </property> - <property name="text"> - <string>Search by</string> + <property name="iconSize"> + <size> + <width>30</width> + <height>30</height> + </size> </property> - <property name="textFormat"> - <enum>Qt::MarkdownText</enum> + <property name="toolButtonStyle"> + <enum>Qt::ToolButtonTextUnderIcon</enum> </property> - <property name="scaledContents"> + <property name="autoRaise"> <bool>true</bool> </property> - <property name="textInteractionFlags"> - <set>Qt::NoTextInteraction</set> - </property> - <property name="buddy"> - <cstring>inputLayout</cstring> + <property name="arrowType"> + <enum>Qt::NoArrow</enum> </property> </widget> </item> <item> - <widget class="QComboBox" name="applicationFilter"> + <widget class="QToolButton" name="uninstallButton"> <property name="minimumSize"> <size> - <width>0</width> - <height>30</height> + <width>125</width> + <height>48</height> </size> </property> <property name="maximumSize"> <size> - <width>16777215</width> - <height>30</height> + <width>175</width> + <height>64</height> </size> </property> - <property name="frame"> - <bool>false</bool> + <property name="text"> + <string>Uninstall Selected Package(s)</string> </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label2"> - <property name="minimumSize"> - <size> - <width>0</width> - <height>30</height> - </size> + <property name="icon"> + <iconset> + <normaloff>../icon/uninstall.png</normaloff>../icon/uninstall.png</iconset> </property> - <property name="maximumSize"> + <property name="iconSize"> <size> - <width>16777215</width> + <width>30</width> <height>30</height> </size> </property> - <property name="font"> - <font> - <pointsize>10</pointsize> - </font> - </property> - <property name="mouseTracking"> - <bool>true</bool> - </property> - <property name="frameShape"> - <enum>QFrame::StyledPanel</enum> - </property> - <property name="text"> - <string>in</string> + <property name="toolButtonStyle"> + <enum>Qt::ToolButtonTextUnderIcon</enum> </property> - <property name="scaledContents"> + <property name="autoRaise"> <bool>true</bool> </property> - <property name="textInteractionFlags"> - <set>Qt::NoTextInteraction</set> + <property name="arrowType"> + <enum>Qt::NoArrow</enum> </property> </widget> </item> <item> - <widget class="QComboBox" name="databaseFilter"> + <widget class="QToolButton" name="upgradeButton"> <property name="minimumSize"> <size> - <width>0</width> - <height>30</height> + <width>125</width> + <height>48</height> </size> </property> <property name="maximumSize"> <size> - <width>16777215</width> - <height>30</height> + <width>175</width> + <height>64</height> </size> </property> - <property name="frame"> - <bool>false</bool> + <property name="text"> + <string>System Upgrade</string> </property> - </widget> - </item> - <item> - <widget class="QLineEdit" name="inputBox"> - <property name="minimumSize"> - <size> - <width>0</width> - <height>30</height> - </size> + <property name="icon"> + <iconset> + <normaloff>../icon/upgrade.png</normaloff>../icon/upgrade.png</iconset> </property> - <property name="maximumSize"> + <property name="iconSize"> <size> - <width>16777215</width> + <width>30</width> <height>30</height> </size> </property> - <property name="placeholderText"> - <string>Type in the search term</string> + <property name="toolButtonStyle"> + <enum>Qt::ToolButtonTextUnderIcon</enum> </property> - <property name="clearButtonEnabled"> + <property name="autoRaise"> <bool>true</bool> </property> </widget> </item> <item> - <widget class="QPushButton" name="licenseButton"> + <widget class="QToolButton" name="autoremoveButton"> <property name="minimumSize"> <size> - <width>0</width> - <height>30</height> + <width>125</width> + <height>48</height> </size> </property> <property name="maximumSize"> <size> - <width>16777215</width> - <height>30</height> + <width>175</width> + <height>64</height> </size> </property> - <property name="toolTip"> - <string><html><head/><body><p align="center">License Information</p></body></html></string> + <property name="text"> + <string>Purge Orphaned Package(s)</string> </property> <property name="icon"> <iconset> - <normaloff>../icon/license.png</normaloff>../icon/license.png</iconset> + <normaloff>../icon/orphans.png</normaloff>../icon/orphans.png</iconset> </property> <property name="iconSize"> <size> - <width>16</width> - <height>16</height> + <width>30</width> + <height>30</height> </size> </property> - <property name="flat"> + <property name="toolButtonStyle"> + <enum>Qt::ToolButtonTextUnderIcon</enum> + </property> + <property name="autoRaise"> <bool>true</bool> </property> </widget> </item> <item> - <widget class="QPushButton" name="settingsButton"> + <widget class="QToolButton" name="exitButton"> <property name="minimumSize"> <size> - <width>0</width> - <height>30</height> + <width>125</width> + <height>48</height> </size> </property> <property name="maximumSize"> <size> - <width>16777215</width> - <height>30</height> + <width>175</width> + <height>64</height> </size> </property> - <property name="toolTip"> - <string><html><head/><body><p align="center">Mirror Configuration</p></body></html></string> + <property name="text"> + <string>Exit Application</string> </property> <property name="icon"> <iconset> - <normaloff>../icon/settings.png</normaloff>../icon/settings.png</iconset> + <normaloff>../icon/exit.png</normaloff>../icon/exit.png</iconset> </property> <property name="iconSize"> <size> - <width>16</width> - <height>16</height> + <width>30</width> + <height>30</height> </size> </property> - <property name="flat"> + <property name="toolButtonStyle"> + <enum>Qt::ToolButtonTextUnderIcon</enum> + </property> + <property name="autoRaise"> <bool>true</bool> </property> </widget> @@ -344,186 +298,213 @@ </layout> </widget> </item> - <item row="3" column="0"> - <widget class="QWidget" name="actionLayout" native="true"> - <layout class="QHBoxLayout" name="actionGrid"> + <item row="0" column="0"> + <widget class="QWidget" name="inputLayout" native="true"> + <layout class="QHBoxLayout" name="inputGrid"> + <property name="spacing"> + <number>25</number> + </property> + <property name="leftMargin"> + <number>25</number> + </property> + <property name="rightMargin"> + <number>25</number> + </property> <item> - <widget class="QToolButton" name="installButton"> + <widget class="QLabel" name="label1"> <property name="minimumSize"> <size> - <width>125</width> - <height>48</height> + <width>0</width> + <height>30</height> </size> </property> <property name="maximumSize"> <size> - <width>175</width> - <height>64</height> + <width>16777215</width> + <height>30</height> </size> </property> - <property name="text"> - <string>Install Selected Package(s)</string> + <property name="font"> + <font> + <pointsize>10</pointsize> + </font> </property> - <property name="icon"> - <iconset> - <normaloff>../icon/install.png</normaloff>../icon/install.png</iconset> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> </property> - <property name="iconSize"> - <size> - <width>30</width> - <height>30</height> - </size> + <property name="text"> + <string>Search by</string> </property> - <property name="toolButtonStyle"> - <enum>Qt::ToolButtonTextUnderIcon</enum> + <property name="textFormat"> + <enum>Qt::MarkdownText</enum> </property> - <property name="autoRaise"> + <property name="scaledContents"> <bool>true</bool> </property> - <property name="arrowType"> - <enum>Qt::NoArrow</enum> + <property name="textInteractionFlags"> + <set>Qt::NoTextInteraction</set> + </property> + <property name="buddy"> + <cstring>inputLayout</cstring> </property> </widget> </item> <item> - <widget class="QToolButton" name="uninstallButton"> + <widget class="QComboBox" name="applicationFilter"> <property name="minimumSize"> <size> - <width>125</width> - <height>48</height> + <width>0</width> + <height>30</height> </size> </property> <property name="maximumSize"> <size> - <width>175</width> - <height>64</height> + <width>16777215</width> + <height>30</height> </size> </property> - <property name="text"> - <string>Uninstall Selected Package(s)</string> + <property name="frame"> + <bool>false</bool> </property> - <property name="icon"> - <iconset> - <normaloff>../icon/uninstall.png</normaloff>../icon/uninstall.png</iconset> + </widget> + </item> + <item> + <widget class="QLabel" name="label2"> + <property name="minimumSize"> + <size> + <width>0</width> + <height>30</height> + </size> </property> - <property name="iconSize"> + <property name="maximumSize"> <size> - <width>30</width> + <width>16777215</width> <height>30</height> </size> </property> - <property name="toolButtonStyle"> - <enum>Qt::ToolButtonTextUnderIcon</enum> + <property name="font"> + <font> + <pointsize>10</pointsize> + </font> </property> - <property name="autoRaise"> + <property name="mouseTracking"> <bool>true</bool> </property> - <property name="arrowType"> - <enum>Qt::NoArrow</enum> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="text"> + <string>in</string> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + <property name="textInteractionFlags"> + <set>Qt::NoTextInteraction</set> </property> </widget> </item> <item> - <widget class="QToolButton" name="upgradeButton"> + <widget class="QComboBox" name="databaseFilter"> <property name="minimumSize"> <size> - <width>125</width> - <height>48</height> + <width>0</width> + <height>30</height> </size> </property> <property name="maximumSize"> <size> - <width>175</width> - <height>64</height> + <width>16777215</width> + <height>30</height> </size> </property> - <property name="text"> - <string>System Upgrade</string> + <property name="frame"> + <bool>false</bool> </property> - <property name="icon"> - <iconset> - <normaloff>../icon/upgrade.png</normaloff>../icon/upgrade.png</iconset> + </widget> + </item> + <item> + <widget class="QLineEdit" name="inputBox"> + <property name="minimumSize"> + <size> + <width>0</width> + <height>30</height> + </size> </property> - <property name="iconSize"> + <property name="maximumSize"> <size> - <width>30</width> + <width>16777215</width> <height>30</height> </size> </property> - <property name="toolButtonStyle"> - <enum>Qt::ToolButtonTextUnderIcon</enum> + <property name="placeholderText"> + <string>Type in the search term</string> </property> - <property name="autoRaise"> + <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> <item> - <widget class="QToolButton" name="autoremoveButton"> + <widget class="QPushButton" name="progressButton"> <property name="minimumSize"> <size> - <width>125</width> - <height>48</height> + <width>60</width> + <height>30</height> </size> </property> <property name="maximumSize"> <size> - <width>175</width> - <height>64</height> + <width>16777215</width> + <height>30</height> </size> </property> - <property name="text"> - <string>Purge Orphaned Package(s)</string> + <property name="toolTip"> + <string><html><head/><body><p align="center">Show Progress</p></body></html></string> </property> <property name="icon"> <iconset> - <normaloff>../icon/orphans.png</normaloff>../icon/orphans.png</iconset> + <normaloff>../icon/progress.png</normaloff>../icon/progress.png</iconset> </property> <property name="iconSize"> <size> - <width>30</width> - <height>30</height> + <width>24</width> + <height>24</height> </size> </property> - <property name="toolButtonStyle"> - <enum>Qt::ToolButtonTextUnderIcon</enum> - </property> - <property name="autoRaise"> + <property name="flat"> <bool>true</bool> </property> </widget> </item> <item> - <widget class="QToolButton" name="exitButton"> + <widget class="QPushButton" name="settingsButton"> <property name="minimumSize"> <size> - <width>125</width> - <height>48</height> + <width>60</width> + <height>30</height> </size> </property> <property name="maximumSize"> <size> - <width>175</width> - <height>64</height> + <width>16777215</width> + <height>30</height> </size> </property> - <property name="text"> - <string>Exit Application</string> + <property name="toolTip"> + <string><html><head/><body><p align="center">Settings</p></body></html></string> </property> <property name="icon"> <iconset> - <normaloff>../icon/exit.png</normaloff>../icon/exit.png</iconset> + <normaloff>../icon/settings.png</normaloff>../icon/settings.png</iconset> </property> <property name="iconSize"> <size> - <width>30</width> - <height>30</height> + <width>24</width> + <height>24</height> </size> </property> - <property name="toolButtonStyle"> - <enum>Qt::ToolButtonTextUnderIcon</enum> - </property> - <property name="autoRaise"> + <property name="flat"> <bool>true</bool> </property> </widget> @@ -538,10 +519,8 @@ <tabstop>applicationFilter</tabstop> <tabstop>databaseFilter</tabstop> <tabstop>inputBox</tabstop> - <tabstop>licenseButton</tabstop> <tabstop>settingsButton</tabstop> <tabstop>databaseTable</tabstop> - <tabstop>progressBox</tabstop> <tabstop>installButton</tabstop> <tabstop>uninstallButton</tabstop> <tabstop>upgradeButton</tabstop> |