This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| import 'package:path_provider/path_provider.dart'; | |
| import 'package:scoped_model/scoped_model.dart'; | |
| void main() { | |
| runApp(MyApp()); | |
| } | |
| class FileModel extends Model { | |
| String _fileContent = ''; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # i need to convert this to Flet for running it on android: | |
| import os | |
| import json | |
| import re | |
| import sys | |
| from PyQt6 import QtCore | |
| from PySide6.QtCore import Qt, Slot, Signal, QThread | |
| from PySide6.QtWidgets import QApplication, QMainWindow, QPushButton, QFileDialog, QPlainTextEdit, QVBoxLayout, QHBoxLayout, QLabel, QLineEdit, QMessageBox, QWidget, QSpacerItem, QSizePolicy, QStyleFactory, QTextEdit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [app] | |
| # (str) Title of your application | |
| title = Phrase searcher | |
| # (str) Package name | |
| package.name = phrasesearcher | |
| # (str) Package domain (needed for android/ios packaging) | |
| package.domain = org.kivymd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import json | |
| import re | |
| import sys | |
| from PyQt6 import QtCore |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible). | |
| // Tweak the makePrettyJSON_ function to customize what kind of JSON to export. | |
| var FORMAT_ONELINE = 'One-line'; | |
| var FORMAT_MULTILINE = 'Multi-line'; | |
| var FORMAT_PRETTY = 'Pretty'; | |
| var LANGUAGE_JS = 'JavaScript'; | |
| var LANGUAGE_PYTHON = 'Python'; |