You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
829 B
19 lines
829 B
|
1 year ago
|
from PyQt6.QtWidgets import QMainWindow
|
||
|
|
from database_operations import DatabaseOperations
|
||
|
|
from ui_components import UIComponents
|
||
|
|
from pokemon_list_operations import PokemonListOperations
|
||
|
|
from pokemon_details_operations import PokemonDetailsOperations
|
||
|
|
from evolution_operations import EvolutionOperations
|
||
|
|
from encounter_operations import EncounterOperations
|
||
|
|
from patch_operations import PatchOperations
|
||
|
|
|
||
|
|
class DBEditor(QMainWindow, DatabaseOperations, UIComponents, PokemonListOperations,
|
||
|
|
PokemonDetailsOperations, EvolutionOperations, EncounterOperations, PatchOperations):
|
||
|
|
def __init__(self):
|
||
|
|
super().__init__()
|
||
|
|
self.setWindowTitle("Pokémon Database Editor")
|
||
|
|
self.setGeometry(100, 100, 1000, 600)
|
||
|
|
|
||
|
|
self.init_database()
|
||
|
|
self.init_ui()
|
||
|
|
self.load_pokemon_list()
|