Skip to content

Commit

Permalink
added license
Browse files Browse the repository at this point in the history
  • Loading branch information
vikke1234 committed Apr 27, 2021
1 parent 769660e commit 809dae3
Show file tree
Hide file tree
Showing 13 changed files with 195 additions and 1 deletion.
Empty file added COPYING
Empty file.
16 changes: 16 additions & 0 deletions src/binary_io.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# This file is part of ot-project.
#
# ot-project is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ot-project is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Foobar. If not, see <https://www.gnu.org/licenses/>.
#

import struct
from abc import ABC, abstractmethod

Expand Down
16 changes: 16 additions & 0 deletions src/gui/dialogs/process_view.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# This file is part of ot-project.
#
# ot-project is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ot-project is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Foobar. If not, see <https://www.gnu.org/licenses/>.
#

from PyQt5.Qt import QDialog

from gui.models.process_view_model import ProcessViewModel
Expand Down
18 changes: 18 additions & 0 deletions src/gui/main_window.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# This file is part of ot-project.
#
# ot-project is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ot-project is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Foobar. If not, see <https://www.gnu.org/licenses/>.
#

from PyQt5 import QtGui
from PyQt5.Qt import QMainWindow, QHeaderView
from PyQt5.QtCore import pyqtSlot
Expand All @@ -7,6 +23,7 @@
from gui.dialogs.process_view import ProcessView
from gui.models.found_address_model import FoundAddressModel
from gui.ui.widgets.mainwindow import Ui_MainWindow
from gui.models.saved_address_model import SavedAddressModel


class MainWindow(QMainWindow, Ui_MainWindow):
Expand All @@ -18,6 +35,7 @@ def __init__(self):
self.scan_widget.setEnabled(False)

self.found_table.setModel(FoundAddressModel(self))
self.saved_results.setModel(SavedAddressModel(self))

self.found_table.horizontalHeader().setSectionResizeMode(0, QHeaderView.Stretch)
self.new_scan.clicked.connect(self.new_scan_clicked)
Expand Down
18 changes: 17 additions & 1 deletion src/gui/models/found_address_model.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# This file is part of ot-project.
#
# ot-project is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ot-project is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Foobar. If not, see <https://www.gnu.org/licenses/>.
#

import typing
from enum import IntEnum
from typing import List
Expand Down Expand Up @@ -38,7 +54,7 @@ def __init__(self, parent=None):

"""
NOTE: THIS LAMBDA IS INTENTIONAL, IT WILL NOT WORK IF YOU REMOVE THE LAMBDA AND WILL NOT
WORK. https://machinekoder.com/how-to-not-shoot-yourself-in-the-foot-using-python-qt/
WORK. https://machinekoder.com/how-to-not-shoot-yourself-in-the-foot-using-python-qt/how-to-not-shoot-yourself-in-the-foot-using-python-qt
"""
self.destroyed.connect(lambda: self.__unregister())

Expand Down
16 changes: 16 additions & 0 deletions src/gui/models/process_view_model.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# This file is part of ot-project.
#
# ot-project is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ot-project is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Foobar. If not, see <https://www.gnu.org/licenses/>.
#

import typing
from enum import IntEnum

Expand Down
16 changes: 16 additions & 0 deletions src/gui/threads/update_scanresult.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# This file is part of ot-project.
#
# ot-project is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ot-project is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Foobar. If not, see <https://www.gnu.org/licenses/>.
#

from typing import List
from time import sleep

Expand Down
16 changes: 16 additions & 0 deletions src/index.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# This file is part of ot-project.
#
# ot-project is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ot-project is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Foobar. If not, see <https://www.gnu.org/licenses/>.
#

import sys

from PyQt5.Qt import QApplication
Expand Down
16 changes: 16 additions & 0 deletions src/memory.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# This file is part of ot-project.
#
# ot-project is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ot-project is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Foobar. If not, see <https://www.gnu.org/licenses/>.
#

import struct
import typing
from abc import ABC
Expand Down
16 changes: 16 additions & 0 deletions src/tests/memory_test.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# This file is part of ot-project.
#
# ot-project is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ot-project is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Foobar. If not, see <https://www.gnu.org/licenses/>.
#

import unittest
from unittest import mock
from unittest.mock import Mock
Expand Down
16 changes: 16 additions & 0 deletions src/tests/type_test.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# This file is part of ot-project.
#
# ot-project is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ot-project is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Foobar. If not, see <https://www.gnu.org/licenses/>.
#

import unittest

from type import Type
Expand Down
16 changes: 16 additions & 0 deletions src/type.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# This file is part of ot-project.
#
# ot-project is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ot-project is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Foobar. If not, see <https://www.gnu.org/licenses/>.
#

import enum


Expand Down
16 changes: 16 additions & 0 deletions src/value.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# This file is part of ot-project.
#
# ot-project is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ot-project is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Foobar. If not, see <https://www.gnu.org/licenses/>.
#

import typing

from type import Type
Expand Down

0 comments on commit 809dae3

Please sign in to comment.