QTfrontend/ui/page/AbstractPage.h
changeset 7781 6505805e7f98
parent 6952 7f70f37bbf08
child 8377 869f80966a77
equal deleted inserted replaced
7780:a066a52411bc 7781:6505805e7f98
   136          * @param hasIcon set to true if this is a picture button.
   136          * @param hasIcon set to true if this is a picture button.
   137          *
   137          *
   138          * @return the button.
   138          * @return the button.
   139          */
   139          */
   140         QPushButtonWithSound * formattedButton(const QString & name, bool hasIcon = false);
   140         QPushButtonWithSound * formattedButton(const QString & name, bool hasIcon = false);
       
   141         QPushButton * formattedSoundlessButton(const QString & name, bool hasIcon = false);
   141 
   142 
   142         /**
   143         /**
   143          * @brief Creates a default formatted button and adds it to a
   144          * @brief Creates a default formatted button and adds it to a
   144          * grid layout at the location specified.
   145          * grid layout at the location specified.
   145          *
   146          *
   165          * @param hasIcon set to true if this is a picture button.
   166          * @param hasIcon set to true if this is a picture button.
   166          *
   167          *
   167          * @return the button.
   168          * @return the button.
   168          */
   169          */
   169         QPushButtonWithSound * addButton(const QString & name, QBoxLayout * box, int where, bool hasIcon = false);
   170         QPushButtonWithSound * addButton(const QString & name, QBoxLayout * box, int where, bool hasIcon = false);
       
   171         QPushButton* addSoundlessButton(const QString & name, QBoxLayout * box, int where, bool hasIcon = false);
   170 
   172 
   171         /**
   173         /**
   172          * @brief Changes visibility of the back-button.
   174          * @brief Changes visibility of the back-button.
   173          *
   175          *
   174          * @param visible set to true if the button should be visible.
   176          * @param visible set to true if the button should be visible.