Class sh::ui::qt::QtLinkButton

class sh::ui::qt::QtLinkButton : public QToolButton

QToolButton with different look.

Subclassed by sh::ui::qt::QtSearchPanelButton

Public Functions

QtLinkButton(QWidget *parent = 0)
void setSizeByFactor(int f)
void setMenu(QStringList items, QString menuchangetxt = tr("(change)"))
void setSelectedMenuItem(int idx)

Signals

void menuItemSelected(int idx)

Private Members

QString _linkcolor
QStringList _menuitems
QString _menuchangetxt