code clean-up

master
idziubenko 3 years ago
parent be178aed96
commit 00c2fbaeb5

@ -14,7 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import absolute_import
from .. import qt
from .more import ButtonMenu, FlowLayout, get_sid, ClientServiceThread, \

@ -14,7 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import absolute_import
from .. import qt
from .more import ButtonMenu, icon_visible, LabelWordWrap, get_sid, show_msg, \
ClientServiceThread, show_question, get_view_params, _print, \

@ -14,7 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import absolute_import
from .Box import MainWgt
from .. import qt
#from mainmenu import MainMenu

@ -14,8 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
from __future__ import absolute_import
from .. import qt
DEBUG_LEVEL = 99999

@ -14,7 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import absolute_import
from .. import qt
from .more import get_system_rgb, ParameterWindow

@ -14,7 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import absolute_import
from .. import qt
import time
import urllib.request as urllib2

@ -14,7 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# from __future__ import absolute_import
from .. import qt
from .pid_information import client_list_pid, client_pid_info

@ -14,7 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import absolute_import
import socket
from .. import qt

@ -14,7 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import absolute_import
from .. import qt
from .more import LabelWordWrap, show_msg, get_icon
import datetime

@ -14,8 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# from __future__ import print_function
# from __future__ import absolute_import
from .. import qt
# from calculate.core.client.function import create_obj, listToArrayArray, \
# listToArray
@ -2345,6 +2343,8 @@ class MainFrame(qt.QWidget):
return wrapper
def add_expert(self, field_name):
print("DEBUG add expert")
print(self.expert_list)
if field_name not in self.expert_list:
self.expert_list.append(field_name)

@ -15,7 +15,6 @@
# limitations under the License.
from __future__ import absolute_import
from .. import qt
from .more import TopMenu, HelpMenu#, FlowLayout

@ -14,8 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
from __future__ import absolute_import
import os
import time
import urllib.request as urllib2

@ -14,7 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import absolute_import
from .more import get_sid, get_icon
from .. import qt
from .ReturnMessage import ReturnedMessage

@ -14,7 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import absolute_import
from .. import qt
import urllib.request as urllib2
from calculate.lib.utils.tools import Locker

@ -14,7 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import absolute_import
import os
from .. import qt

@ -14,23 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import absolute_import
#-*- coding: utf-8 -*-
# Copyright 2012-2016 Mir Calculate. http://www.calculate-linux.org
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from . import console
section = "consolegui"

Loading…
Cancel
Save