예제 #1
0
Menu_SetSound::Menu_SetSound(QWidget *parent) :
    NaviBaseWnd(parent)
{
    ui.setupUi(this);
    connect(ui.btn_back,SIGNAL(clicked()),this,SLOT(backSlot()),Qt::QueuedConnection);
    connect(ui.btn_map,SIGNAL(clicked()),this,SLOT(mapSlot()),Qt::QueuedConnection);
    connect(ui.btn_timesadd,SIGNAL(clicked()),this,SLOT(addbroadcastFrequencySlot()),Qt::QueuedConnection);
    connect(ui.btn_timesdec,SIGNAL(clicked()),this,SLOT(decbroadcastFrequencySlot()),Qt::QueuedConnection);
    connect(ui.btn_addvolumn,SIGNAL(clicked()),this,SLOT(addbroadcastVolumeSlot()),Qt::QueuedConnection);
    connect(ui.btn_decvolumn,SIGNAL(clicked()),this,SLOT(downbroadcastVolumeSlot()),Qt::QueuedConnection);
}
예제 #2
0
Menu_Search::Menu_Search(QWidget *parent) :
    NaviBaseWnd(parent)
{
    ui.setupUi(this);
    ui.pic_title->setText(UI_SEARCH_MENU);
    connect(ui.btn_back,SIGNAL(clicked()),this,SLOT(backSlot()),Qt::QueuedConnection);
    connect(ui.btn_map,SIGNAL(clicked()),this,SLOT(mapSlot()),Qt::QueuedConnection);
    connect(ui.btn_keyword,SIGNAL(clicked()),this,SLOT(keywordSlot()),Qt::QueuedConnection);
    connect(ui.btn_around,SIGNAL(clicked()),this,SLOT(searcharoundSlot()),Qt::QueuedConnection);
    connect(ui.btn_cross,SIGNAL(clicked()),this,SLOT(searchcrossSlot()),Qt::QueuedConnection);
    connect(ui.btn_category,SIGNAL(clicked()),this,SLOT(searchcategorySlot()),Qt::QueuedConnection);

}
예제 #3
0
void HelpWidget::addWebNavigationButtons(QBoxLayout* buttonLayout)
{
	QAction* back = this->createAction(this,
									   QIcon(":/icons/open_icon_library/arrow-left-3.png"),
									   "Back", "Back to previous page",
									   SLOT(backSlot()),
									   buttonLayout, new CXSmallToolButton());

	QAction* forward = this->createAction(this,
										  QIcon(":/icons/open_icon_library/arrow-right-3.png"),
										  "Forward", "Forward to next page",
										  SLOT(forwardSlot()),
										  buttonLayout, new CXSmallToolButton());

	connect(mBrowser, SIGNAL(backwardAvailable(bool)), back, SLOT(setEnabled(bool)));
	connect(mBrowser, SIGNAL(forwardAvailable(bool)), forward, SLOT(setEnabled(bool)));
}