Skip to content

Commit

Permalink
First release
Browse files Browse the repository at this point in the history
  • Loading branch information
Grégory Ployart committed Mar 26, 2022
1 parent a213f5e commit 0c9fd10
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 15 deletions.
5 changes: 5 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
# Pattern Builder by greg-ynx
Pattern Builder is a tool that graphically constructs matrix.

## How to use Pattern Builder ?

![Pattern Builder UI](readme/pbui.png)

### Sizes
Select the size of your matrix with the width and eight select components.
- Width : Number of columns (max = 16).
- Eight : Number of rows (max = 16).

### Colors
You can add up to 16 colors to your pattern. Then select your color with the select component.

### Reset pattern
Click on the "Reset pattern" button in order to get back to the initial pattern.

### Export
You can export your pattern into an array.
Pattern Builder currently supports :
Expand Down
Binary file removed __pycache__/Main.cpython-310.pyc
Binary file not shown.
Binary file removed config/__pycache__/definitions.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions src/app/ui/AboutForm/UiAboutForm.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
import sys
#
# Some modifications made to this generated class by greg-ynx.

from PyQt5 import QtCore, QtGui, QtWidgets

Expand Down Expand Up @@ -68,5 +69,4 @@ def set_text(self, txt_file_path):

def retranslateUi(self, about_form):
_translate = QtCore.QCoreApplication.translate
#about_form.setWindowTitle(_translate("About_Form", "About..."))
self.close_button.setText(_translate("About_Form", "Close"))
Binary file not shown.
8 changes: 4 additions & 4 deletions src/app/ui/MainWindow/UiMainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
#
# Some modifications made to this generated class by lyl-Lynx.
# Some modifications made to this generated class by greg-ynx.

import os
import sys
Expand Down Expand Up @@ -55,7 +55,7 @@ def __init__(self, main_window):

self.about_lyl_lynx_widget = QtWidgets.QWidget()
self.about_lyl_lynx_form = UiAboutForm(self.about_lyl_lynx_widget,
"About lyl-Lynx",
"About greg-ynx",
os.path.join(img_dir, "lyl8Lynx_logo.png"),
os.path.join(txt_dir, "about_lyl_lynx.txt"))

Expand Down Expand Up @@ -469,7 +469,7 @@ def export_as(self):

def retranslate_ui(self, main_window):
_translate = QtCore.QCoreApplication.translate
main_window.setWindowTitle(_translate("main_window", "Pattern Builder by lyl-Lynx"))
main_window.setWindowTitle(_translate("main_window", "Pattern Builder by greg-ynx"))
self.toolBox_title.setText(_translate("main_window", "Tool box"))
self.toolBox_sizes_title.setText(_translate("main_window", "Sizes"))
self.width_label.setText(_translate("main_window", "Width"))
Expand All @@ -483,7 +483,7 @@ def retranslate_ui(self, main_window):
self.menu_help.setTitle(_translate("main_window", "Help"))
self.action_help.setText(_translate("main_window", "Pattern builder help"))
self.action_about_pb.setText(_translate("main_window", "About Pattern builder"))
self.action_about_author.setText(_translate("main_window", "About lyl-Lynx"))
self.action_about_author.setText(_translate("main_window", "About greg-ynx"))
self.action_join_us.setText(_translate("main_window", "Join us on GitHub !"))


Expand Down
Binary file not shown.
10 changes: 1 addition & 9 deletions src/app/ui/TableView/UiTableViewForm.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
#
# Some modifications made to this generated class by lyl-Lynx.
# Some modifications made to this generated class by greg-ynx.

import sys
from PyQt5 import QtCore, QtGui, QtWidgets
from src.app.exceptions.CustomException import IdNotFound, ProtectedRowError, TableMaxItemError

Expand Down Expand Up @@ -239,10 +238,3 @@ def retranslateUi(self, table_view_form):
item.setText(_translate("table_view_form", "(0,0,255)"))
self.table_widget.setSortingEnabled(__sortingEnabled)
self.close_button.setText(_translate("table_view_form", "Close"))

if __name__ == "__main__":
app = QtWidgets.QApplication(sys.argv)
widget = QtWidgets.QWidget()
ui = UiTableViewForm(widget)
widget.show()
sys.exit(app.exec_())
Binary file not shown.
Binary file added src/assets/img/pattern_builder_logo_c_800px.ico
Binary file not shown.

0 comments on commit 0c9fd10

Please sign in to comment.