Commit 8d974a3e authored by Aurelien Dufour's avatar Aurelien Dufour
Browse files

documentation de méthodes + modification de la méthode pour copier un arbre...

documentation de méthodes + modification de la méthode pour copier un arbre (passage de méthode statique à méthode de classe)
parent 482578e5
Loading
Loading
Loading
Loading
+2 −2
Changes for gui.py: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ class Application():
        self.centralLayout.removeWidget(self.button)
        self.button.deleteLater()
        self.button = None
        self.level = BinaryTreeToDyckWord(1)
        self.level = DyckWordToBinaryTree(1)
        self.play()

    def nextLevel(self):
@@ -105,7 +105,7 @@ class Application():


    def play(self):
            self.levelGui = BinaryTreeToDyckWordGui(self.level)
            self.levelGui = DyckWordToBinaryTreeGui(self.level)
            print("réponse: " + self.level.dyckWord)
            self.levelGui.okButton.clicked.connect(self.nextLevel)
            self.levelGui.cancelButton.clicked.connect(self.sameLevel)
+7
Changes for maquettes/menu_affichageJeux/menu_affichageJeux/Resources/SampleStyle.css: 7 added lines, 0 removed lines.
Original line number Diff line number Diff line
/*
    place extra stylesheet here
*/

.ImageContainer img {
    border: solid 2px #999;
}
+1
Changes for maquettes/menu_affichageJeux/menu_affichageJeux/index.html: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>maquette.ep</title><link rel="stylesheet" href="Resources/SampleStyle.css" /></head><body><h1 id="documentTitle">maquette.ep</h1><p id="documentMetadata">Exported at: Mon May 02 2022 11:32:04 GMT+0200</p><div class="Page" id="menu1_page"><h2>menu1</h2><div class="ImageContainer"><img width="960" height="600" src="pages%5Cmenu1.png" usemap="#map_menu1" /></div><map name="map_menu1"><area shape="rect" coords="86.5,100.5,136.5,126.5" href="#2_page" title="Go to page '2'" /></map></div><div class="Page" id="2_page"><h2>2</h2><div class="ImageContainer"><img width="960" height="600" src="pages%5C2.png" usemap="#map_2" /></div><map name="map_2"><area shape="rect" coords="91.5,127.5,141.5,153.5" href="#3_page" title="Go to page '3'" /></map></div><div class="Page" id="3_page"><h2>3</h2><div class="ImageContainer"><img width="960" height="600" src="pages%5C3.png" usemap="#map_3" /></div><map name="map_3"><area shape="rect" coords="100,135,489,325.75" href="#4_page" title="Go to page '4'" /></map></div><div class="Page" id="4_page"><h2>4</h2><div class="ImageContainer"><img width="960" height="600" src="pages%5C4.png" usemap="#map_4" /></div><map name="map_4"><area shape="rect" coords="355.5,386.75,446.5,414.25" href="#6_page" title="Go to page '6'" /><area shape="rect" coords="527.5,386.75,618.5,414.25" href="#5_page" title="Go to page '5'" /></map></div><div class="Page" id="5_page"><h2>5</h2><div class="ImageContainer"><img width="960" height="600" src="pages%5C5.png" usemap="#map_5" /></div><map name="map_5"><area shape="rect" coords="89.5,100.5,139.5,126.5" href="#7_page" title="Go to page '7'" /></map></div><div class="Page" id="6_page"><h2>6</h2><div class="ImageContainer"><img width="960" height="600" src="pages%5C6.png" usemap="#map_6" /></div><map name="map_6"><area shape="rect" coords="129,336.25,858,500.75" href="#4_page" title="Go to page '4'" /><area shape="rect" coords="744.8333129882812,135,879.9999847412109,298" href="#4_page" title="Go to page '4'" /><area shape="rect" coords="585.25,135,724,298.75" href="#4_page" title="Go to page '4'" /><area shape="rect" coords="436.25,134,566,297.75" href="#4_page" title="Go to page '4'" /><area shape="rect" coords="267,135,411.75,298" href="#4_page" title="Go to page '4'" /><area shape="rect" coords="106.25,135,242,298.75" href="#5_page" title="Go to page '5'" /></map></div><div class="Page" id="7_page"><h2>7</h2><div class="ImageContainer"><img width="960" height="600" src="pages%5C7.png" usemap="#map_7" /></div><map name="map_7"><area shape="rect" coords="91.5,150.5,141.5,176.5" href="#6_page" title="Go to page '6'" /></map></div><div class="Page" id="7bis_page"><h2>7Bis</h2><div class="ImageContainer"><img width="960" height="600" src="pages%5C7bis.png" usemap="#map_7bis" /></div><map name="map_7bis"><area shape="rect" coords="104.5,145.5,195.5,172.25" href="#6_page" title="Go to page '6'" /></map></div></body></html>
 No newline at end of file
+17.9 KiB
Loading image diff...
+36.5 KiB
Loading image diff...
Loading