• Antelope Release 5.9 Mac OS X 10.13.2 2019-05-01

 

NAME

BQTaskbar - BRTT Qt graphics extension for a simple taskbar with buttons

SYNOPSIS


$(QTNATIVELIBS) -lbqplot_native -lbanner -lbrttutil -lbumapdata $(DBLIBS) $(TRLIBS)

#include "BQ.h"

DESCRIPTION

BQTaskbar objects are used to display simple taskbars consisting of a set of buttons.

This class inherits the BQConfigure class which is itself a subclass of the BUConfigure class with extensions to process Qt colors and fonts. The configure methods are implemented in the BUConfigure parent (see BUConfigure(3)).

INHERITS FROM

BQViewportItem, BQConfigure

CONSTRUCTOR

BQTaskbar(BQViewport *master);

Where "master" is the BQViewport master for this object.

METHODS INHERITED FROM BQConfigure

METHODS INHERITED FROM BQViewportItem

OBJECT CONFIGURATION PARAMETERS

  • taskbar_buttons taskbarButtonsString
    This item configuration option is used to define a specific set of taskbar buttons to be displayed and used. The taskbarButtonsString is an Antelope parameter file string that contains these parameters. Following is a typical taskbarButtonsString for this option.
    
    buttons &Tbl{
        basemap       neb    1.0v-10    1.0v-10    1
        zoomin        neb    -1r        0r
        zoomout       neb    -1r        0r
    }
    
    
  • The parameter file must contain a table named buttons. The first field in each entry in the buttons table must correspond to a name from the buttons_definitions array. Taskbar buttons are created and displayed in the order in this table. The second field is a justification string used to display the button label. The third and fourth fields are the x and y positions of the string button relative to the justification point. See BQText(3) for a description of justification and the x and y parameters. The fifth field is optional and specifies the starting state value, as an index starting at 0, for buttons with multiple states.
  • taskbar_exec taskbarExecString
    This provides a means for the application program to change the current state of a taskbar button. The taskbarExecString value should be in the form "<button_name>=<state_name>", where <button_name> is the name of the button to be set and <state_name> is the state name to set it to.

SEE ALSO

bqplot(3), BQViewport(3), BQLayer(3), BQConfigure(3), BQText(3), BQTextPopup(3)

AUTHOR

Danny Harvey, BRTT