Back to index

texmacs  1.0.7.15
qt_basic_widgets.hpp
Go to the documentation of this file.
00001 
00002 /******************************************************************************
00003 * MODULE     : qt_basic_widgets.h
00004 * DESCRIPTION: Basic widgets
00005 * COPYRIGHT  : (C) 2008  Massimiliano Gubinelli
00006 *******************************************************************************
00007 * This software falls under the GNU general public license version 3 or later.
00008 * It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
00009 * in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
00010 ******************************************************************************/
00011 
00012 #ifndef QT_BASIC_WIDGETS_HPP
00013 #define QT_BASIC_WIDGETS_HPP
00014 #include "qt_widget.hpp"
00015 
00016 class QTMInputTextWidgetHelper;
00017 
00018 class qt_input_text_widget_rep: public qt_widget_rep {
00019 public:
00020   command cmd;
00021   string type;
00022   array<string> def;
00023   string text;
00024   int style;
00025   string width;
00026   
00027   QTMInputTextWidgetHelper *helper;
00028   bool ok;
00029   
00030   
00031   qt_input_text_widget_rep (command _cmd, string _type, array<string> _def, int _style, string _width);
00032   ~qt_input_text_widget_rep();
00033 
00034   QAction* as_qaction ();
00035   QLayoutItem *as_qlayoutitem ();
00036   QWidget *as_qwidget ();
00037 };
00038 
00039 #endif // QT_BASIC_WIDGETS_HPP