Advertisement
Guest User

Untitled

a guest
Dec 14th, 2015
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 61.77 KB | None | 0 0
  1. #!/usr/bin/python3
  2.  
  3. from PyQt5.QtCore import *
  4. from PyQt5.QtGui import *
  5. from PyQt5.QtWidgets import *
  6. from time import time
  7. import sys
  8.  
  9. cells = [[{'type': 'unselectable', 'dic': 'Общая лексика', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'класс', 'url': '', 'comment': ' (the top of the class - первый ученик (в классе))'}, {'type': 'selectable', 'dic': '', 'term': 'разряд', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'группа', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'категория', 'url': '', 'comment': ' (class of problems - круг вопросов)'}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'вид', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'род', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'сорт', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'качество', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'отличие', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'курс', 'url': '', 'comment': ' (to take classes (in) - проходить курс обучения (где-либо))'}, {'type': 'selectable', 'dic': '', 'term': 'труппа', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'отряд', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'общественный класс', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'звание', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'сословие', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'время начала занятий', 'url': '', 'comment': ' (when is the class? - когда начинаются занятия?)'}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'тип корабля', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'выпуск', 'url': '', 'comment': ' (студентов или учащихся такого-то года)'}, {'type': 'selectable', 'dic': '', 'term': 'урок', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'аудитория', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'секция', 'url': '', 'comment': ' Tanya Gesse'}, {'type': 'selectable', 'dic': '', 'term': 'классовое чувство', 'url': '', 'comment': ' (appeal to class ivp'}, {'type': 'selectable', 'dic': '', 'term': 'год призыва', 'url': '', 'comment': ' (в армию)'}, {'type': 'selectable', 'dic': '', 'term': 'занятия', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'устное занятие', 'url': '', 'comment': ' Alexander Demidov'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'тренинг', 'url': '', 'comment': ' Moscowtran'}, {'type': 'selectable', 'dic': '', 'term': 'шик', 'url': '', 'comment': ' AlaskaGirl'}], [{'type': 'unselectable', 'dic': 'SAP финансы', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'класс закупки', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Авиация', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'класс', 'url': '', 'comment': ' (напр. компоновки пассажирской кабины)'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Деловая лексика', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'курс обучения', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'занятие', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Военный термин', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'теоретическое занятие', 'url': '', 'comment': ' Киселев'}, {'type': 'selectable', 'dic': '', 'term': 'теоретическое обучение', 'url': '', 'comment': ' Киселев'}, {'type': 'selectable', 'dic': '', 'term': 'призывники одного и того же года рождения', 'url': '', 'comment': ' Киселев'}, {'type': 'selectable', 'dic': '', 'term': 'учебные занятия', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'учебные материалы', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'тип', 'url': '', 'comment': ' о кораблях ВМС США Киселев'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Вычислительная техника', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'класс', 'url': '', 'comment': ' (Набор характеристик, задающих общие свойства окон, принадлежащих данному классу)'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'класс классов', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'dic': 'Генетика', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'класс', 'url': '', 'comment': ' (одна из высших категорий в систематике, состоит из отрядов (у животных) или порядков (у растений) в системе Карла Линнея К. был высшей категорией dimock'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Дипломатический термин', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'ранг', 'url': '', 'comment': ' (дипломатических представителей)'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Иммунология', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'антигены второго класса', 'url': '', 'comment': ' (антигены гистосовместимости, кодируемые у человека локусами DR, MB, MT и Те)'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Контроль качества', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'интервал', 'url': '', 'comment': ' (значении)'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Лесоводство', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'степень', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'ступень', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Макаров', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'класс пшеницы', 'url': '', 'comment': ' (по стандарту США, соответствует в СССР типу)'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Математика', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'бесконечный класс', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Математика', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'класс множеств', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'непересекающиеся классы', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'несчётный класс', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'dic': 'Математика', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'множество', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'непустой класс', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'равномерно ограниченное семейство', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'семейство', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'совокупность', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Математика', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'интервал', 'url': '', 'comment': ' (значений)'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Математика', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'положительный класс', 'url': '', 'comment': ' (событий)'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Математика', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'единое целое', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'раздел', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'система', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'dic': 'Морской термин', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'курс', 'url': '', 'comment': ' (обучения)'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'класс', 'url': '', 'comment': ' (судна)'}, {'type': 'selectable', 'dic': '', 'term': 'тип', 'url': '', 'comment': ' (корабля)'}], [{'type': 'unselectable', 'dic': 'Образование', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'поток', 'url': '', 'comment': ' (a subdivision of the students in an academic department, consisting of a cohort of students of the same academic level Халеев'}, {'type': 'selectable', 'dic': '', 'term': 'пара', 'url': '', 'comment': ' ("классом" в англоязычных странах, в переводе на терминологию учебных ВУЗов постсоветского пространства, называют один или два академических часа, с перерывом или без (в зависимости от ВУЗа) между ними. Длительность академического часа в ВУЗах постсоветского пространства может быть в пределах от 40 до 50 минут (также в зависимости от ВУЗа) I need Carl to cover my 3:00 class - Пусть Карл подменит меня на паре в три часа тж. см. a double class Taras'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'учебная пара', 'url': '', 'comment': ' Taras'}], [{'type': 'unselectable', 'dic': 'Программирование', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'ключевое слово C++, используемое для объявления основного строительного блока программ', 'url': '', 'comment': ' (у класса есть имя, члены, механизм управления доступом и т.п) | во-первых, ключевое слово языка программирования вообще не является частью английского языка. во-вторых, мультитран - не толковый словарь. в третьих, "class" как понятие объектно-ориентированного программирования переводится на русский как "класс". | wedjat'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Разговорное выражение', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'интеллигентность', 'url': '', 'comment': ' (свойства характера и поведения высоконравственного и высокодуховного человека the characteristics and behavior of a high-minded, sensitive and moral person)'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Сленг', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'высокий стиль', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'высокое качество', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'элегантность', 'url': '', 'comment': ' Interex'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Строительство', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'категория моста, соответствующая расчётной нагрузке N тонн', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Телекоммуникации', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'категория обслуживания', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Техника', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'ранг', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Химия', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'тип', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Экономика', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'учебная группа', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Class', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Военный термин', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Classification/Classified', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Пожарное дело', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'пожары газов', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'пожары электрооборудования под напряжением', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'class.', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'dic': 'SAP технические термины', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'классификация', 'url': '', 'comment': ' 101 class'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Общая лексика', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'подготовительный класс', 'url': '', 'comment': ' Alexander Demidov Class-А/В'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Hi-Fi', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'класс АВ', 'url': '', 'comment': ' (режим работы усилителя, при котором выходной каскад работает в классе А при низких уровнях выходного сигнала, а при высоких уровнях переходит в класс В) Class-В'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Hi-Fi', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'класс В', 'url': '', 'comment': ' (режим работы усилителя, при котором положительная полуволна сигнала усиливается одним транзистором или лампой, а отрицательная полуволна - другим) Class 1'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Техника', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'класса 1', 'url': '', 'comment': ' dimock'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'class', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'dic': 'Общая лексика', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'классифицировать', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'сортировать', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'причислять', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'зачислять в одну категорию', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'ставить наряду', 'url': '', 'comment': ' (с чем-л.)'}, {'type': 'selectable', 'dic': '', 'term': 'относить', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'распределять отличия', 'url': '', 'comment': ' (в результате экзаменов)'}, {'type': 'selectable', 'dic': '', 'term': 'составить себе мнение', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'оценить', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'ставить наряду с', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'аттестовать', 'url': '', 'comment': " (распределять студентов или школьников по степеням отличия в результате экзаменов: At a second year's examination Tom was not classed at all. — По итогам экзаменов на втором году обучения Том вообще не был аттестован He obtained a degree, but was not classed. — Он получил диплом, но без отличия. Taras"}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Агрохимия', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'делить на классы', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Бурение', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'относить к категории', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Военный термин', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'относить к определённому виду', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'относить к определённому классу', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'относить к определённому разряду', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'относить к определённому типу', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'dic': 'Математика', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'относить к классу', 'url': '', 'comment': ' (определённому)'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Медицина', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'оценивать', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Металлургия', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'подразделять', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Морской термин', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'присваивать класс', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Переносный смысл', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'ставить в один ряд', 'url': '', 'comment': ' (с - with)'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Судостроение', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'делить на категории', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Экономика', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'относить к определённой категории', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'распределять', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'class', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'dic': 'Общая лексика', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'классовый', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'классификационный', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'учебный', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'классный', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'призывники одного года рождения', 'url': '', 'comment': ' (the 1957 class - призывники 1957 года (рождения)) сословный grafleonov class.'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Инвестиции', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'classification', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'class', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Математика', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'слой', 'url': '', 'comment': ' (Markov chains)'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'CLASS', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'dic': 'Военный термин', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Close Air Support System', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Вычислительная техника', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Custom Local Area Signaling Services', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Вычислительная техника', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Centralized Local Area Selective Signaling', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Custom Local Area Signaling Service', 'url': '', 'comment': ' (Telephony)'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Custom Local-Area Signaling Services', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'dic': 'Компьютерная техника', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'comprehensive satellite link simulation package', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Образование', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Connecting Learning Assures Successful Students', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Connecting Learning And Accountability For Students And Schools', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Connected Learning Assures Student Success', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Clustered Learning For Academic Student Success', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Connected Learning Assures Students Success', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Океанография', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'cross-chain', 'url': '', 'comment': ' LORAN'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'atmospheric sounding system', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Правительство', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Committee For Law Abiding State Senators', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Религия', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Christian Leaders Authors Speakers Services', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Сокращение', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Chameleonic Light Altering Simulated System', 'url': '', 'comment': ' (US Army)'}, {'type': 'selectable', 'dic': '', 'term': 'Closed-Loop Artillery Simulation System', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Coherent Laser radar Airborne Shear Sensor', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Computing, Laser-Aided, Sight System', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'dic': 'Сокращение', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Custom Local Area Signaling Service', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Сокращение', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Christian Leaders And Speakers Seminar', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Сокращение', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Computerized Labeling and Address Sequence System', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Телекоммуникации', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Custom Local Area Signaling Services', 'url': '', 'comment': ' (Bellcore)'}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Cell Level Atm Services Simulator', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Техника', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'classified', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': 'Расширение файла', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Java bytecode', 'url': '', 'comment': ' (compiled class - application)'}, {'type': 'selectable', 'dic': '', 'term': 'Client Access to Systems and Services', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Cooperative Library Agency for Systems and Services', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': '.CLASS', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'dic': 'Вычислительная техника', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'application/octet-stream', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}], [{'type': 'unselectable', 'dic': '4411 фраза', 'term': '', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'unknown', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Нефтеперерабатывающие заводы', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Ebay', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Нефтепромысловый', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Hi-Fi', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Нефть', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'SAP', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Нефть и газ', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'SAP технические термины', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Образование', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'SAP финансы', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Общая лексика', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Авиация', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Океанография', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Автодорожное право', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Океанология', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Автоматика', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Окружающая среда', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Автомобильный термин', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Оружейное производство', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Агрохимия', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Охрана труда', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Акустика', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Парфюмерия', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Американизм', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Патенты', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Американский английский', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Переносный смысл', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Аналитическая химия', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Пищевая промышленность', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Архитектура', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Пожарное дело', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Астрономия', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Полиграфия', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Атомная энергия', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Политика', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Аудит', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Почта', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Банковское дело', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Правительство', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Безопасность', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Программирование', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Биология', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Производство', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Бокс', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Производство тары', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Британский английский', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Промышленность', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Бухгалтерия', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Профессиональный термин', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Бытовая техника', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Психиатрия', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Водоснабжение', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Психоанализ', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Военно-морской флот', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Психология', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Военный термин', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Разговорное выражение', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Воздухоплавание', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Реклама', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Вычислительная техника', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Релейная защита и автоматика', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Газовые турбины', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Религия', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Генетика', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Рыбоводство', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Геология', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Рыболовство', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Геофизика', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Санитария', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Гидрология', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Сахалин', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Гондурас', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Сахалин Р', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Горное дело', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Сахалин Ю', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'ГОСТ', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Связь', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Гостиничное дело', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Сельское хозяйство', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Деловая лексика', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Сетевые технологии', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Деревообработка', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Сленг', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Дипломатический термин', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Собаководство', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'ЕБРР', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Сокращение', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Железнодорожный термин', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Солнечная энергия', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Живопись', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Социология', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Золотодобыча', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Специальный термин', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Зоология', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Спорт', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Иммуногенетика', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Статистика', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Иммунология', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Стоматология', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Инвестиции', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Страхование', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Ироническое выражение', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Строительные конструкции', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'История', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Строительные материалы', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Ихтиология', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Строительство', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Кабельные производство', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Судостроение', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Кардиология', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Таможенная деятельность', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Картография', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Текстиль', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Кино', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Телекоммуникации', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Клинические исследования', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Телефония', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Коммерция', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Тенгизшевройл', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Компьютерная техника', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Теория графов', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Коневодство', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Теория массового обслуживания', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Контроль качества', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Техника', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Космонавтика', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Торговля', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Кристаллография', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Транспорт', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Лазеры', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Трибология', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Лесоводство', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Трубопроводы', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Лингвистика', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Туризм', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Логика', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Университет', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Логистика', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Устаревшее слово', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Майкрософт', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Фармакология', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Макаров', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Фармация', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Маркетология', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Физика', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Математика', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Финансы', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Машиностроение', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Фразеологизм', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Медицина', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Химические соединения', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Медицинская техника', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Химическое оружие', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Международные перевозки', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Химия', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Металлургия', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Цитаты', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Метеорология', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Школьное выражение', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Метрология', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Эвфемизм', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Механика', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Экология', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Микроэлектроника', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Эконометрика', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Молекулярная генетика', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Экономика', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Морской термин', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Электричество', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Мостостроение', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Электроника', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Музыка', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Электротехника', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Навигация', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Электрохимия', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Налоги', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Энергетика', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Наркотики', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Энергосистемы', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Научный термин', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Юридический (Н.П.)', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Недвижимость', 'url': '', 'comment': ''}, {'type': 'selectable', 'dic': '', 'term': 'Юридический термин', 'url': '', 'comment': ''}], [{'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Нефтегазовая техника', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}, {'type': 'selectable', 'dic': '', 'term': 'Яхтенный спорт', 'url': '', 'comment': ''}, {'type': 'unselectable', 'comment': '', 'dic': '', 'url': '', 'term': ''}]]
  10.  
  11. row_nos = len(cells)
  12. col_nos = len(cells[0])
  13.  
  14. my_array = []
  15. for i in range(row_nos):
  16.     tmp_row = []
  17.     for j in range(col_nos):
  18.         # dic
  19.         cell_text = "<span style='font-size:9pt;color:navy;'>"
  20.         cell_text += cells[i][j]['dic']
  21.         cell_text += "</span>"
  22.         # term
  23.         cell_text += "<span style='font-size:9pt;color:black;'>"
  24.         cell_text += cells[i][j]['term']
  25.         cell_text += "</span>"
  26.         # comment
  27.         cell_text += "<span style='font-size:9pt;color:gray;'>"
  28.         cell_text += cells[i][j]['comment']
  29.         cell_text += "</span>"
  30.         tmp_row += [cell_text]
  31.     my_array += [tmp_row]
  32.    
  33. assert len(cells) == len(my_array)
  34. assert len(cells[0]) == len(my_array[0])
  35.  
  36. class MyWindow(QWidget):
  37.     def __init__(self, *args):
  38.         QWidget.__init__(self, *args)
  39.  
  40.         tablemodel = MyTableModel(my_array, self)
  41.         tableview = QTableView()
  42.         tableview.setModel(tablemodel)
  43.        
  44.         tableview.verticalHeader().setVisible(False)
  45.         tableview.horizontalHeader().setVisible(False)
  46.        
  47.         #for i in range(row_nos):
  48.         #   tableview.verticalHeader().setSectionResizeMode(i,QHeaderView.ResizeToContents)
  49.        
  50.         tableview.setShowGrid(False)
  51.        
  52.         layout = QGridLayout(self)
  53.         layout.setSpacing(1)
  54.        
  55.         for i in range(row_nos):
  56.             for j in range(col_nos):
  57.                 label = QLabel(tableview)
  58.                 label.setText(my_array[i][j])
  59.                 label.setWordWrap(True)
  60.                 layout.addWidget(label,i,j)
  61.         self.setLayout(layout)
  62.        
  63.  
  64. class MyTableModel(QAbstractTableModel):
  65.     def __init__(self, datain, parent=None, *args):
  66.         QAbstractTableModel.__init__(self, parent, *args)
  67.         self.arraydata = datain
  68.  
  69.     def rowCount(self, parent):
  70.         #return len(self.arraydata)
  71.         return row_nos
  72.  
  73.     def columnCount(self, parent):
  74.         #return len(self.arraydata[0])
  75.         return col_nos
  76.  
  77.     def data(self, index, role):
  78.         if not index.isValid():
  79.             return QVariant()
  80.         elif role != Qt.DisplayRole:
  81.             return QVariant()
  82.         try:
  83.             return QVariant(self.arraydata[index.row()][index.column()])
  84.         except:
  85.             return QVariant()
  86.  
  87. if __name__ == '__main__':
  88.     start_time = time()
  89.     app = QApplication(sys.argv)
  90.     w = MyWindow()
  91.     w.show()
  92.     w.setWindowTitle('<Article Title>')
  93.     end_time = time()
  94.     print('Завершено за %s с.' % (str(end_time - start_time)))
  95.     sys.exit(app.exec_())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement