mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-18 23:54:05 +00:00
b5349478cf
The next commit will add `.git-blame-ignore-revs` https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
25 lines
603 B
C++
25 lines
603 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();
|
|
}
|