Пример #1
0
# -*- coding: utf-8 -*-

import kivy

kivy.require('1.11.0')  # replace with your current kivy version !
import sys
import os

sys.path.append(".." + os.sep)
import abxtoolkit

abxtoolkit.load_ini(abxtoolkit.ABX_MODE.AP)
sys.path.append(
    os.path.join(os.path.dirname(__file__), ".." + os.sep + "sbase" + os.sep))

import threading
from kivy.lang import Builder
from kivy.clock import Clock
from kivy.uix.popup import Popup
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.gridlayout import GridLayout
from kivy.uix.dropdown import DropDown
from kivy.properties import ObjectProperty
from kivy.utils import get_color_from_hex as colorHex

import sutil
import sdate_utils
import sconsts as CONSTS
from sgw_popup import SGwPopup
from selements import SButton, SLabel, STextInput, SPopup
from selements import STableBoxLayout, STableScrollView
Пример #2
0
from kivy.core.window import Window
from kivy.lang import Builder
from kivy.uix.button import Button
from kivy.uix.floatlayout import FloatLayout
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.popup import Popup
from kivy.properties import ObjectProperty
from kivy.clock import Clock
from kivy.utils import get_color_from_hex as colorHex
import time
import threading
import sys
import os
sys.path.append(".." + os.sep)
import abxtoolkit
abxtoolkit.load_ini(abxtoolkit.ABX_MODE.AP, 'h94_ab')

sys.path.append(
    os.path.join(os.path.dirname(__file__), ".." + os.sep + "sbase" + os.sep))
sys.path.append(
    os.path.join(os.path.dirname(__file__),
                 ".." + os.sep + "sbacktest" + os.sep))
sys.path.append(
    os.path.join(os.path.dirname(__file__),
                 ".." + os.sep + "sexectrade" + os.sep))
sys.path.append(
    os.path.join(os.path.dirname(__file__),
                 ".." + os.sep + "sstkchoose" + os.sep))
sys.path.append(
    os.path.join(os.path.dirname(__file__),
                 ".." + os.sep + "sstkquote" + os.sep))