38 lines
817 B
C++
38 lines
817 B
C++
|
/***************************************************************************
|
||
|
|
||
|
source::worx raDIYo
|
||
|
Copyright © 2020-2022 c.holzheuer
|
||
|
chris@sourceworx.org
|
||
|
|
||
|
This program is free software; you can redistribute it and/or modify
|
||
|
it under the terms of the GNU General Public License as published by
|
||
|
the Free Software Foundation; either version 2 of the License, or
|
||
|
(at your option) any later version.
|
||
|
|
||
|
***************************************************************************/
|
||
|
|
||
|
|
||
|
#include <swdummypushdial.h>
|
||
|
|
||
|
|
||
|
SWDummyPushDial::SWDummyPushDial( QWidget *parent )
|
||
|
: QWidget( parent )
|
||
|
{
|
||
|
setupUi( this );
|
||
|
dial().setFocus();
|
||
|
dial().setWrapping( true );
|
||
|
}
|
||
|
|
||
|
|
||
|
QPushButton& SWDummyPushDial::pushButton()
|
||
|
{
|
||
|
return *_button;
|
||
|
}
|
||
|
|
||
|
|
||
|
QDial& SWDummyPushDial::dial()
|
||
|
{
|
||
|
return *_dial;
|
||
|
}
|
||
|
|