/* * PDFedit - free program for PDF document manipulation. * Copyright (C) 2006, 2007 PDFedit team: Michal Hocko, * Miroslav Jahoda, * Jozef Misutka, * Martin Petricek * * Project is hosted on http://sourceforge.net/projects/pdfedit */ /** @file Option - class for widget containing one editable setting
Abstract class, must be subclassed for editing specific option types (integer, string ...)
@author Martin Petricek */ #include #include "option.h" namespace gui { /** Default constructor of option item @param parent parent Option Editor containing this control @param _key Key in settings for this option */ Option::Option(const QString &_key/*=0*/,QWidget *parent/*=0*/) : QWidget (parent, "option"){ key=_key; changed=false; } /** return name of this option (key in settings that is edited by this option) @return name of option */ QString Option::getName() { return key; } /** default destructor */ Option::~Option() { } } // namespace gui