mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-19 03:54:07 +00:00
24 lines
612 B
C++
24 lines
612 B
C++
|
#include "ftssearchpanel.h"
|
||
|
#include <QHBoxLayout>
|
||
|
|
||
|
FtsSearchPanel::FtsSearchPanel( QWidget * parent ): QWidget( parent )
|
||
|
{
|
||
|
|
||
|
auto * layout = new QHBoxLayout( this );
|
||
|
previous = new QPushButton( this );
|
||
|
next = new QPushButton( this );
|
||
|
statusLabel = new QLabel( this );
|
||
|
|
||
|
layout->addWidget( previous );
|
||
|
layout->addWidget( next );
|
||
|
layout->addWidget( statusLabel );
|
||
|
|
||
|
previous->setIcon( QIcon( ":/icons/previous.svg" ) );
|
||
|
next->setIcon( QIcon( ":/icons/next.svg" ) );
|
||
|
|
||
|
previous->setText( tr( "&Previous" ) );
|
||
|
next->setText( tr( "&Next" ) );
|
||
|
|
||
|
layout->addStretch();
|
||
|
}
|