/** * * VBox frontends: Qt GUI ("VirtualBox"): * "Take snapshot" dialog (Qt Designer) */ /* * Copyright (C) 2006-2007 innotek GmbH * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or modify it under the terms of the GNU * General Public License (GPL) as published by the Free Software * Foundation, in version 2 as it comes in the "COPYING" file of the * VirtualBox OSE distribution. VirtualBox OSE is distributed in the * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. */ /**************************************************************************** ** ui.h extension file, included from the uic-generated form implementation. ** ** If you want to add, delete, or rename functions or slots, use ** Qt Designer to update this file, preserving your code. ** ** You should not define a constructor or destructor in this file. ** Instead, write your code in functions called init() and destroy(). ** These will automatically be called by the form's constructor and ** destructor. *****************************************************************************/ void VBoxTakeSnapshotDlg::init() { QIAltKeyFilter *af = new QIAltKeyFilter (this); af->watchOn (leName); } void VBoxTakeSnapshotDlg::leName_textChanged (const QString &aText) { buttonOk->setEnabled (!aText.stripWhiteSpace().isEmpty()); }