enable and desable child's
Definition at line 171 of file aitoolbar.cpp. 00172 { 00173 //~ File 00174 { 00175 QToolButton * fileSave = this->findChild< QToolButton * >( "fileSave" ) ; 00176 QToolButton * fileClear = this->findChild< QToolButton * >( "fileClear" ) ; 00177 fileSave->setEnabled( e ); 00178 fileClear->setEnabled( e ); 00179 } 00180 00181 //~ Zoom 00182 { 00183 QToolButton * zoomIn = this->findChild< QToolButton * >( "zoomIn" ) ; 00184 QToolButton * zoomOut = this->findChild< QToolButton * >( "zoomOut" ) ; 00185 zoomIn->setEnabled( e ); 00186 zoomOut->setEnabled( e ); 00187 } 00188 00189 //~ Mirror 00190 { 00191 QToolButton * mirrorH = this->findChild< QToolButton * >( "mirrorH" ) ; 00192 QToolButton * mirrorV = this->findChild< QToolButton * >( "mirrorV" ) ; 00193 mirrorH->setEnabled( e ); 00194 mirrorV->setEnabled( e ); 00195 } 00196 } |