/* ==================================================================== * Copyright (c) 2003-2006, Martin Hauner * http://subcommander.tigris.org * * Subcommander is licensed as described in the file doc/COPYING, which * you should have received as part of this distribution. * ==================================================================== */ // sc #include "ExternButton.h" const QString ButtonText("..."); ExternButton::ExternButton( QWidget *parent, const char *name ) : super( ButtonText, parent, name ) { QFontMetrics m(font()); int bw = m.width(ButtonText); setFixedWidth(bw*3); setAutoDefault(false); }