# Path: l5r/util/log.py
# def log_setup(base_path, base_name):


import l5r.models as models
import l5r.api as api
import l5r.api.data
import l5r.api.data.powers
import l5r.widgets as widgets
from l5r.util import log
from PyQt5 import QtCore, QtGui, QtWidgets
    tx_mastery = None
    tx_cost = None
    req_list = None
    tx_detail = None
    tx_ring_need = None

    def __init__(self, pc, parent=None):
        super(KataDialog, self).__init__(parent)
        self.pc = pc
        self.item = None

        self.build_ui()
        self.connect_signals()
        self.setup()

    def build_ui(self):
        self.vbox_lo = QtWidgets.QVBoxLayout(self)
        self.bt_ok = QtWidgets.QPushButton(self.tr('Buy'), self)
        self.header = QtWidgets.QLabel(self)
        self.lb_book = QtWidgets.QLabel(self)
        center_fr = QtWidgets.QFrame(self)
        center_fr.setFrameStyle(QtWidgets.QFrame.Sunken)
        cfr_fbox = QtWidgets.QFormLayout(center_fr)

        # bottom bar
        bottom_bar = QtWidgets.QFrame(self)
        hbox = QtWidgets.QHBoxLayout(bottom_bar)
        hbox.addStretch()
        hbox.addWidget(self.bt_ok)


# Path: l5r/util/log.py
# def log_setup(base_path, base_name):


# Path: l5r/dialogs/katadlg.py
import l5r.models as models
import l5r.api as api
import l5r.api.data
import l5r.api.data.powers
import l5r.widgets as widgets
from l5r.util import log
from PyQt5 import QtCore, QtGui, QtWidgets

    tx_mastery = None
    tx_cost = None
    req_list = None
    tx_detail = None
    tx_ring_need = None

    def __init__(self, pc, parent=None):
        super(KataDialog, self).__init__(parent)
        self.pc = pc
        self.item = None

        self.build_ui()
        self.connect_signals()
        self.setup()

    def build_ui(self):
        self.vbox_lo = QtWidgets.QVBoxLayout(self)
        self.bt_ok = QtWidgets.QPushButton(self.tr('Buy'), self)
        self.header = QtWidgets.QLabel(self)
        self.lb_book = QtWidgets.QLabel(self)
        center_fr = QtWidgets.QFrame(self)
        center_fr.setFrameStyle(QtWidgets.QFrame.Sunken)
        cfr_fbox = QtWidgets.QFormLayout(center_fr)

        # bottom bar
        bottom_bar = QtWidgets.QFrame(self)
        hbox = QtWidgets.QHBoxLayout(bottom_bar)
        hbox.addStretch()
        hbox.addWidget(self.bt_ok)


        self.cb_kata = QtWidgets.QComboBox(self)