X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fprop%2Fstring.hpp;h=8282cb7f5928616fb2b64da1b5420c6439948458;hp=9cd927868707ec61d1863f48de70e6193207d584;hb=b571a8e7e0dc3e3b6daa58f27050e76466f006dd;hpb=7a01bd3654ed046216308fa64edfd79be7cd525f diff --git a/pv/prop/string.hpp b/pv/prop/string.hpp index 9cd92786..8282cb7f 100644 --- a/pv/prop/string.hpp +++ b/pv/prop/string.hpp @@ -14,8 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ #ifndef PULSEVIEW_PV_PROP_STRING_HPP @@ -33,9 +32,10 @@ class String : public Property Q_OBJECT; public: - String(QString name, Getter getter, Setter setter); + String(QString name, QString desc, Getter getter, Setter setter); QWidget* get_widget(QWidget *parent, bool auto_commit); + void update_widget(); void commit(); @@ -46,7 +46,7 @@ private: QLineEdit *line_edit_; }; -} // prop -} // pv +} // namespace prop +} // namespace pv #endif // PULSEVIEW_PV_PROP_STRING_HPP