Ignore:
Timestamp:
May 9, 2010, 11:59:35 AM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
e62daa
Parents:
c93262
git-author:
Frederik Heber <heber@…> (05/09/10 11:15:17)
git-committer:
Frederik Heber <heber@…> (05/09/10 11:59:35)
Message:

new query class EmptyQuery for showing text messages.

Signed-off-by: Frederik Heber <heber@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/UIElements/Dialog.hpp

    rc93262 rb918031  
    2323  virtual ~Dialog();
    2424
     25  virtual void queryEmpty(const char *, std::string = "")=0;
    2526  virtual void queryInt(const char *, int *, std::string = "")=0;
    2627  virtual void queryDouble(const char*,double *, std::string = "")=0;
     
    5657    std::string title;  //!< short title of the query
    5758    std::string description; //!< longer description for tooltips or for help
     59  };
     60
     61  // Empty Query is just meant for showing text, such as version, help, initial message or alike
     62  class EmptyQuery : public Query {
     63  public:
     64    EmptyQuery(std::string title, std::string _description = "");
     65    virtual ~EmptyQuery();
     66    virtual bool handle()=0;
     67    virtual void setResult();
    5868  };
    5969
Note: See TracChangeset for help on using the changeset viewer.