mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-19 12:14:06 +00:00
24 lines
613 B
C++
24 lines
613 B
C++
#include "ftssearchpanel.hh"
|
|
#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();
|
|
}
|