<commit_before>
import filelib.parser.lib
import os.path
import sys
import jobfactory.factory
import dispatcher.qube

from PyQt4 import QtGui, QtCore

import yaml
import job.jobinfo
import config.auto.autoconf
import config.config
import gui.submit.common
import gui.submit.maya

class MainWindow(QtGui.QMainWindow):
    def __init__(self,jobList, parent=None):
        QtGui.QMainWindow.__init__(self,parent)
        self._joblist = jobList
        print self._joblist.get_joblist()

        self.setAcceptDrops(True)
        panel = QtGui.QWidget()
        panel.setObjectName("commonPanel")

        #main_window.setAcceptDrops(True)

        common_panel = gui.submit.common.CommonPanel(jobList, panel)
        maya_panel = gui.submit.maya.MayaPanel(jobList, panel)
        qtab = QtGui.QTabWidget()
        qtab.addTab(common_panel, "common")
        qtab.addTab(maya_panel, "Maya")


        pannel_layout = QtGui.QVBoxLayout()
        pannel_layout.addWidget(qtab)

        button_submit =QtGui.QPushButton("sumbmit")
        button_submit.clicked.connect(self.on_button_submit)
        pannel_layout.addWidget(button_submit)

        panel.setLayout(pannel_layout)

        qsplitH = QtGui.QSplitter(QtCore.Qt.Horizontal)
        qtabL = QtGui.QTabWidget()
        qtabL.addTab(QtGui.QListWidget(self),"tab")
        qsplitH.addWidget(qtabL)
        qsplitH.addWidget(panel)



        self.setWindowTitle("JobManager")
        self.setCentralWidget(qsplitH)

    def dragEnterEvent(self, event):
        if event.mimeData().hasUrls():
            event.accept()<commit_msg>txt browser test<commit_after>
import filelib.parser.lib
import os.path
import sys
import jobfactory.factory
import dispatcher.qube

from PyQt4 import QtGui, QtCore

import yaml
import job.jobinfo
import config.auto.autoconf
import config.config
import gui.submit.common
import gui.submit.maya

class MainWindow(QtGui.QMainWindow):
    def __init__(self,jobList, parent=None):
        QtGui.QMainWindow.__init__(self,parent)
        self._joblist = jobList
        print self._joblist.get_joblist()

        self.setAcceptDrops(True)
        panel = QtGui.QWidget()
        panel.setObjectName("commonPanel")

        #main_window.setAcceptDrops(True)

        common_panel = gui.submit.common.CommonPanel(jobList, panel)
        maya_panel = gui.submit.maya.MayaPanel(jobList, panel)
        qtab = QtGui.QTabWidget()
        qtab.addTab(common_panel, "common")
        qtab.addTab(maya_panel, "Maya")


        panel_layout = QtGui.QVBoxLayout()
        panel_layout.addWidget(qtab)

        button_submit =QtGui.QPushButton("sumbmit")
        button_submit.clicked.connect(self.on_button_submit)
        panel_layout.addWidget(button_submit)

        panel.setLayout(panel_layout)

        panelL = QtGui.QWidget()
        panelL.setObjectName("listPanel")

        #main_window.setAcceptDrops(True)



        panelL_layout = QtGui.QVBoxLayout()
        qtabL = QtGui.QTabWidget()
        qtabL.addTab(QtGui.QListWidget(self),"Job")
        panelL_layout.addWidget(qtabL)
        txtBrowser = QtGui.QTextBrowser()
        txtBrowser.append("test")
        panelL_layout.addWidget(txtBrowser)

        panelL.setLayout(panelL_layout)

        qsplitH = QtGui.QSplitter(QtCore.Qt.Horizontal)



        qsplitH.addWidget(panelL)
        qsplitH.addWidget(panel)



        self.setWindowTitle("JobManager")
        self.setCentralWidget(qsplitH)

    def dragEnterEvent(self, event):
        if event.mimeData().hasUrls():
            event.accept()
{'fraction_non_alphanumeric': 0.09765072176620436, 'fraction_numerical': 0.0005660911406736484, 'mean_word_length': 3.0620689655172413, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1399903', 'n_tokens_mistral': 1175, 'n_tokens_neox': 1130, 'n_words': 169}