mirror of
https://github.com/GNS3/gns3-gui.git
synced 2026-05-17 00:46:01 +03:00
Cleanup UI after QT4 drop
This commit is contained in:
@@ -1,18 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'cloud_configuration_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/builtin/ui/cloud_configuration_page.ui'
|
||||
#
|
||||
# Created: Tue May 26 09:46:14 2015
|
||||
# Created: Wed Jul 15 12:22:31 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_cloudConfigPageWidget:
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_cloudConfigPageWidget(object):
|
||||
def setupUi(self, cloudConfigPageWidget):
|
||||
cloudConfigPageWidget.setObjectName("cloudConfigPageWidget")
|
||||
cloudConfigPageWidget.resize(653, 478)
|
||||
@@ -409,7 +406,7 @@ class Ui_cloudConfigPageWidget:
|
||||
QtCore.QMetaObject.connectSlotsByName(cloudConfigPageWidget)
|
||||
|
||||
def retranslateUi(self, cloudConfigPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
cloudConfigPageWidget.setWindowTitle(_translate("cloudConfigPageWidget", "Cloud configuration"))
|
||||
self.uiGenericEthernetGroupBox.setTitle(_translate("cloudConfigPageWidget", "Generic Ethernet NIO (Administrator or root access required)"))
|
||||
self.uiAddGenericEthernetPushButton.setText(_translate("cloudConfigPageWidget", "&Add"))
|
||||
@@ -459,3 +456,4 @@ class Ui_cloudConfigPageWidget:
|
||||
self.uiNIOsTabWidget.setTabText(self.uiNIOsTabWidget.indexOf(self.NIONullTab), _translate("cloudConfigPageWidget", "NULL"))
|
||||
self.uiNameLabel.setText(_translate("cloudConfigPageWidget", "Name:"))
|
||||
self.uiNIOsTabWidget.setTabText(self.uiNIOsTabWidget.indexOf(self.MiscTab), _translate("cloudConfigPageWidget", "Misc."))
|
||||
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'atm_bridge_configuration_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/dynamips/ui/atm_bridge_configuration_page.ui'
|
||||
#
|
||||
# Created: Wed May 6 14:31:55 2015
|
||||
# Created: Wed Jul 15 12:22:32 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_atmBridgeConfigPageWidget:
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_atmBridgeConfigPageWidget(object):
|
||||
def setupUi(self, atmBridgeConfigPageWidget):
|
||||
atmBridgeConfigPageWidget.setObjectName("atmBridgeConfigPageWidget")
|
||||
atmBridgeConfigPageWidget.resize(432, 358)
|
||||
@@ -139,7 +136,7 @@ class Ui_atmBridgeConfigPageWidget:
|
||||
atmBridgeConfigPageWidget.setTabOrder(self.uiAddPushButton, self.uiDeletePushButton)
|
||||
|
||||
def retranslateUi(self, atmBridgeConfigPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
atmBridgeConfigPageWidget.setWindowTitle(_translate("atmBridgeConfigPageWidget", "ATM Bridge"))
|
||||
self.uiMappingGroupBox.setTitle(_translate("atmBridgeConfigPageWidget", "Mapping"))
|
||||
self.uiMappingTreeWidget.headerItem().setText(0, _translate("atmBridgeConfigPageWidget", "Ethernet Port"))
|
||||
@@ -154,3 +151,4 @@ class Ui_atmBridgeConfigPageWidget:
|
||||
self.uiDeletePushButton.setText(_translate("atmBridgeConfigPageWidget", "&Delete"))
|
||||
self.uiGeneralGroupBox.setTitle(_translate("atmBridgeConfigPageWidget", "General"))
|
||||
self.uiNameLabel.setText(_translate("atmBridgeConfigPageWidget", "Name:"))
|
||||
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'atm_switch_configuration_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/dynamips/ui/atm_switch_configuration_page.ui'
|
||||
#
|
||||
# Created: Wed May 6 14:31:55 2015
|
||||
# Created: Wed Jul 15 12:22:32 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_atmSwitchConfigPageWidget:
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_atmSwitchConfigPageWidget(object):
|
||||
def setupUi(self, atmSwitchConfigPageWidget):
|
||||
atmSwitchConfigPageWidget.setObjectName("atmSwitchConfigPageWidget")
|
||||
atmSwitchConfigPageWidget.resize(459, 419)
|
||||
@@ -170,7 +167,7 @@ class Ui_atmSwitchConfigPageWidget:
|
||||
atmSwitchConfigPageWidget.setTabOrder(self.uiAddPushButton, self.uiDeletePushButton)
|
||||
|
||||
def retranslateUi(self, atmSwitchConfigPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
atmSwitchConfigPageWidget.setWindowTitle(_translate("atmSwitchConfigPageWidget", "ATM Switch"))
|
||||
self.uiGeneralGroupBox.setTitle(_translate("atmSwitchConfigPageWidget", "General"))
|
||||
self.uiNameLabel.setText(_translate("atmSwitchConfigPageWidget", "Name:"))
|
||||
@@ -188,3 +185,4 @@ class Ui_atmSwitchConfigPageWidget:
|
||||
self.uiDestinationPortLabel.setText(_translate("atmSwitchConfigPageWidget", "Port:"))
|
||||
self.uiDestinationVPILabel.setText(_translate("atmSwitchConfigPageWidget", "VPI:"))
|
||||
self.uiDestinationVCILabel.setText(_translate("atmSwitchConfigPageWidget", "VCI:"))
|
||||
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'dynamips_preferences_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/dynamips/ui/dynamips_preferences_page.ui'
|
||||
#
|
||||
# Created: Wed May 6 14:31:55 2015
|
||||
# Created: Wed Jul 15 12:22:32 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_DynamipsPreferencesPageWidget:
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_DynamipsPreferencesPageWidget(object):
|
||||
def setupUi(self, DynamipsPreferencesPageWidget):
|
||||
DynamipsPreferencesPageWidget.setObjectName("DynamipsPreferencesPageWidget")
|
||||
DynamipsPreferencesPageWidget.resize(435, 200)
|
||||
@@ -95,7 +92,7 @@ class Ui_DynamipsPreferencesPageWidget:
|
||||
DynamipsPreferencesPageWidget.setTabOrder(self.uiMmapSupportCheckBox, self.uiSparseMemorySupportCheckBox)
|
||||
|
||||
def retranslateUi(self, DynamipsPreferencesPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
DynamipsPreferencesPageWidget.setWindowTitle(_translate("DynamipsPreferencesPageWidget", "Dynamips"))
|
||||
self.uiUseLocalServercheckBox.setText(_translate("DynamipsPreferencesPageWidget", "Use the local server"))
|
||||
self.uiDynamipsPathLabel.setText(_translate("DynamipsPreferencesPageWidget", "Path to Dynamips:"))
|
||||
@@ -111,3 +108,4 @@ class Ui_DynamipsPreferencesPageWidget:
|
||||
self.uiSparseMemorySupportCheckBox.setText(_translate("DynamipsPreferencesPageWidget", "Enable sparse memory support"))
|
||||
self.uiTabWidget.setTabText(self.uiTabWidget.indexOf(self.uiAdvancedSettingsTabWidget), _translate("DynamipsPreferencesPageWidget", "Advanced settings"))
|
||||
self.uiRestoreDefaultsPushButton.setText(_translate("DynamipsPreferencesPageWidget", "Restore defaults"))
|
||||
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'ethernet_hub_configuration_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/dynamips/ui/ethernet_hub_configuration_page.ui'
|
||||
#
|
||||
# Created: Wed May 6 14:31:55 2015
|
||||
# Created: Wed Jul 15 12:22:32 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_ethernetHubConfigPageWidget:
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_ethernetHubConfigPageWidget(object):
|
||||
def setupUi(self, ethernetHubConfigPageWidget):
|
||||
ethernetHubConfigPageWidget.setObjectName("ethernetHubConfigPageWidget")
|
||||
ethernetHubConfigPageWidget.resize(381, 270)
|
||||
@@ -55,8 +52,9 @@ class Ui_ethernetHubConfigPageWidget:
|
||||
QtCore.QMetaObject.connectSlotsByName(ethernetHubConfigPageWidget)
|
||||
|
||||
def retranslateUi(self, ethernetHubConfigPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
ethernetHubConfigPageWidget.setWindowTitle(_translate("ethernetHubConfigPageWidget", "Ethernet hub"))
|
||||
self.uiSettingsGroupBox.setTitle(_translate("ethernetHubConfigPageWidget", "Settings"))
|
||||
self.uiNameLabel.setText(_translate("ethernetHubConfigPageWidget", "Name:"))
|
||||
self.uiPortsLabel.setText(_translate("ethernetHubConfigPageWidget", "Number of ports:"))
|
||||
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'ethernet_switch_configuration_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/dynamips/ui/ethernet_switch_configuration_page.ui'
|
||||
#
|
||||
# Created: Wed May 6 14:31:55 2015
|
||||
# Created: Wed Jul 15 12:22:32 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_ethernetSwitchConfigPageWidget:
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_ethernetSwitchConfigPageWidget(object):
|
||||
def setupUi(self, ethernetSwitchConfigPageWidget):
|
||||
ethernetSwitchConfigPageWidget.setObjectName("ethernetSwitchConfigPageWidget")
|
||||
ethernetSwitchConfigPageWidget.resize(397, 315)
|
||||
@@ -111,7 +108,7 @@ class Ui_ethernetSwitchConfigPageWidget:
|
||||
ethernetSwitchConfigPageWidget.setTabOrder(self.uiDeletePushButton, self.uiPortsTreeWidget)
|
||||
|
||||
def retranslateUi(self, ethernetSwitchConfigPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
ethernetSwitchConfigPageWidget.setWindowTitle(_translate("ethernetSwitchConfigPageWidget", "Ethernet switch configuration"))
|
||||
self.uiGeneralGroupBox.setTitle(_translate("ethernetSwitchConfigPageWidget", "General"))
|
||||
self.uiNameLabel.setText(_translate("ethernetSwitchConfigPageWidget", "Name:"))
|
||||
@@ -128,3 +125,4 @@ class Ui_ethernetSwitchConfigPageWidget:
|
||||
self.uiPortTypeComboBox.setItemText(2, _translate("ethernetSwitchConfigPageWidget", "qinq"))
|
||||
self.uiAddPushButton.setText(_translate("ethernetSwitchConfigPageWidget", "&Add"))
|
||||
self.uiDeletePushButton.setText(_translate("ethernetSwitchConfigPageWidget", "&Delete"))
|
||||
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'frame_relay_switch_configuration_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/dynamips/ui/frame_relay_switch_configuration_page.ui'
|
||||
#
|
||||
# Created: Wed May 6 14:31:56 2015
|
||||
# Created: Wed Jul 15 12:22:32 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_frameRelaySwitchConfigPageWidget:
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_frameRelaySwitchConfigPageWidget(object):
|
||||
def setupUi(self, frameRelaySwitchConfigPageWidget):
|
||||
frameRelaySwitchConfigPageWidget.setObjectName("frameRelaySwitchConfigPageWidget")
|
||||
frameRelaySwitchConfigPageWidget.resize(499, 405)
|
||||
@@ -136,7 +133,7 @@ class Ui_frameRelaySwitchConfigPageWidget:
|
||||
frameRelaySwitchConfigPageWidget.setTabOrder(self.uiAddPushButton, self.uiDeletePushButton)
|
||||
|
||||
def retranslateUi(self, frameRelaySwitchConfigPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
frameRelaySwitchConfigPageWidget.setWindowTitle(_translate("frameRelaySwitchConfigPageWidget", "Frame Relay Switch"))
|
||||
self.uiGeneralGroupBox.setTitle(_translate("frameRelaySwitchConfigPageWidget", "General"))
|
||||
self.uiNameLabel.setText(_translate("frameRelaySwitchConfigPageWidget", "Name:"))
|
||||
@@ -151,3 +148,4 @@ class Ui_frameRelaySwitchConfigPageWidget:
|
||||
self.uiDestinationDLCILabel.setText(_translate("frameRelaySwitchConfigPageWidget", "DLCI:"))
|
||||
self.uiAddPushButton.setText(_translate("frameRelaySwitchConfigPageWidget", "&Add"))
|
||||
self.uiDeletePushButton.setText(_translate("frameRelaySwitchConfigPageWidget", "&Delete"))
|
||||
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'ios_router_configuration_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/dynamips/ui/ios_router_configuration_page.ui'
|
||||
#
|
||||
# Created: Mon Jun 22 14:28:27 2015
|
||||
# by: PyQt5 UI code generator 5.2.1
|
||||
# Created: Wed Jul 15 12:22:33 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_iosRouterConfigPageWidget(object):
|
||||
def setupUi(self, iosRouterConfigPageWidget):
|
||||
@@ -545,7 +544,7 @@ class Ui_iosRouterConfigPageWidget(object):
|
||||
iosRouterConfigPageWidget.setTabOrder(self.uiBaseMACLineEdit, self.uiExecAreaSpinBox)
|
||||
|
||||
def retranslateUi(self, iosRouterConfigPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
iosRouterConfigPageWidget.setWindowTitle(_translate("iosRouterConfigPageWidget", "Dynamips IOS Router configuration"))
|
||||
self.uiNameLabel.setText(_translate("iosRouterConfigPageWidget", "Name:"))
|
||||
self.uiPlatformLabel.setText(_translate("iosRouterConfigPageWidget", "Platform:"))
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'ios_router_preferences_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/dynamips/ui/ios_router_preferences_page.ui'
|
||||
#
|
||||
# Created: Wed May 6 14:31:56 2015
|
||||
# Created: Wed Jul 15 12:22:33 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_IOSRouterPreferencesPageWidget:
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_IOSRouterPreferencesPageWidget(object):
|
||||
def setupUi(self, IOSRouterPreferencesPageWidget):
|
||||
IOSRouterPreferencesPageWidget.setObjectName("IOSRouterPreferencesPageWidget")
|
||||
IOSRouterPreferencesPageWidget.resize(505, 350)
|
||||
@@ -71,7 +68,7 @@ class Ui_IOSRouterPreferencesPageWidget:
|
||||
QtCore.QMetaObject.connectSlotsByName(IOSRouterPreferencesPageWidget)
|
||||
|
||||
def retranslateUi(self, IOSRouterPreferencesPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
IOSRouterPreferencesPageWidget.setWindowTitle(_translate("IOSRouterPreferencesPageWidget", "IOS routers"))
|
||||
IOSRouterPreferencesPageWidget.setAccessibleName(_translate("IOSRouterPreferencesPageWidget", "IOS router templates"))
|
||||
self.uiIOSRouterInfoTreeWidget.headerItem().setText(0, _translate("IOSRouterPreferencesPageWidget", "1"))
|
||||
@@ -80,3 +77,4 @@ class Ui_IOSRouterPreferencesPageWidget:
|
||||
self.uiDecompressIOSPushButton.setText(_translate("IOSRouterPreferencesPageWidget", "&Decompress"))
|
||||
self.uiEditIOSRouterPushButton.setText(_translate("IOSRouterPreferencesPageWidget", "&Edit"))
|
||||
self.uiDeleteIOSRouterPushButton.setText(_translate("IOSRouterPreferencesPageWidget", "&Delete"))
|
||||
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'ios_router_wizard.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/dynamips/ui/ios_router_wizard.ui'
|
||||
#
|
||||
# Created: Sun Jun 14 14:52:26 2015
|
||||
# by: PyQt5 UI code generator 5.2.1
|
||||
# Created: Wed Jul 15 12:22:33 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_IOSRouterWizard(object):
|
||||
def setupUi(self, IOSRouterWizard):
|
||||
@@ -291,7 +290,7 @@ class Ui_IOSRouterWizard(object):
|
||||
IOSRouterWizard.setTabOrder(self.uiNameLineEdit, self.uiPlatformComboBox)
|
||||
|
||||
def retranslateUi(self, IOSRouterWizard):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
IOSRouterWizard.setWindowTitle(_translate("IOSRouterWizard", "New IOS router template"))
|
||||
self.uiServerWizardPage.setTitle(_translate("IOSRouterWizard", "Server"))
|
||||
self.uiServerWizardPage.setSubTitle(_translate("IOSRouterWizard", "Please choose a server type to run your new IOS router."))
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'iou_device_configuration_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/iou/ui/iou_device_configuration_page.ui'
|
||||
#
|
||||
# Created: Mon Jun 22 14:28:27 2015
|
||||
# by: PyQt5 UI code generator 5.2.1
|
||||
# Created: Wed Jul 15 12:22:33 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_iouDeviceConfigPageWidget(object):
|
||||
def setupUi(self, iouDeviceConfigPageWidget):
|
||||
@@ -193,7 +192,7 @@ class Ui_iouDeviceConfigPageWidget(object):
|
||||
QtCore.QMetaObject.connectSlotsByName(iouDeviceConfigPageWidget)
|
||||
|
||||
def retranslateUi(self, iouDeviceConfigPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
iouDeviceConfigPageWidget.setWindowTitle(_translate("iouDeviceConfigPageWidget", "IOU device configuration"))
|
||||
self.uiGeneralgroupBox.setTitle(_translate("iouDeviceConfigPageWidget", "General"))
|
||||
self.uiNameLabel.setText(_translate("iouDeviceConfigPageWidget", "Name:"))
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'iou_device_preferences_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/iou/ui/iou_device_preferences_page.ui'
|
||||
#
|
||||
# Created: Wed May 6 14:31:56 2015
|
||||
# Created: Wed Jul 15 12:22:33 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_IOUDevicePreferencesPageWidget:
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_IOUDevicePreferencesPageWidget(object):
|
||||
def setupUi(self, IOUDevicePreferencesPageWidget):
|
||||
IOUDevicePreferencesPageWidget.setObjectName("IOUDevicePreferencesPageWidget")
|
||||
IOUDevicePreferencesPageWidget.resize(505, 350)
|
||||
@@ -69,7 +66,7 @@ class Ui_IOUDevicePreferencesPageWidget:
|
||||
IOUDevicePreferencesPageWidget.setTabOrder(self.uiNewIOUDevicePushButton, self.uiDeleteIOUDevicePushButton)
|
||||
|
||||
def retranslateUi(self, IOUDevicePreferencesPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
IOUDevicePreferencesPageWidget.setWindowTitle(_translate("IOUDevicePreferencesPageWidget", "IOU Devices"))
|
||||
IOUDevicePreferencesPageWidget.setAccessibleName(_translate("IOUDevicePreferencesPageWidget", "IOU Device templates"))
|
||||
self.uiNewIOUDevicePushButton.setText(_translate("IOUDevicePreferencesPageWidget", "&New"))
|
||||
@@ -77,3 +74,4 @@ class Ui_IOUDevicePreferencesPageWidget:
|
||||
self.uiDeleteIOUDevicePushButton.setText(_translate("IOUDevicePreferencesPageWidget", "&Delete"))
|
||||
self.uiIOUDeviceInfoTreeWidget.headerItem().setText(0, _translate("IOUDevicePreferencesPageWidget", "1"))
|
||||
self.uiIOUDeviceInfoTreeWidget.headerItem().setText(1, _translate("IOUDevicePreferencesPageWidget", "2"))
|
||||
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'iou_device_wizard.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/iou/ui/iou_device_wizard.ui'
|
||||
#
|
||||
# Created: Sun Jun 14 14:52:26 2015
|
||||
# by: PyQt5 UI code generator 5.2.1
|
||||
# Created: Wed Jul 15 12:22:33 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_IOUDeviceWizard(object):
|
||||
def setupUi(self, IOUDeviceWizard):
|
||||
@@ -124,7 +123,7 @@ class Ui_IOUDeviceWizard(object):
|
||||
QtCore.QMetaObject.connectSlotsByName(IOUDeviceWizard)
|
||||
|
||||
def retranslateUi(self, IOUDeviceWizard):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
IOUDeviceWizard.setWindowTitle(_translate("IOUDeviceWizard", "New IOU device template"))
|
||||
self.uiServerWizardPage.setTitle(_translate("IOUDeviceWizard", "Server"))
|
||||
self.uiServerWizardPage.setSubTitle(_translate("IOUDeviceWizard", "Please choose a server type to run your new IOU device."))
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'iou_preferences_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/iou/ui/iou_preferences_page.ui'
|
||||
#
|
||||
# Created: Wed May 6 14:31:57 2015
|
||||
# Created: Wed Jul 15 12:22:34 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_IOUPreferencesPageWidget:
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_IOUPreferencesPageWidget(object):
|
||||
def setupUi(self, IOUPreferencesPageWidget):
|
||||
IOUPreferencesPageWidget.setObjectName("IOUPreferencesPageWidget")
|
||||
IOUPreferencesPageWidget.resize(400, 300)
|
||||
@@ -96,7 +93,7 @@ class Ui_IOUPreferencesPageWidget:
|
||||
QtCore.QMetaObject.connectSlotsByName(IOUPreferencesPageWidget)
|
||||
|
||||
def retranslateUi(self, IOUPreferencesPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
IOUPreferencesPageWidget.setWindowTitle(_translate("IOUPreferencesPageWidget", "IOS on UNIX"))
|
||||
self.uiLocalServerGroupBox.setTitle(_translate("IOUPreferencesPageWidget", "Local server"))
|
||||
self.uiIouyapPathToolButton.setText(_translate("IOUPreferencesPageWidget", "&Browse..."))
|
||||
@@ -108,3 +105,4 @@ class Ui_IOUPreferencesPageWidget:
|
||||
self.uiIOURCPathToolButton.setText(_translate("IOUPreferencesPageWidget", "&Browse..."))
|
||||
self.uiTabWidget.setTabText(self.uiTabWidget.indexOf(self.uiGeneralSettingsTabWidget), _translate("IOUPreferencesPageWidget", "General settings"))
|
||||
self.uiRestoreDefaultsPushButton.setText(_translate("IOUPreferencesPageWidget", "Restore defaults"))
|
||||
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'qemu_image_wizard.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/qemu/ui/qemu_image_wizard.ui'
|
||||
#
|
||||
# Created: Tue Jun 30 17:16:24 2015
|
||||
# by: PyQt5 UI code generator 5.2.1
|
||||
# Created: Wed Jul 15 12:22:34 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_QemuImageWizard(object):
|
||||
def setupUi(self, QemuImageWizard):
|
||||
@@ -310,7 +309,7 @@ class Ui_QemuImageWizard(object):
|
||||
QtCore.QMetaObject.connectSlotsByName(QemuImageWizard)
|
||||
|
||||
def retranslateUi(self, QemuImageWizard):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
QemuImageWizard.setWindowTitle(_translate("QemuImageWizard", "Qemu image creator"))
|
||||
self.uiBinaryWizardPage.setTitle(_translate("QemuImageWizard", "Binary and format"))
|
||||
self.uiBinaryWizardPage.setSubTitle(_translate("QemuImageWizard", "Please select a qemu-img binary, and the format for your new image."))
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'qemu_preferences_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/qemu/ui/qemu_preferences_page.ui'
|
||||
#
|
||||
# Created: Wed Jun 24 22:00:03 2015
|
||||
# by: PyQt5 UI code generator 5.2.1
|
||||
# Created: Wed Jul 15 12:22:34 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_QemuPreferencesPageWidget(object):
|
||||
def setupUi(self, QemuPreferencesPageWidget):
|
||||
@@ -48,7 +47,7 @@ class Ui_QemuPreferencesPageWidget(object):
|
||||
QtCore.QMetaObject.connectSlotsByName(QemuPreferencesPageWidget)
|
||||
|
||||
def retranslateUi(self, QemuPreferencesPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
QemuPreferencesPageWidget.setWindowTitle(_translate("QemuPreferencesPageWidget", "QEMU"))
|
||||
self.uiUseLocalServercheckBox.setText(_translate("QemuPreferencesPageWidget", "Use the local server"))
|
||||
self.uiKVMAccelerationCheckBox.setText(_translate("QemuPreferencesPageWidget", "Enable KVM acceleration"))
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'qemu_vm_configuration_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/qemu/ui/qemu_vm_configuration_page.ui'
|
||||
#
|
||||
# Created: Wed Jun 24 22:00:03 2015
|
||||
# by: PyQt5 UI code generator 5.2.1
|
||||
# Created: Wed Jul 15 12:22:34 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_QemuVMConfigPageWidget(object):
|
||||
def setupUi(self, QemuVMConfigPageWidget):
|
||||
@@ -312,7 +311,7 @@ class Ui_QemuVMConfigPageWidget(object):
|
||||
QtCore.QMetaObject.connectSlotsByName(QemuVMConfigPageWidget)
|
||||
|
||||
def retranslateUi(self, QemuVMConfigPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
QemuVMConfigPageWidget.setWindowTitle(_translate("QemuVMConfigPageWidget", "QEMU VM configuration"))
|
||||
self.uiSymbolLabel.setText(_translate("QemuVMConfigPageWidget", "Symbol:"))
|
||||
self.uiQemuListLabel.setText(_translate("QemuVMConfigPageWidget", "Qemu binary:"))
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'qemu_vm_preferences_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/qemu/ui/qemu_vm_preferences_page.ui'
|
||||
#
|
||||
# Created: Wed May 6 14:31:57 2015
|
||||
# Created: Wed Jul 15 12:22:34 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_QemuVMPreferencesPageWidget:
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_QemuVMPreferencesPageWidget(object):
|
||||
def setupUi(self, QemuVMPreferencesPageWidget):
|
||||
QemuVMPreferencesPageWidget.setObjectName("QemuVMPreferencesPageWidget")
|
||||
QemuVMPreferencesPageWidget.resize(505, 350)
|
||||
@@ -69,7 +66,7 @@ class Ui_QemuVMPreferencesPageWidget:
|
||||
QemuVMPreferencesPageWidget.setTabOrder(self.uiNewQemuVMPushButton, self.uiDeleteQemuVMPushButton)
|
||||
|
||||
def retranslateUi(self, QemuVMPreferencesPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
QemuVMPreferencesPageWidget.setWindowTitle(_translate("QemuVMPreferencesPageWidget", "Qemu VMs"))
|
||||
QemuVMPreferencesPageWidget.setAccessibleName(_translate("QemuVMPreferencesPageWidget", "Qemu VM templates"))
|
||||
self.uiNewQemuVMPushButton.setText(_translate("QemuVMPreferencesPageWidget", "&New"))
|
||||
@@ -77,3 +74,4 @@ class Ui_QemuVMPreferencesPageWidget:
|
||||
self.uiDeleteQemuVMPushButton.setText(_translate("QemuVMPreferencesPageWidget", "&Delete"))
|
||||
self.uiQemuVMInfoTreeWidget.headerItem().setText(0, _translate("QemuVMPreferencesPageWidget", "1"))
|
||||
self.uiQemuVMInfoTreeWidget.headerItem().setText(1, _translate("QemuVMPreferencesPageWidget", "2"))
|
||||
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'qemu_vm_wizard.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/qemu/ui/qemu_vm_wizard.ui'
|
||||
#
|
||||
# Created: Tue Jun 30 17:19:55 2015
|
||||
# by: PyQt5 UI code generator 5.2.1
|
||||
# Created: Wed Jul 15 12:22:34 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_QemuVMWizard(object):
|
||||
def setupUi(self, QemuVMWizard):
|
||||
@@ -274,7 +273,7 @@ class Ui_QemuVMWizard(object):
|
||||
QemuVMWizard.setTabOrder(self.uiHdaDiskImageLineEdit, self.uiHdaDiskImageToolButton)
|
||||
|
||||
def retranslateUi(self, QemuVMWizard):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
QemuVMWizard.setWindowTitle(_translate("QemuVMWizard", "New QEMU VM template"))
|
||||
self.uiServerWizardPage.setTitle(_translate("QemuVMWizard", "Server"))
|
||||
self.uiServerWizardPage.setSubTitle(_translate("QemuVMWizard", "Please choose a server type to run your new QEMU VM."))
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'virtualbox_preferences_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/virtualbox/ui/virtualbox_preferences_page.ui'
|
||||
#
|
||||
# Created: Fri Jul 3 14:35:21 2015
|
||||
# by: PyQt5 UI code generator 5.2.1
|
||||
# Created: Wed Jul 15 12:22:35 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_VirtualBoxPreferencesPageWidget(object):
|
||||
def setupUi(self, VirtualBoxPreferencesPageWidget):
|
||||
@@ -63,7 +62,7 @@ class Ui_VirtualBoxPreferencesPageWidget(object):
|
||||
QtCore.QMetaObject.connectSlotsByName(VirtualBoxPreferencesPageWidget)
|
||||
|
||||
def retranslateUi(self, VirtualBoxPreferencesPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
VirtualBoxPreferencesPageWidget.setWindowTitle(_translate("VirtualBoxPreferencesPageWidget", "VirtualBox"))
|
||||
self.uiUseLocalServercheckBox.setText(_translate("VirtualBoxPreferencesPageWidget", "Use the local server"))
|
||||
self.uiVboxManagePathLabel.setText(_translate("VirtualBoxPreferencesPageWidget", "Path to VBoxManage:"))
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'virtualbox_vm_configuration_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/virtualbox/ui/virtualbox_vm_configuration_page.ui'
|
||||
#
|
||||
# Created: Tue Jun 23 21:51:01 2015
|
||||
# by: PyQt5 UI code generator 5.2.1
|
||||
# Created: Wed Jul 15 12:22:35 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_virtualBoxVMConfigPageWidget(object):
|
||||
def setupUi(self, virtualBoxVMConfigPageWidget):
|
||||
@@ -151,7 +150,7 @@ class Ui_virtualBoxVMConfigPageWidget(object):
|
||||
QtCore.QMetaObject.connectSlotsByName(virtualBoxVMConfigPageWidget)
|
||||
|
||||
def retranslateUi(self, virtualBoxVMConfigPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
virtualBoxVMConfigPageWidget.setWindowTitle(_translate("virtualBoxVMConfigPageWidget", "VirtualBox VM configuration"))
|
||||
self.uiNameLabel.setText(_translate("virtualBoxVMConfigPageWidget", "Name:"))
|
||||
self.uiSymbolLabel.setText(_translate("virtualBoxVMConfigPageWidget", "Symbol:"))
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'virtualbox_vm_preferences_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/virtualbox/ui/virtualbox_vm_preferences_page.ui'
|
||||
#
|
||||
# Created: Wed May 6 14:31:58 2015
|
||||
# Created: Wed Jul 15 12:22:35 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_VirtualBoxVMPreferencesPageWidget:
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_VirtualBoxVMPreferencesPageWidget(object):
|
||||
def setupUi(self, VirtualBoxVMPreferencesPageWidget):
|
||||
VirtualBoxVMPreferencesPageWidget.setObjectName("VirtualBoxVMPreferencesPageWidget")
|
||||
VirtualBoxVMPreferencesPageWidget.resize(505, 350)
|
||||
@@ -69,7 +66,7 @@ class Ui_VirtualBoxVMPreferencesPageWidget:
|
||||
VirtualBoxVMPreferencesPageWidget.setTabOrder(self.uiNewVirtualBoxVMPushButton, self.uiDeleteVirtualBoxVMPushButton)
|
||||
|
||||
def retranslateUi(self, VirtualBoxVMPreferencesPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
VirtualBoxVMPreferencesPageWidget.setWindowTitle(_translate("VirtualBoxVMPreferencesPageWidget", "VirtualBox VMs"))
|
||||
VirtualBoxVMPreferencesPageWidget.setAccessibleName(_translate("VirtualBoxVMPreferencesPageWidget", "VirtualBox VM templates"))
|
||||
self.uiNewVirtualBoxVMPushButton.setText(_translate("VirtualBoxVMPreferencesPageWidget", "&New"))
|
||||
@@ -77,3 +74,4 @@ class Ui_VirtualBoxVMPreferencesPageWidget:
|
||||
self.uiDeleteVirtualBoxVMPushButton.setText(_translate("VirtualBoxVMPreferencesPageWidget", "&Delete"))
|
||||
self.uiVirtualBoxVMInfoTreeWidget.headerItem().setText(0, _translate("VirtualBoxVMPreferencesPageWidget", "1"))
|
||||
self.uiVirtualBoxVMInfoTreeWidget.headerItem().setText(1, _translate("VirtualBoxVMPreferencesPageWidget", "2"))
|
||||
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'virtualbox_vm_wizard.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/virtualbox/ui/virtualbox_vm_wizard.ui'
|
||||
#
|
||||
# Created: Sun Jun 14 14:54:00 2015
|
||||
# by: PyQt5 UI code generator 5.2.1
|
||||
# Created: Wed Jul 15 12:22:35 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_VirtualBoxVMWizard(object):
|
||||
def setupUi(self, VirtualBoxVMWizard):
|
||||
@@ -76,7 +75,7 @@ class Ui_VirtualBoxVMWizard(object):
|
||||
QtCore.QMetaObject.connectSlotsByName(VirtualBoxVMWizard)
|
||||
|
||||
def retranslateUi(self, VirtualBoxVMWizard):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
VirtualBoxVMWizard.setWindowTitle(_translate("VirtualBoxVMWizard", "New VirtualBox VM template"))
|
||||
self.uiServerWizardPage.setTitle(_translate("VirtualBoxVMWizard", "Server"))
|
||||
self.uiServerWizardPage.setSubTitle(_translate("VirtualBoxVMWizard", "Please choose a server type to run your new VirtualBox VM."))
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'vmware_preferences_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/vmware/ui/vmware_preferences_page.ui'
|
||||
#
|
||||
# Created: Thu May 21 21:37:50 2015
|
||||
# by: PyQt5 UI code generator 5.2.1
|
||||
# Created: Wed Jul 15 12:22:35 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_VMwarePreferencesPageWidget:
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_VMwarePreferencesPageWidget(object):
|
||||
def setupUi(self, VMwarePreferencesPageWidget):
|
||||
VMwarePreferencesPageWidget.setObjectName("VMwarePreferencesPageWidget")
|
||||
VMwarePreferencesPageWidget.resize(454, 535)
|
||||
@@ -104,7 +101,7 @@ class Ui_VMwarePreferencesPageWidget:
|
||||
QtCore.QMetaObject.connectSlotsByName(VMwarePreferencesPageWidget)
|
||||
|
||||
def retranslateUi(self, VMwarePreferencesPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
VMwarePreferencesPageWidget.setWindowTitle(_translate("VMwarePreferencesPageWidget", "VMware"))
|
||||
self.uiUseLocalServercheckBox.setText(_translate("VMwarePreferencesPageWidget", "Use the local server"))
|
||||
self.uiVmrunPathLabel.setText(_translate("VMwarePreferencesPageWidget", "Path to vmrun:"))
|
||||
@@ -117,3 +114,4 @@ class Ui_VMwarePreferencesPageWidget:
|
||||
self.uiVMnetEndRangeSpinBox.setPrefix(_translate("VMwarePreferencesPageWidget", "vmnet"))
|
||||
self.uiTabWidget.setTabText(self.uiTabWidget.indexOf(self.uiNetworkTab), _translate("VMwarePreferencesPageWidget", "Network"))
|
||||
self.uiRestoreDefaultsPushButton.setText(_translate("VMwarePreferencesPageWidget", "Restore defaults"))
|
||||
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'vmware_vm_configuration_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/vmware/ui/vmware_vm_configuration_page.ui'
|
||||
#
|
||||
# Created: Tue Jun 23 21:51:01 2015
|
||||
# by: PyQt5 UI code generator 5.2.1
|
||||
# Created: Wed Jul 15 12:22:35 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_VMwareVMConfigPageWidget(object):
|
||||
def setupUi(self, VMwareVMConfigPageWidget):
|
||||
@@ -128,7 +127,7 @@ class Ui_VMwareVMConfigPageWidget(object):
|
||||
QtCore.QMetaObject.connectSlotsByName(VMwareVMConfigPageWidget)
|
||||
|
||||
def retranslateUi(self, VMwareVMConfigPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
VMwareVMConfigPageWidget.setWindowTitle(_translate("VMwareVMConfigPageWidget", "VMware VM configuration"))
|
||||
self.uiACPIShutdownCheckBox.setText(_translate("VMwareVMConfigPageWidget", "Enable ACPI shutdown"))
|
||||
self.uiSymbolLabel.setText(_translate("VMwareVMConfigPageWidget", "Symbol:"))
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'vmware_vm_preferences_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/vmware/ui/vmware_vm_preferences_page.ui'
|
||||
#
|
||||
# Created: Wed May 6 14:31:58 2015
|
||||
# Created: Wed Jul 15 12:22:36 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_VMwareVMPreferencesPageWidget:
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_VMwareVMPreferencesPageWidget(object):
|
||||
def setupUi(self, VMwareVMPreferencesPageWidget):
|
||||
VMwareVMPreferencesPageWidget.setObjectName("VMwareVMPreferencesPageWidget")
|
||||
VMwareVMPreferencesPageWidget.resize(505, 350)
|
||||
@@ -69,7 +66,7 @@ class Ui_VMwareVMPreferencesPageWidget:
|
||||
VMwareVMPreferencesPageWidget.setTabOrder(self.uiNewVMwareVMPushButton, self.uiDeleteVMwareVMPushButton)
|
||||
|
||||
def retranslateUi(self, VMwareVMPreferencesPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
VMwareVMPreferencesPageWidget.setWindowTitle(_translate("VMwareVMPreferencesPageWidget", "VMware VMs"))
|
||||
VMwareVMPreferencesPageWidget.setAccessibleName(_translate("VMwareVMPreferencesPageWidget", "VMware VM templates"))
|
||||
self.uiNewVMwareVMPushButton.setText(_translate("VMwareVMPreferencesPageWidget", "&New"))
|
||||
@@ -77,3 +74,4 @@ class Ui_VMwareVMPreferencesPageWidget:
|
||||
self.uiDeleteVMwareVMPushButton.setText(_translate("VMwareVMPreferencesPageWidget", "&Delete"))
|
||||
self.uiVMwareVMInfoTreeWidget.headerItem().setText(0, _translate("VMwareVMPreferencesPageWidget", "1"))
|
||||
self.uiVMwareVMInfoTreeWidget.headerItem().setText(1, _translate("VMwareVMPreferencesPageWidget", "2"))
|
||||
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'vmware_vm_wizard.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/vmware/ui/vmware_vm_wizard.ui'
|
||||
#
|
||||
# Created: Sun Jun 14 14:54:00 2015
|
||||
# by: PyQt5 UI code generator 5.2.1
|
||||
# Created: Wed Jul 15 12:22:36 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_VMwareVMWizard(object):
|
||||
def setupUi(self, VMwareVMWizard):
|
||||
@@ -76,7 +75,7 @@ class Ui_VMwareVMWizard(object):
|
||||
QtCore.QMetaObject.connectSlotsByName(VMwareVMWizard)
|
||||
|
||||
def retranslateUi(self, VMwareVMWizard):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
VMwareVMWizard.setWindowTitle(_translate("VMwareVMWizard", "New VMware VM template"))
|
||||
self.uiServerWizardPage.setTitle(_translate("VMwareVMWizard", "Server"))
|
||||
self.uiServerWizardPage.setSubTitle(_translate("VMwareVMWizard", "Please choose a server type to run your new VMware VM."))
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'vpcs_device_configuration_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/vpcs/ui/vpcs_device_configuration_page.ui'
|
||||
#
|
||||
# Created: Mon Jun 22 17:45:22 2015
|
||||
# by: PyQt5 UI code generator 5.2.1
|
||||
# Created: Wed Jul 15 12:22:36 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_VPCSDeviceConfigPageWidget(object):
|
||||
def setupUi(self, VPCSDeviceConfigPageWidget):
|
||||
@@ -36,7 +35,7 @@ class Ui_VPCSDeviceConfigPageWidget(object):
|
||||
QtCore.QMetaObject.connectSlotsByName(VPCSDeviceConfigPageWidget)
|
||||
|
||||
def retranslateUi(self, VPCSDeviceConfigPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
VPCSDeviceConfigPageWidget.setWindowTitle(_translate("VPCSDeviceConfigPageWidget", "VPCS device configuration"))
|
||||
self.uiConsolePortLabel.setText(_translate("VPCSDeviceConfigPageWidget", "Console port:"))
|
||||
self.uiNameLabel.setText(_translate("VPCSDeviceConfigPageWidget", "Name:"))
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'vpcs_preferences_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/modules/vpcs/ui/vpcs_preferences_page.ui'
|
||||
#
|
||||
# Created: Mon Jun 22 17:45:21 2015
|
||||
# by: PyQt5 UI code generator 5.2.1
|
||||
# Created: Wed Jul 15 12:22:36 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_VPCSPreferencesPageWidget(object):
|
||||
def setupUi(self, VPCSPreferencesPageWidget):
|
||||
@@ -107,7 +106,7 @@ class Ui_VPCSPreferencesPageWidget(object):
|
||||
QtCore.QMetaObject.connectSlotsByName(VPCSPreferencesPageWidget)
|
||||
|
||||
def retranslateUi(self, VPCSPreferencesPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
VPCSPreferencesPageWidget.setWindowTitle(_translate("VPCSPreferencesPageWidget", "VPCS"))
|
||||
self.uiUseLocalServercheckBox.setText(_translate("VPCSPreferencesPageWidget", "Use the local server"))
|
||||
self.uiVPCSPathLabel.setText(_translate("VPCSPreferencesPageWidget", "Path to VPCS executable:"))
|
||||
|
||||
@@ -78,6 +78,7 @@ QtCore.BINDING_VERSION_STR = QtCore.PYQT_VERSION_STR
|
||||
|
||||
from PyQt5.QtWidgets import QFileDialog as OldFileDialog
|
||||
|
||||
|
||||
class QFileDialog(OldFileDialog):
|
||||
|
||||
@staticmethod
|
||||
@@ -110,8 +111,6 @@ class QFileDialog(OldFileDialog):
|
||||
|
||||
QtWidgets.QFileDialog = QFileDialog
|
||||
|
||||
def translate(*args):
|
||||
return QtCore.QCoreApplication.translate(*args)
|
||||
|
||||
|
||||
# If we run from a test we replace the signal by a synchronous version
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,18 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'configuration_dialog.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/ui/configuration_dialog.ui'
|
||||
#
|
||||
# Created: Wed May 6 14:31:52 2015
|
||||
# Created: Wed Jul 15 12:22:29 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_configurationDialog:
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_configurationDialog(object):
|
||||
def setupUi(self, configurationDialog):
|
||||
configurationDialog.setObjectName("configurationDialog")
|
||||
configurationDialog.resize(585, 454)
|
||||
@@ -57,7 +54,7 @@ class Ui_configurationDialog:
|
||||
self.gridlayout.addWidget(self.splitter, 0, 0, 1, 1)
|
||||
self.uiButtonBox = QtWidgets.QDialogButtonBox(configurationDialog)
|
||||
self.uiButtonBox.setOrientation(QtCore.Qt.Horizontal)
|
||||
self.uiButtonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Ok)
|
||||
self.uiButtonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
|
||||
self.uiButtonBox.setObjectName("uiButtonBox")
|
||||
self.gridlayout.addWidget(self.uiButtonBox, 1, 0, 1, 1)
|
||||
|
||||
@@ -66,7 +63,7 @@ class Ui_configurationDialog:
|
||||
QtCore.QMetaObject.connectSlotsByName(configurationDialog)
|
||||
|
||||
def retranslateUi(self, configurationDialog):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
configurationDialog.setWindowTitle(_translate("configurationDialog", "Configuration"))
|
||||
self.uiTitleLabel.setText(_translate("configurationDialog", "Configuration"))
|
||||
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'exec_command_dialog.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/ui/exec_command_dialog.ui'
|
||||
#
|
||||
# Created: Wed May 6 14:31:52 2015
|
||||
# Created: Wed Jul 15 12:22:29 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_ExecCommandDialog:
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_ExecCommandDialog(object):
|
||||
def setupUi(self, ExecCommandDialog):
|
||||
ExecCommandDialog.setObjectName("ExecCommandDialog")
|
||||
ExecCommandDialog.resize(651, 343)
|
||||
@@ -34,7 +31,7 @@ class Ui_ExecCommandDialog:
|
||||
QtCore.QMetaObject.connectSlotsByName(ExecCommandDialog)
|
||||
|
||||
def retranslateUi(self, ExecCommandDialog):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
ExecCommandDialog.setWindowTitle(_translate("ExecCommandDialog", "Command execution"))
|
||||
|
||||
from . import resources_rc
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'general_preferences_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/ui/general_preferences_page.ui'
|
||||
#
|
||||
# Created: Wed Jun 24 18:33:05 2015
|
||||
# by: PyQt5 UI code generator 5.2.1
|
||||
# Created: Wed Jul 15 12:22:29 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_GeneralPreferencesPageWidget(object):
|
||||
def setupUi(self, GeneralPreferencesPageWidget):
|
||||
@@ -344,7 +343,7 @@ class Ui_GeneralPreferencesPageWidget(object):
|
||||
QtCore.QMetaObject.connectSlotsByName(GeneralPreferencesPageWidget)
|
||||
|
||||
def retranslateUi(self, GeneralPreferencesPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
GeneralPreferencesPageWidget.setWindowTitle(_translate("GeneralPreferencesPageWidget", "General"))
|
||||
self.uiLocalPathsGroupBox.setTitle(_translate("GeneralPreferencesPageWidget", "Local paths"))
|
||||
self.uiProjectsPathLabel.setText(_translate("GeneralPreferencesPageWidget", "My projects:"))
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'getting_started_dialog.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/ui/getting_started_dialog.ui'
|
||||
#
|
||||
# Created: Wed May 6 14:31:53 2015
|
||||
# Created: Wed Jul 15 12:22:29 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_GettingStartedDialog:
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_GettingStartedDialog(object):
|
||||
def setupUi(self, GettingStartedDialog):
|
||||
GettingStartedDialog.setObjectName("GettingStartedDialog")
|
||||
GettingStartedDialog.resize(778, 593)
|
||||
@@ -47,9 +44,8 @@ class Ui_GettingStartedDialog:
|
||||
QtCore.QMetaObject.connectSlotsByName(GettingStartedDialog)
|
||||
|
||||
def retranslateUi(self, GettingStartedDialog):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
GettingStartedDialog.setWindowTitle(_translate("GettingStartedDialog", "Getting started"))
|
||||
self.uiCheckBox.setText(_translate("GettingStartedDialog", "Don\'t show this again"))
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtWebKitWidgets
|
||||
from PyQt5 import QtWebKitWidgets
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'idlepc_dialog.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/ui/idlepc_dialog.ui'
|
||||
#
|
||||
# Created: Wed May 6 14:31:53 2015
|
||||
# Created: Wed Jul 15 12:22:30 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_IdlePCDialog:
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_IdlePCDialog(object):
|
||||
def setupUi(self, IdlePCDialog):
|
||||
IdlePCDialog.setObjectName("IdlePCDialog")
|
||||
IdlePCDialog.setModal(True)
|
||||
@@ -27,7 +24,7 @@ class Ui_IdlePCDialog:
|
||||
self.gridLayout.addWidget(self.uiComboBox, 1, 0, 1, 1)
|
||||
self.uiButtonBox = QtWidgets.QDialogButtonBox(IdlePCDialog)
|
||||
self.uiButtonBox.setOrientation(QtCore.Qt.Horizontal)
|
||||
self.uiButtonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Apply | QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Help | QtWidgets.QDialogButtonBox.Ok)
|
||||
self.uiButtonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Apply|QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Help|QtWidgets.QDialogButtonBox.Ok)
|
||||
self.uiButtonBox.setObjectName("uiButtonBox")
|
||||
self.gridLayout.addWidget(self.uiButtonBox, 2, 0, 1, 1)
|
||||
|
||||
@@ -37,6 +34,7 @@ class Ui_IdlePCDialog:
|
||||
QtCore.QMetaObject.connectSlotsByName(IdlePCDialog)
|
||||
|
||||
def retranslateUi(self, IdlePCDialog):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
IdlePCDialog.setWindowTitle(_translate("IdlePCDialog", "Idle-PC values"))
|
||||
self.uiLabel.setText(_translate("IdlePCDialog", "Potentially better Idle-PC values are marked with \'*\'"))
|
||||
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'main_window.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/ui/main_window.ui'
|
||||
#
|
||||
# Created: Wed Jul 8 19:15:31 2015
|
||||
# Created: Wed Jul 15 12:22:30 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_MainWindow(object):
|
||||
def setupUi(self, MainWindow):
|
||||
@@ -367,10 +366,10 @@ class Ui_MainWindow(object):
|
||||
self.uiAddLinkAction = QtWidgets.QAction(MainWindow)
|
||||
self.uiAddLinkAction.setCheckable(True)
|
||||
icon29 = QtGui.QIcon()
|
||||
icon29.addPixmap(QtGui.QPixmap(":/icons/cancel-connection.svg"), QtGui.QIcon.Active, QtGui.QIcon.On)
|
||||
icon29.addPixmap(QtGui.QPixmap(":/icons/connection-new-hover.svg"), QtGui.QIcon.Active, QtGui.QIcon.Off)
|
||||
icon29.addPixmap(QtGui.QPixmap(":/icons/connection-new.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
icon29.addPixmap(QtGui.QPixmap(":/icons/connection-new-hover.svg"), QtGui.QIcon.Active, QtGui.QIcon.Off)
|
||||
icon29.addPixmap(QtGui.QPixmap(":/icons/cancel-connection.svg"), QtGui.QIcon.Normal, QtGui.QIcon.On)
|
||||
icon29.addPixmap(QtGui.QPixmap(":/icons/cancel-connection.svg"), QtGui.QIcon.Active, QtGui.QIcon.On)
|
||||
self.uiAddLinkAction.setIcon(icon29)
|
||||
self.uiAddLinkAction.setObjectName("uiAddLinkAction")
|
||||
self.uiGettingStartedAction = QtWidgets.QAction(MainWindow)
|
||||
@@ -508,7 +507,7 @@ class Ui_MainWindow(object):
|
||||
MainWindow.setTabOrder(self.uiConsoleTextEdit, self.uiTopologySummaryTreeWidget)
|
||||
|
||||
def retranslateUi(self, MainWindow):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
self.uiEditMenu.setTitle(_translate("MainWindow", "&Edit"))
|
||||
self.uiFileMenu.setTitle(_translate("MainWindow", "&File"))
|
||||
self.uiHelpMenu.setTitle(_translate("MainWindow", "&Help"))
|
||||
@@ -667,8 +666,8 @@ class Ui_MainWindow(object):
|
||||
self.uiQemuImgWizardAction.setText(_translate("MainWindow", "Qemu image wizard"))
|
||||
self.uiSetupWizard.setText(_translate("MainWindow", "&Setup Wizard"))
|
||||
|
||||
from ..graphics_view import GraphicsView
|
||||
from ..topology_summary_view import TopologySummaryView
|
||||
from ..console_view import ConsoleView
|
||||
from ..nodes_view import NodesView
|
||||
from ..graphics_view import GraphicsView
|
||||
from ..topology_summary_view import TopologySummaryView
|
||||
from . import resources_rc
|
||||
|
||||
@@ -1,20 +1,19 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'new_project_dialog.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/ui/new_project_dialog.ui'
|
||||
#
|
||||
# Created: Wed Jul 8 17:36:12 2015
|
||||
# Created: Wed Jul 15 12:22:30 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_NewProjectDialog(object):
|
||||
def setupUi(self, NewProjectDialog):
|
||||
NewProjectDialog.setObjectName("NewProjectDialog")
|
||||
NewProjectDialog.setWindowModality(QtCore.Qt.ApplicationModal)
|
||||
NewProjectDialog.resize(479, 192)
|
||||
NewProjectDialog.resize(577, 188)
|
||||
NewProjectDialog.setModal(True)
|
||||
self.gridLayout_2 = QtWidgets.QGridLayout(NewProjectDialog)
|
||||
self.gridLayout_2.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
|
||||
@@ -67,7 +66,7 @@ class Ui_NewProjectDialog(object):
|
||||
QtCore.QMetaObject.connectSlotsByName(NewProjectDialog)
|
||||
|
||||
def retranslateUi(self, NewProjectDialog):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
NewProjectDialog.setWindowTitle(_translate("NewProjectDialog", "New project"))
|
||||
self.uiOpenProjectPushButton.setText(_translate("NewProjectDialog", "&Open a project"))
|
||||
self.uiRecentProjectsPushButton.setText(_translate("NewProjectDialog", "&Recent projects..."))
|
||||
|
||||
@@ -1,23 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'news_dock_widget.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/ui/news_dock_widget.ui'
|
||||
#
|
||||
# Created: Wed May 6 14:31:53 2015
|
||||
# Created: Wed Jul 15 12:22:30 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_NewsDockWidget:
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_NewsDockWidget(object):
|
||||
def setupUi(self, NewsDockWidget):
|
||||
NewsDockWidget.setObjectName("NewsDockWidget")
|
||||
NewsDockWidget.resize(203, 225)
|
||||
NewsDockWidget.setFloating(False)
|
||||
NewsDockWidget.setFeatures(QtWidgets.QDockWidget.DockWidgetFloatable | QtWidgets.QDockWidget.DockWidgetMovable)
|
||||
NewsDockWidget.setFeatures(QtWidgets.QDockWidget.DockWidgetFloatable|QtWidgets.QDockWidget.DockWidgetMovable)
|
||||
NewsDockWidget.setAllowedAreas(QtCore.Qt.AllDockWidgetAreas)
|
||||
self.dockWidgetContents = QtWidgets.QWidget()
|
||||
self.dockWidgetContents.setObjectName("dockWidgetContents")
|
||||
@@ -38,8 +35,7 @@ class Ui_NewsDockWidget:
|
||||
QtCore.QMetaObject.connectSlotsByName(NewsDockWidget)
|
||||
|
||||
def retranslateUi(self, NewsDockWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
NewsDockWidget.setWindowTitle(_translate("NewsDockWidget", "Jungle Newsfeed"))
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtWebKitWidgets
|
||||
from PyQt5 import QtWebKitWidgets
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'node_properties_dialog.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/ui/node_properties_dialog.ui'
|
||||
#
|
||||
# Created: Mon Jun 1 16:38:38 2015
|
||||
# by: PyQt5 UI code generator 5.2.1
|
||||
# Created: Wed Jul 15 12:22:30 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_NodePropertiesDialog:
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_NodePropertiesDialog(object):
|
||||
def setupUi(self, NodePropertiesDialog):
|
||||
NodePropertiesDialog.setObjectName("NodePropertiesDialog")
|
||||
NodePropertiesDialog.resize(689, 454)
|
||||
@@ -72,7 +69,7 @@ class Ui_NodePropertiesDialog:
|
||||
self.gridlayout.addWidget(self.splitter, 0, 0, 1, 1)
|
||||
self.uiButtonBox = QtWidgets.QDialogButtonBox(NodePropertiesDialog)
|
||||
self.uiButtonBox.setOrientation(QtCore.Qt.Horizontal)
|
||||
self.uiButtonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Apply | QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Ok | QtWidgets.QDialogButtonBox.Reset)
|
||||
self.uiButtonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Apply|QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok|QtWidgets.QDialogButtonBox.Reset)
|
||||
self.uiButtonBox.setObjectName("uiButtonBox")
|
||||
self.gridlayout.addWidget(self.uiButtonBox, 1, 0, 1, 1)
|
||||
|
||||
@@ -81,11 +78,11 @@ class Ui_NodePropertiesDialog:
|
||||
QtCore.QMetaObject.connectSlotsByName(NodePropertiesDialog)
|
||||
|
||||
def retranslateUi(self, NodePropertiesDialog):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
NodePropertiesDialog.setWindowTitle(_translate("NodePropertiesDialog", "Node properties"))
|
||||
self.uiNodesTreeWidget.headerItem().setText(0, _translate("NodePropertiesDialog", "Nodes"))
|
||||
self.uiTitleLabel.setText(_translate("NodePropertiesDialog", "Node Configuration"))
|
||||
self.textLabel.setText(_translate("NodePropertiesDialog", "Please select a node in the list \n"
|
||||
"to display the configuration page."))
|
||||
"to display the configuration page."))
|
||||
|
||||
from . import resources_rc
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'packet_capture_preferences_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/ui/packet_capture_preferences_page.ui'
|
||||
#
|
||||
# Created: Wed May 6 14:31:54 2015
|
||||
# Created: Wed Jul 15 12:22:30 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_PacketCapturePreferencesPageWidget:
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_PacketCapturePreferencesPageWidget(object):
|
||||
def setupUi(self, PacketCapturePreferencesPageWidget):
|
||||
PacketCapturePreferencesPageWidget.setObjectName("PacketCapturePreferencesPageWidget")
|
||||
PacketCapturePreferencesPageWidget.resize(400, 250)
|
||||
@@ -67,7 +64,7 @@ class Ui_PacketCapturePreferencesPageWidget:
|
||||
QtCore.QMetaObject.connectSlotsByName(PacketCapturePreferencesPageWidget)
|
||||
|
||||
def retranslateUi(self, PacketCapturePreferencesPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
PacketCapturePreferencesPageWidget.setWindowTitle(_translate("PacketCapturePreferencesPageWidget", "Packet capture"))
|
||||
self.uiSettingsGroupBox.setTitle(_translate("PacketCapturePreferencesPageWidget", "Settings"))
|
||||
self.uiCaptureAnalyzerCommandLabel.setText(_translate("PacketCapturePreferencesPageWidget", "Packet capture analyzer command:"))
|
||||
@@ -77,3 +74,4 @@ class Ui_PacketCapturePreferencesPageWidget:
|
||||
self.uiPreconfiguredCaptureReaderCommandLabel.setText(_translate("PacketCapturePreferencesPageWidget", "Preconfigured packet capture reader commands:"))
|
||||
self.uiPreconfiguredCaptureReaderCommandPushButton.setText(_translate("PacketCapturePreferencesPageWidget", "&Set"))
|
||||
self.uiRestoreDefaultsPushButton.setText(_translate("PacketCapturePreferencesPageWidget", "Restore defaults"))
|
||||
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'preferences_dialog.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/ui/preferences_dialog.ui'
|
||||
#
|
||||
# Created: Wed May 6 14:31:54 2015
|
||||
# Created: Wed Jul 15 12:22:30 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_PreferencesDialog:
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_PreferencesDialog(object):
|
||||
def setupUi(self, PreferencesDialog):
|
||||
PreferencesDialog.setObjectName("PreferencesDialog")
|
||||
PreferencesDialog.resize(590, 534)
|
||||
@@ -26,7 +23,7 @@ class Ui_PreferencesDialog:
|
||||
self.gridlayout.setObjectName("gridlayout")
|
||||
self.uiButtonBox = QtWidgets.QDialogButtonBox(PreferencesDialog)
|
||||
self.uiButtonBox.setOrientation(QtCore.Qt.Horizontal)
|
||||
self.uiButtonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Apply | QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Ok)
|
||||
self.uiButtonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Apply|QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
|
||||
self.uiButtonBox.setCenterButtons(False)
|
||||
self.uiButtonBox.setObjectName("uiButtonBox")
|
||||
self.gridlayout.addWidget(self.uiButtonBox, 2, 1, 1, 2)
|
||||
@@ -89,7 +86,7 @@ class Ui_PreferencesDialog:
|
||||
QtCore.QMetaObject.connectSlotsByName(PreferencesDialog)
|
||||
|
||||
def retranslateUi(self, PreferencesDialog):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
PreferencesDialog.setWindowTitle(_translate("PreferencesDialog", "Preferences"))
|
||||
|
||||
from . import resources_rc
|
||||
|
||||
284540
gns3/ui/resources_rc.py
284540
gns3/ui/resources_rc.py
File diff suppressed because it is too large
Load Diff
@@ -1,14 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'server_preferences_page.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/ui/server_preferences_page.ui'
|
||||
#
|
||||
# Created: Tue Jun 30 22:05:09 2015
|
||||
# by: PyQt5 UI code generator 5.2.1
|
||||
# Created: Wed Jul 15 12:22:31 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_ServerPreferencesPageWidget(object):
|
||||
def setupUi(self, ServerPreferencesPageWidget):
|
||||
@@ -405,7 +404,7 @@ class Ui_ServerPreferencesPageWidget(object):
|
||||
ServerPreferencesPageWidget.setTabOrder(self.uiRoundRobinRadioButton, self.uiRendezVousHashingRadioButton)
|
||||
|
||||
def retranslateUi(self, ServerPreferencesPageWidget):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
ServerPreferencesPageWidget.setWindowTitle(_translate("ServerPreferencesPageWidget", "Server"))
|
||||
self.uiLocalServerAutoStartCheckBox.setText(_translate("ServerPreferencesPageWidget", "Enable local server"))
|
||||
self.uiGeneralSettingsGroupBox.setTitle(_translate("ServerPreferencesPageWidget", "General settings"))
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'setup_wizard.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/ui/setup_wizard.ui'
|
||||
#
|
||||
# Created: Wed Jul 8 15:46:20 2015
|
||||
# by: PyQt5 UI code generator 5.2.1
|
||||
# Created: Wed Jul 15 12:22:31 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_SetupWizard(object):
|
||||
def setupUi(self, SetupWizard):
|
||||
@@ -89,7 +88,7 @@ class Ui_SetupWizard(object):
|
||||
QtCore.QMetaObject.connectSlotsByName(SetupWizard)
|
||||
|
||||
def retranslateUi(self, SetupWizard):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
SetupWizard.setWindowTitle(_translate("SetupWizard", "Setup Wizard"))
|
||||
self.uiServerWizardPage.setTitle(_translate("SetupWizard", "Server"))
|
||||
self.uiServerWizardPage.setSubTitle(_translate("SetupWizard", "Please choose a server type to run your GNS3 network simulations. The GNS3 VM is strongly recommended on Windows and Mac OS X."))
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'snapshots_dialog.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/ui/snapshots_dialog.ui'
|
||||
#
|
||||
# Created: Wed May 6 14:31:54 2015
|
||||
# Created: Wed Jul 15 12:22:31 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_SnapshotsDialog:
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_SnapshotsDialog(object):
|
||||
def setupUi(self, SnapshotsDialog):
|
||||
SnapshotsDialog.setObjectName("SnapshotsDialog")
|
||||
SnapshotsDialog.setWindowModality(QtCore.Qt.WindowModal)
|
||||
@@ -45,8 +42,9 @@ class Ui_SnapshotsDialog:
|
||||
QtCore.QMetaObject.connectSlotsByName(SnapshotsDialog)
|
||||
|
||||
def retranslateUi(self, SnapshotsDialog):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
SnapshotsDialog.setWindowTitle(_translate("SnapshotsDialog", "Snapshots"))
|
||||
self.uiCreatePushButton.setText(_translate("SnapshotsDialog", "&Create"))
|
||||
self.uiRestorePushButton.setText(_translate("SnapshotsDialog", "&Restore"))
|
||||
self.uiDeletePushButton.setText(_translate("SnapshotsDialog", "&Delete"))
|
||||
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'style_editor_dialog.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/ui/style_editor_dialog.ui'
|
||||
#
|
||||
# Created: Wed May 6 14:31:54 2015
|
||||
# Created: Wed Jul 15 12:22:31 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_StyleEditorDialog:
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_StyleEditorDialog(object):
|
||||
def setupUi(self, StyleEditorDialog):
|
||||
StyleEditorDialog.setObjectName("StyleEditorDialog")
|
||||
StyleEditorDialog.resize(328, 252)
|
||||
@@ -68,7 +65,7 @@ class Ui_StyleEditorDialog:
|
||||
self.verticalLayout.addWidget(self.uiStyleSettingsGroupBox)
|
||||
self.uiButtonBox = QtWidgets.QDialogButtonBox(StyleEditorDialog)
|
||||
self.uiButtonBox.setOrientation(QtCore.Qt.Horizontal)
|
||||
self.uiButtonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Apply | QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Ok)
|
||||
self.uiButtonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Apply|QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
|
||||
self.uiButtonBox.setObjectName("uiButtonBox")
|
||||
self.verticalLayout.addWidget(self.uiButtonBox)
|
||||
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
||||
@@ -80,7 +77,7 @@ class Ui_StyleEditorDialog:
|
||||
QtCore.QMetaObject.connectSlotsByName(StyleEditorDialog)
|
||||
|
||||
def retranslateUi(self, StyleEditorDialog):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
StyleEditorDialog.setWindowTitle(_translate("StyleEditorDialog", "Style editor"))
|
||||
self.uiStyleSettingsGroupBox.setTitle(_translate("StyleEditorDialog", "Style settings"))
|
||||
self.uiColorLabel.setText(_translate("StyleEditorDialog", "Fill color:"))
|
||||
@@ -90,7 +87,7 @@ class Ui_StyleEditorDialog:
|
||||
self.uiBorderStyleLabel.setText(_translate("StyleEditorDialog", "Border style:"))
|
||||
self.uiRotationLabel.setText(_translate("StyleEditorDialog", "Rotation:"))
|
||||
self.uiRotationSpinBox.setToolTip(_translate("StyleEditorDialog", "Rotation can be ajusted on the scene for a selected item while\n"
|
||||
"editing (notes only) with ALT and \'+\' (or P) / ALT and \'-\' (or M)"))
|
||||
"editing (notes only) with ALT and \'+\' (or P) / ALT and \'-\' (or M)"))
|
||||
self.uiRotationSpinBox.setSuffix(_translate("StyleEditorDialog", "°"))
|
||||
|
||||
from . import resources_rc
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'symbol_selection_dialog.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/ui/symbol_selection_dialog.ui'
|
||||
#
|
||||
# Created: Sun Jun 21 16:11:42 2015
|
||||
# by: PyQt5 UI code generator 5.2.1
|
||||
# Created: Wed Jul 15 12:22:31 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_SymbolSelectionDialog(object):
|
||||
def setupUi(self, SymbolSelectionDialog):
|
||||
@@ -63,7 +62,7 @@ class Ui_SymbolSelectionDialog(object):
|
||||
QtCore.QMetaObject.connectSlotsByName(SymbolSelectionDialog)
|
||||
|
||||
def retranslateUi(self, SymbolSelectionDialog):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
SymbolSelectionDialog.setWindowTitle(_translate("SymbolSelectionDialog", "Symbol selection"))
|
||||
self.groupBox.setTitle(_translate("SymbolSelectionDialog", "Custom symbol"))
|
||||
self.uiSymbolLabel.setText(_translate("SymbolSelectionDialog", "Path:"))
|
||||
|
||||
@@ -1,18 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'text_editor_dialog.ui'
|
||||
# Form implementation generated from reading ui file '/Users/noplay/code/gns3/gns3-gui/gns3/ui/text_editor_dialog.ui'
|
||||
#
|
||||
# Created: Wed May 6 14:31:54 2015
|
||||
# Created: Wed Jul 15 12:22:31 2015
|
||||
# by: PyQt5 UI code generator 5.4
|
||||
#
|
||||
# WARNING! All changes made in this file will be lost!
|
||||
|
||||
import gns3.qt
|
||||
from gns3.qt import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_TextEditorDialog:
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
class Ui_TextEditorDialog(object):
|
||||
def setupUi(self, TextEditorDialog):
|
||||
TextEditorDialog.setObjectName("TextEditorDialog")
|
||||
TextEditorDialog.resize(457, 333)
|
||||
@@ -59,7 +56,7 @@ class Ui_TextEditorDialog:
|
||||
self.horizontalLayout.addItem(spacerItem)
|
||||
self.uiButtonBox = QtWidgets.QDialogButtonBox(TextEditorDialog)
|
||||
self.uiButtonBox.setOrientation(QtCore.Qt.Horizontal)
|
||||
self.uiButtonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Apply | QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Ok)
|
||||
self.uiButtonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Apply|QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
|
||||
self.uiButtonBox.setObjectName("uiButtonBox")
|
||||
self.horizontalLayout.addWidget(self.uiButtonBox)
|
||||
self.verticalLayout.addLayout(self.horizontalLayout)
|
||||
@@ -72,13 +69,13 @@ class Ui_TextEditorDialog:
|
||||
QtCore.QMetaObject.connectSlotsByName(TextEditorDialog)
|
||||
|
||||
def retranslateUi(self, TextEditorDialog):
|
||||
_translate = gns3.qt.translate
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
TextEditorDialog.setWindowTitle(_translate("TextEditorDialog", "Text editor"))
|
||||
self.uiTextSettingsGroupBox.setTitle(_translate("TextEditorDialog", "Text settings"))
|
||||
self.uiColorLabel.setText(_translate("TextEditorDialog", "Color:"))
|
||||
self.uiRotationLabel.setText(_translate("TextEditorDialog", "Rotation:"))
|
||||
self.uiRotationSpinBox.setToolTip(_translate("TextEditorDialog", "Rotation can be ajusted on the scene for a selected item while\n"
|
||||
"editing (notes only) with ALT and \'+\' (or P) / ALT and \'-\' (or M)"))
|
||||
"editing (notes only) with ALT and \'+\' (or P) / ALT and \'-\' (or M)"))
|
||||
self.uiRotationSpinBox.setSuffix(_translate("TextEditorDialog", "°"))
|
||||
self.uiApplyTextToAllItemsCheckBox.setText(_translate("TextEditorDialog", "Apply the text below to all selected items"))
|
||||
self.uiFontPushButton.setText(_translate("TextEditorDialog", "&Select font"))
|
||||
|
||||
@@ -13,32 +13,18 @@ import re
|
||||
import argparse
|
||||
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument("--qt4", help="compilation with QT4", action="store_true")
|
||||
parser.add_argument("--force", help="force rebuild all files", action="store_true")
|
||||
args = parser.parse_args()
|
||||
|
||||
if args.qt4:
|
||||
if sys.platform.startswith('win'):
|
||||
PATH = os.path.join(os.path.dirname(sys.executable), "Lib\\site-packages\\PyQt4")
|
||||
if os.access(os.path.join(PATH, "bin"), os.R_OK):
|
||||
PATH = os.path.join(PATH, "bin")
|
||||
PYUIC = os.path.join(PATH, "pyuic4")
|
||||
PYRCC = os.path.join(PATH, "pyrcc4")
|
||||
else:
|
||||
PYUIC = shutil.which("pyuic4")
|
||||
PYRCC = shutil.which("pyrcc4")
|
||||
PYRCC_PYTHON3_FLAG = "-py3"
|
||||
if sys.platform.startswith('win'):
|
||||
PATH = os.path.join(os.path.dirname(sys.executable), "Lib\\site-packages\\PyQt5")
|
||||
if os.access(os.path.join(PATH, "bin"), os.R_OK):
|
||||
PATH = os.path.join(PATH, "bin")
|
||||
PYUIC = os.path.join(PATH, "pyuic5")
|
||||
PYRCC = os.path.join(PATH, "pyrcc5")
|
||||
else:
|
||||
if sys.platform.startswith('win'):
|
||||
PATH = os.path.join(os.path.dirname(sys.executable), "Lib\\site-packages\\PyQt5")
|
||||
if os.access(os.path.join(PATH, "bin"), os.R_OK):
|
||||
PATH = os.path.join(PATH, "bin")
|
||||
PYUIC = os.path.join(PATH, "pyuic5")
|
||||
PYRCC = os.path.join(PATH, "pyrcc5")
|
||||
else:
|
||||
PYUIC = shutil.which("pyuic5")
|
||||
PYRCC = shutil.which("pyrcc5")
|
||||
PYRCC_PYTHON3_FLAG = None
|
||||
PYUIC = shutil.which("pyuic5")
|
||||
PYRCC = shutil.which("pyrcc5")
|
||||
|
||||
|
||||
def build_ui(path):
|
||||
@@ -59,7 +45,6 @@ def build_ui(path):
|
||||
subprocess.call(command, shell=True)
|
||||
else:
|
||||
subprocess.call(command)
|
||||
patch_file_qt4_5(target)
|
||||
|
||||
|
||||
def build_resources(path, target):
|
||||
@@ -68,10 +53,7 @@ def build_resources(path, target):
|
||||
if source.endswith(".qrc"):
|
||||
target = os.path.join(target, file.replace(".qrc", "_rc.py"))
|
||||
if not os.access(target, os.F_OK) or (os.stat(source)[stat.ST_MTIME] > os.stat(target)[stat.ST_MTIME]) or args.force:
|
||||
if PYRCC_PYTHON3_FLAG is not None:
|
||||
command = [PYRCC, PYRCC_PYTHON3_FLAG, "-compress", "9", "-o", target, source]
|
||||
else:
|
||||
command = [PYRCC, "-compress", "9", "-o", target, source]
|
||||
command = [PYRCC, "-compress", "9", "-o", target, source]
|
||||
print("Building resources {}".format(source))
|
||||
if args.force and os.access(target, os.F_OK):
|
||||
os.remove(target)
|
||||
@@ -80,28 +62,6 @@ def build_resources(path, target):
|
||||
command[i] = '"' + arg.replace('"', '"""') + '"'
|
||||
command = ' '.join(command)
|
||||
subprocess.call(command)
|
||||
patch_file_qt4_5(target)
|
||||
|
||||
|
||||
def patch_file_qt4_5(target):
|
||||
"""
|
||||
Patch a file for supporting Qt4 and Qt5
|
||||
"""
|
||||
# We patch the file in order to support both version of Qt
|
||||
out = ""
|
||||
print("Patch {} for Qt4 and Qt5 support".format(target))
|
||||
original_from = re.compile(r"^from PyQt[45] ", re.U)
|
||||
original_translate = re.compile(r"_translate = QtCore\.QCoreApplication\.translate", re.U)
|
||||
gen_line = r"# Form implementation generated from reading ui file '";
|
||||
with open(target, 'r', encoding="utf-8") as f:
|
||||
for line in f.readlines():
|
||||
if line.startswith(gen_line):
|
||||
line = line[0:len(gen_line)] + line[line.rfind(os.sep)+len(os.sep):]
|
||||
line = original_from.sub("import gns3.qt\nfrom gns3.qt ", line)
|
||||
line = original_translate.sub("_translate = gns3.qt.translate", line)
|
||||
out += line
|
||||
with open(target, 'w', encoding="utf-8") as f:
|
||||
f.write(out)
|
||||
|
||||
|
||||
def recursive(function, path):
|
||||
|
||||
Reference in New Issue
Block a user