1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
#include <qlayout.h>
#include <qlabel.h>
#include "profiledialogwidget.h"
ProfileDialogWidget::ProfileDialogWidget( const QString&, QWidget* parent,
const char* name )
: QWidget( parent, name ) {
}
ProfileDialogWidget::~ProfileDialogWidget() {
}
ProfileDialogTerminalWidget::ProfileDialogTerminalWidget( const QString& na,
QWidget* parent,
const char* name )
: ProfileDialogWidget( na, parent, name )
{
}
ProfileDialogTerminalWidget::~ProfileDialogTerminalWidget() {
}
ProfileDialogWidget::Type ProfileDialogTerminalWidget::type()const {
return Terminal;
}
ProfileDialogConnectionWidget::ProfileDialogConnectionWidget( const QString& na,
QWidget* parent,
const char* name )
: ProfileDialogWidget(na, parent, name )
{
}
ProfileDialogConnectionWidget::~ProfileDialogConnectionWidget() {
}
ProfileDialogWidget::Type ProfileDialogConnectionWidget::type()const {
return Connection;
}
ProfileDialogKeyWidget::ProfileDialogKeyWidget( const QString &na,
QWidget *parent,
const char *name)
: ProfileDialogWidget(na, parent, name )
{
}
ProfileDialogKeyWidget::~ProfileDialogKeyWidget() {
}
ProfileDialogWidget::Type ProfileDialogKeyWidget::type() const{
return Keyboard;
}
NoOptions::NoOptions( const QString& name, QWidget* parent, const char* na )
: ProfileDialogWidget( name, parent, na ) {
QHBoxLayout* lay = new QHBoxLayout(this);
QLabel* lbl = new QLabel( this );
lbl->setText( tr("This Plugin does not support any configurations") );
lbl->setTextFormat( RichText );
lay->addWidget( lbl );
}
void NoOptions::load( const Profile& ) {
}
void NoOptions::save( Profile& ) {
}
|