Class sh::ui::qt::QtSearchPanelButton

class sh::ui::qt::QtSearchPanelButton : public sh::ui::qt::QtLinkButton, public sh::ui::SearchPanelButton

Qt based SearchPanelButton.

Public Functions

QtSearchPanelButton(QWidget *parent = 0)
void setButtonText(QString txt)

Sets the button text. .

void setMenuSelection(int i)

Sets the currently selected menu item (for buttons with menus). .

void setSizeByFactor(int f)
void setMenu(QStringList items, QString menuchangetxt = tr("(change)"))
void setSelectedMenuItem(int idx)

Signals

void menuItemSelected(int idx)