3 this file is part of the project scolasync
5 Copyright (C) 2010 Georges Khaznadar <georgesk@ofset.org>
7 This program is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version3 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>.
24 import Ui_checkBoxDialog
37 QDialog.__init__(self,parent)
39 self.
ui=Ui_checkBoxDialog.Ui_checkBoxDialog()
41 self.ui.allButton.clicked.connect(self.
all)
42 self.ui.ToggleButton.clicked.connect(self.
toggle)
43 self.ui.NoneButton.clicked.connect(self.
none)
44 self.ui.escButton.clicked.connect(self.
esc)
51 self.mainWindow.checkAllSignal.emit()
59 self.mainWindow.checkToggleSignal.emit()
67 self.mainWindow.checkNoneSignal.emit()
def toggle(self)
Fait inverser tous les boutons.
def all(self)
Fait cocher tous les baladeurs.
def none(self)
Fait décocher tous les boutons.
Un dialogue pour gérer les cases à cocher de l'application.
def esc(self)
termine le dialogue sans rien faire
def __init__
Le constructeur.