Remove autogenerated UI implementation files

pull/1/head
Timothy Pearson 11 years ago
parent 5d31607653
commit a1ef7bbf77

@ -1,458 +0,0 @@
#include <tdelocale.h>
/****************************************************************************
** Form implementation generated from reading ui file './aboutcfgdesign.ui'
**
** Created: mer aoû 18 23:39:01 2004
** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.3 edited Nov 24 2003 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#include "aboutcfgdesign.h"
#include <ntqvariant.h>
#include <kcolorbutton.h>
#include <ntqframe.h>
#include <ntqlabel.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>
#include <ntqimage.h>
#include <ntqpixmap.h>
static const char* const img0_aboutcfgdesign[] = {
"32 32 76 2",
"TQt c None",
".# c #000000",
".R c #292429",
".P c #292829",
".S c #292c29",
".T c #312c31",
".U c #313031",
".X c #313431",
".Y c #393439",
".2 c #393839",
".6 c #393c39",
".5 c #413c41",
"#a c #5a5d5a",
"#d c #625d62",
".7 c #626162",
".3 c #626562",
".8 c #6a656a",
".4 c #6a696a",
".9 c #736d73",
".Z c #737173",
".V c #737573",
".0 c #7b757b",
".W c #7b797b",
".L c #7b7d7b",
".M c #837d83",
".G c #838183",
".A c #838583",
".Q c #83858b",
".H c #8b858b",
".B c #8b898b",
".N c #8b8994",
".O c #8b8d8b",
".t c #8b8d94",
".I c #948d94",
".u c #949194",
".C c #94919c",
".x c #94959c",
".o c #9c959c",
".v c #9c999c",
".p c #9c99a4",
".q c #9c9da4",
".F c #a49da4",
".K c #a49dac",
".y c #a4a1a4",
".w c #a4a1ac",
".b c #bdf600",
".l c #c5d600",
".k c #c5d608",
".h c #c5da00",
".g c #c5de08",
".f c #c5ea00",
".c c #c5ee00",
".e c #c5f200",
".d c #c5f208",
".a c #c5f600",
".s c #cdba08",
".r c #cdbe08",
".m c #cdc608",
".n c #cdc610",
".j c #cdd608",
".i c #cdde08",
".z c #d5ae10",
".D c #d5d2d5",
".E c #d5d6d5",
".J c #ded6de",
"#i c #e64418",
"#j c #e64820",
"#g c #e64c18",
"#e c #e64c20",
"#b c #e65518",
"#c c #e65520",
"#. c #e65918",
"## c #e65d18",
".1 c #e66918",
"#h c #ee4820",
"#f c #ee4c20",
"TQtTQtTQtTQt.#.#.#.#.#.#.#.#.#TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
"TQtTQtTQtTQt.#.a.b.a.b.a.b.a.#TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
"TQtTQtTQtTQt.#.a.a.a.a.a.a.a.#TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
"TQtTQtTQtTQt.#.#.#.#.#.#.#.#.#TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
"TQtTQtTQtTQt.#.c.d.c.d.c.e.c.#TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
"TQtTQtTQtTQt.#.f.f.f.f.f.f.f.#TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
"TQtTQtTQtTQt.#.#.#.#.#.#.#.#.#TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
"TQtTQtTQtTQt.#.g.h.i.h.g.h.i.#TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
"TQtTQtTQtTQt.#.j.j.k.j.j.j.l.#TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
"TQtTQtTQtTQt.#.#.#.#.#.#.#.#.#TQt.#.#.#.#TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
"TQtTQtTQtTQt.#.m.m.m.m.m.n.m.#.#.o.o.p.q.#.#TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
"TQtTQtTQtTQt.#.r.r.r.s.r.#.#.t.u.u.o.v.q.q.w.#.#TQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
"TQtTQtTQtTQt.#.#.#.#.#.#.t.t.u.u.o.x.p.p.y.y.w.y.#.#TQtTQtTQtTQtTQtTQtTQtTQt",
"TQtTQtTQtTQt.#.z.#.#.A.B.B.t.t.C.D.E.v.q.q.w.F.w.q.w.#.#TQtTQtTQtTQtTQtTQt",
"TQtTQtTQtTQt.#.#.G.G.H.H.I.t.u.u.o.o.J.E.K.y.w.y.w.y.w.y.#.#TQtTQtTQtTQt",
"TQtTQt.#.#.L.G.M.G.A.B.B.I.D.E.u.o.x.q.D.J.q.w.F.w.q.w.F.w.#.#TQtTQt",
"TQt.#.G.G.G.G.G.G.H.H.N.O.u.u.J.E.p.p.F.F.J.E.w.y.w.y.w.y.w.y.#TQt",
"TQt.#.L.G.M.G.L.G.G.B.B.t.t.u.u.o.D.J.q.y.F.w.q.w.F.w.q.w.F.w.#TQt",
"TQt.#.P.P.G.G.G.G.H.Q.N.B.u.u.o.x.p.v.F.F.w.y.w.y.w.y.w.y.G.G.#TQt",
"TQt.#.R.P.P.S.M.G.G.H.B.t.O.u.u.o.x.p.p.w.q.w.F.w.q.w.M.G.L.G.#TQt",
"TQt.#.P.P.T.S.U.T.H.H.B.B.I.u.x.x.p.p.F.F.w.y.w.y.G.G.G.G.G.G.#TQt",
"TQtTQt.#.#.P.T.S.U.U.U.Q.t.O.u.u.o.x.p.v.F.F.w.V.W.W.G.L.G.#.#TQtTQt",
"TQtTQt.UTQt.#.#.U.U.X.U.Y.Y.I.u.o.x.v.v.F.F.Z.Z.0.W.M.L.#.#TQt.#TQtTQt",
"TQtTQt.UTQt.U.1.#.#.U.X.X.Y.X.2.u.o.x.p.3.4.4.Z.Z.0.#.#TQt.#TQt.#TQtTQt",
"TQtTQtTQtTQt.U.#.U.#.#.#.2.Y.2.2.5.6.7.7.8.4.9.9.#.UTQt.UTQt.#TQtTQtTQtTQt",
"TQtTQtTQtTQt.##..U##.U#..#.#.2.2.2.6#a.7.7.4.#.#TQt.UTQt.UTQtTQtTQtTQtTQtTQt",
"TQtTQtTQtTQt.##b#c#b.U#b.U#b.#.#.5.6#d#d.#.#TQt.UTQt.UTQtTQtTQtTQtTQtTQtTQtTQt",
"TQtTQtTQtTQt.#.#.#.#.#.#.U.#.UTQt.#.#.#.#TQt.UTQt.UTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
"TQtTQtTQtTQt.##e#f#e#f#e#f#g.UTQt.UTQtTQt.UTQt.UTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
"TQtTQtTQtTQt.##h#i#j#i#h#i#j.#TQt.UTQtTQt.UTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
"TQtTQtTQtTQt.#.#.#.#.#.#.#.#.#TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
"TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt"};
/*
* Constructs a AboutCfgDesign as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*/
AboutCfgDesign::AboutCfgDesign( TQWidget* parent, const char* name, WFlags fl )
: TQWidget( parent, name, fl ),
image0( (const char **) img0_aboutcfgdesign )
{
if ( !name )
setName( "AboutCfgDesign" );
AboutCfgDesignLayout = new TQVBoxLayout( this, 0, 0, "AboutCfgDesignLayout");
Frame3 = new TQFrame( this, "Frame3" );
Frame3->setMinimumSize( TQSize( 0, 47 ) );
Frame3->setMaximumSize( TQSize( 32767, 47 ) );
TQPalette pal;
TQColorGroup cg;
cg.setColor( TQColorGroup::Foreground, black );
cg.setColor( TQColorGroup::Button, TQColor( 228, 228, 228) );
cg.setColor( TQColorGroup::Light, white );
cg.setColor( TQColorGroup::Midlight, TQColor( 241, 241, 241) );
cg.setColor( TQColorGroup::Dark, TQColor( 114, 114, 114) );
cg.setColor( TQColorGroup::Mid, TQColor( 152, 152, 152) );
cg.setColor( TQColorGroup::Text, black );
cg.setColor( TQColorGroup::BrightText, white );
cg.setColor( TQColorGroup::ButtonText, black );
cg.setColor( TQColorGroup::Base, white );
cg.setColor( TQColorGroup::Background, TQColor( 222, 226, 246) );
cg.setColor( TQColorGroup::Shadow, black );
cg.setColor( TQColorGroup::Highlight, TQColor( 10, 95, 137) );
cg.setColor( TQColorGroup::HighlightedText, white );
pal.setActive( cg );
cg.setColor( TQColorGroup::Foreground, black );
cg.setColor( TQColorGroup::Button, TQColor( 228, 228, 228) );
cg.setColor( TQColorGroup::Light, white );
cg.setColor( TQColorGroup::Midlight, white );
cg.setColor( TQColorGroup::Dark, TQColor( 114, 114, 114) );
cg.setColor( TQColorGroup::Mid, TQColor( 152, 152, 152) );
cg.setColor( TQColorGroup::Text, black );
cg.setColor( TQColorGroup::BrightText, white );
cg.setColor( TQColorGroup::ButtonText, black );
cg.setColor( TQColorGroup::Base, white );
cg.setColor( TQColorGroup::Background, TQColor( 222, 226, 246) );
cg.setColor( TQColorGroup::Shadow, black );
cg.setColor( TQColorGroup::Highlight, TQColor( 10, 95, 137) );
cg.setColor( TQColorGroup::HighlightedText, white );
pal.setInactive( cg );
cg.setColor( TQColorGroup::Foreground, TQColor( 128, 128, 128) );
cg.setColor( TQColorGroup::Button, TQColor( 228, 228, 228) );
cg.setColor( TQColorGroup::Light, white );
cg.setColor( TQColorGroup::Midlight, white );
cg.setColor( TQColorGroup::Dark, TQColor( 114, 114, 114) );
cg.setColor( TQColorGroup::Mid, TQColor( 152, 152, 152) );
cg.setColor( TQColorGroup::Text, black );
cg.setColor( TQColorGroup::BrightText, white );
cg.setColor( TQColorGroup::ButtonText, TQColor( 128, 128, 128) );
cg.setColor( TQColorGroup::Base, white );
cg.setColor( TQColorGroup::Background, TQColor( 222, 226, 246) );
cg.setColor( TQColorGroup::Shadow, black );
cg.setColor( TQColorGroup::Highlight, TQColor( 10, 95, 137) );
cg.setColor( TQColorGroup::HighlightedText, white );
pal.setDisabled( cg );
Frame3->setPalette( pal );
Frame3->setFrameShape( TQFrame::NoFrame );
Frame3->setFrameShadow( TQFrame::Plain );
PixmapLabel1 = new TQLabel( Frame3, "PixmapLabel1" );
PixmapLabel1->setGeometry( TQRect( 10, 5, 38, 38 ) );
PixmapLabel1->setPixmap( image0 );
PixmapLabel1->setScaledContents( TRUE );
TextLabel2 = new TQLabel( Frame3, "TextLabel2" );
TextLabel2->setGeometry( TQRect( 61, 12, 326, 24 ) );
TQFont TextLabel2_font( TextLabel2->font() );
TextLabel2_font.setPointSize( 14 );
TextLabel2_font.setBold( TRUE );
TextLabel2->setFont( TextLabel2_font );
AboutCfgDesignLayout->addWidget( Frame3 );
Frame4 = new TQFrame( this, "Frame4" );
Frame4->setMinimumSize( TQSize( 0, 22 ) );
Frame4->setMaximumSize( TQSize( 32767, 22 ) );
cg.setColor( TQColorGroup::Foreground, black );
cg.setColor( TQColorGroup::Button, TQColor( 228, 228, 228) );
cg.setColor( TQColorGroup::Light, white );
cg.setColor( TQColorGroup::Midlight, TQColor( 241, 241, 241) );
cg.setColor( TQColorGroup::Dark, TQColor( 114, 114, 114) );
cg.setColor( TQColorGroup::Mid, TQColor( 152, 152, 152) );
cg.setColor( TQColorGroup::Text, black );
cg.setColor( TQColorGroup::BrightText, white );
cg.setColor( TQColorGroup::ButtonText, black );
cg.setColor( TQColorGroup::Base, white );
cg.setColor( TQColorGroup::Background, TQColor( 97, 97, 97) );
cg.setColor( TQColorGroup::Shadow, black );
cg.setColor( TQColorGroup::Highlight, TQColor( 10, 95, 137) );
cg.setColor( TQColorGroup::HighlightedText, white );
pal.setActive( cg );
cg.setColor( TQColorGroup::Foreground, black );
cg.setColor( TQColorGroup::Button, TQColor( 228, 228, 228) );
cg.setColor( TQColorGroup::Light, white );
cg.setColor( TQColorGroup::Midlight, white );
cg.setColor( TQColorGroup::Dark, TQColor( 114, 114, 114) );
cg.setColor( TQColorGroup::Mid, TQColor( 152, 152, 152) );
cg.setColor( TQColorGroup::Text, black );
cg.setColor( TQColorGroup::BrightText, white );
cg.setColor( TQColorGroup::ButtonText, black );
cg.setColor( TQColorGroup::Base, white );
cg.setColor( TQColorGroup::Background, TQColor( 97, 97, 97) );
cg.setColor( TQColorGroup::Shadow, black );
cg.setColor( TQColorGroup::Highlight, TQColor( 10, 95, 137) );
cg.setColor( TQColorGroup::HighlightedText, white );
pal.setInactive( cg );
cg.setColor( TQColorGroup::Foreground, TQColor( 128, 128, 128) );
cg.setColor( TQColorGroup::Button, TQColor( 228, 228, 228) );
cg.setColor( TQColorGroup::Light, white );
cg.setColor( TQColorGroup::Midlight, white );
cg.setColor( TQColorGroup::Dark, TQColor( 114, 114, 114) );
cg.setColor( TQColorGroup::Mid, TQColor( 152, 152, 152) );
cg.setColor( TQColorGroup::Text, black );
cg.setColor( TQColorGroup::BrightText, white );
cg.setColor( TQColorGroup::ButtonText, TQColor( 128, 128, 128) );
cg.setColor( TQColorGroup::Base, white );
cg.setColor( TQColorGroup::Background, TQColor( 97, 97, 97) );
cg.setColor( TQColorGroup::Shadow, black );
cg.setColor( TQColorGroup::Highlight, TQColor( 10, 95, 137) );
cg.setColor( TQColorGroup::HighlightedText, white );
pal.setDisabled( cg );
Frame4->setPalette( pal );
Frame4->setFrameShape( TQFrame::NoFrame );
Frame4->setFrameShadow( TQFrame::Plain );
TextLabel1 = new TQLabel( Frame4, "TextLabel1" );
TextLabel1->setGeometry( TQRect( 7, 2, 305, 16 ) );
cg.setColor( TQColorGroup::Foreground, white );
cg.setColor( TQColorGroup::Button, TQColor( 228, 228, 228) );
cg.setColor( TQColorGroup::Light, white );
cg.setColor( TQColorGroup::Midlight, TQColor( 241, 241, 241) );
cg.setColor( TQColorGroup::Dark, TQColor( 114, 114, 114) );
cg.setColor( TQColorGroup::Mid, TQColor( 152, 152, 152) );
cg.setColor( TQColorGroup::Text, black );
cg.setColor( TQColorGroup::BrightText, white );
cg.setColor( TQColorGroup::ButtonText, black );
cg.setColor( TQColorGroup::Base, white );
cg.setColor( TQColorGroup::Background, TQColor( 97, 97, 97) );
cg.setColor( TQColorGroup::Shadow, black );
cg.setColor( TQColorGroup::Highlight, TQColor( 10, 95, 137) );
cg.setColor( TQColorGroup::HighlightedText, white );
pal.setActive( cg );
cg.setColor( TQColorGroup::Foreground, white );
cg.setColor( TQColorGroup::Button, TQColor( 228, 228, 228) );
cg.setColor( TQColorGroup::Light, white );
cg.setColor( TQColorGroup::Midlight, white );
cg.setColor( TQColorGroup::Dark, TQColor( 114, 114, 114) );
cg.setColor( TQColorGroup::Mid, TQColor( 152, 152, 152) );
cg.setColor( TQColorGroup::Text, black );
cg.setColor( TQColorGroup::BrightText, white );
cg.setColor( TQColorGroup::ButtonText, black );
cg.setColor( TQColorGroup::Base, white );
cg.setColor( TQColorGroup::Background, TQColor( 97, 97, 97) );
cg.setColor( TQColorGroup::Shadow, black );
cg.setColor( TQColorGroup::Highlight, TQColor( 10, 95, 137) );
cg.setColor( TQColorGroup::HighlightedText, white );
pal.setInactive( cg );
cg.setColor( TQColorGroup::Foreground, TQColor( 128, 128, 128) );
cg.setColor( TQColorGroup::Button, TQColor( 228, 228, 228) );
cg.setColor( TQColorGroup::Light, white );
cg.setColor( TQColorGroup::Midlight, white );
cg.setColor( TQColorGroup::Dark, TQColor( 114, 114, 114) );
cg.setColor( TQColorGroup::Mid, TQColor( 152, 152, 152) );
cg.setColor( TQColorGroup::Text, black );
cg.setColor( TQColorGroup::BrightText, white );
cg.setColor( TQColorGroup::ButtonText, TQColor( 128, 128, 128) );
cg.setColor( TQColorGroup::Base, white );
cg.setColor( TQColorGroup::Background, TQColor( 97, 97, 97) );
cg.setColor( TQColorGroup::Shadow, black );
cg.setColor( TQColorGroup::Highlight, TQColor( 10, 95, 137) );
cg.setColor( TQColorGroup::HighlightedText, white );
pal.setDisabled( cg );
TextLabel1->setPalette( pal );
AboutCfgDesignLayout->addWidget( Frame4 );
Frame5 = new TQFrame( this, "Frame5" );
cg.setColor( TQColorGroup::Foreground, black );
cg.setColor( TQColorGroup::Button, TQColor( 228, 228, 228) );
cg.setColor( TQColorGroup::Light, white );
cg.setColor( TQColorGroup::Midlight, TQColor( 241, 241, 241) );
cg.setColor( TQColorGroup::Dark, TQColor( 114, 114, 114) );
cg.setColor( TQColorGroup::Mid, TQColor( 152, 152, 152) );
cg.setColor( TQColorGroup::Text, black );
cg.setColor( TQColorGroup::BrightText, white );
cg.setColor( TQColorGroup::ButtonText, black );
cg.setColor( TQColorGroup::Base, white );
cg.setColor( TQColorGroup::Background, TQColor( 49, 121, 172) );
cg.setColor( TQColorGroup::Shadow, black );
cg.setColor( TQColorGroup::Highlight, TQColor( 10, 95, 137) );
cg.setColor( TQColorGroup::HighlightedText, white );
pal.setActive( cg );
cg.setColor( TQColorGroup::Foreground, black );
cg.setColor( TQColorGroup::Button, TQColor( 228, 228, 228) );
cg.setColor( TQColorGroup::Light, white );
cg.setColor( TQColorGroup::Midlight, white );
cg.setColor( TQColorGroup::Dark, TQColor( 114, 114, 114) );
cg.setColor( TQColorGroup::Mid, TQColor( 152, 152, 152) );
cg.setColor( TQColorGroup::Text, black );
cg.setColor( TQColorGroup::BrightText, white );
cg.setColor( TQColorGroup::ButtonText, black );
cg.setColor( TQColorGroup::Base, white );
cg.setColor( TQColorGroup::Background, TQColor( 49, 121, 172) );
cg.setColor( TQColorGroup::Shadow, black );
cg.setColor( TQColorGroup::Highlight, TQColor( 10, 95, 137) );
cg.setColor( TQColorGroup::HighlightedText, white );
pal.setInactive( cg );
cg.setColor( TQColorGroup::Foreground, TQColor( 128, 128, 128) );
cg.setColor( TQColorGroup::Button, TQColor( 228, 228, 228) );
cg.setColor( TQColorGroup::Light, white );
cg.setColor( TQColorGroup::Midlight, white );
cg.setColor( TQColorGroup::Dark, TQColor( 114, 114, 114) );
cg.setColor( TQColorGroup::Mid, TQColor( 152, 152, 152) );
cg.setColor( TQColorGroup::Text, black );
cg.setColor( TQColorGroup::BrightText, white );
cg.setColor( TQColorGroup::ButtonText, TQColor( 128, 128, 128) );
cg.setColor( TQColorGroup::Base, white );
cg.setColor( TQColorGroup::Background, TQColor( 49, 121, 172) );
cg.setColor( TQColorGroup::Shadow, black );
cg.setColor( TQColorGroup::Highlight, TQColor( 10, 95, 137) );
cg.setColor( TQColorGroup::HighlightedText, white );
pal.setDisabled( cg );
Frame5->setPalette( pal );
Frame5->setFrameShape( TQFrame::NoFrame );
Frame5->setFrameShadow( TQFrame::Plain );
Frame5Layout = new TQHBoxLayout( Frame5, 22, 6, "Frame5Layout");
Frame6 = new TQFrame( Frame5, "Frame6" );
Frame6->setMinimumSize( TQSize( 300, 200 ) );
cg.setColor( TQColorGroup::Foreground, black );
cg.setColor( TQColorGroup::Button, TQColor( 228, 228, 228) );
cg.setColor( TQColorGroup::Light, white );
cg.setColor( TQColorGroup::Midlight, TQColor( 241, 241, 241) );
cg.setColor( TQColorGroup::Dark, TQColor( 114, 114, 114) );
cg.setColor( TQColorGroup::Mid, TQColor( 152, 152, 152) );
cg.setColor( TQColorGroup::Text, black );
cg.setColor( TQColorGroup::BrightText, white );
cg.setColor( TQColorGroup::ButtonText, black );
cg.setColor( TQColorGroup::Base, white );
cg.setColor( TQColorGroup::Background, TQColor( 222, 226, 246) );
cg.setColor( TQColorGroup::Shadow, black );
cg.setColor( TQColorGroup::Highlight, TQColor( 10, 95, 137) );
cg.setColor( TQColorGroup::HighlightedText, white );
pal.setActive( cg );
cg.setColor( TQColorGroup::Foreground, black );
cg.setColor( TQColorGroup::Button, TQColor( 228, 228, 228) );
cg.setColor( TQColorGroup::Light, white );
cg.setColor( TQColorGroup::Midlight, white );
cg.setColor( TQColorGroup::Dark, TQColor( 114, 114, 114) );
cg.setColor( TQColorGroup::Mid, TQColor( 152, 152, 152) );
cg.setColor( TQColorGroup::Text, black );
cg.setColor( TQColorGroup::BrightText, white );
cg.setColor( TQColorGroup::ButtonText, black );
cg.setColor( TQColorGroup::Base, white );
cg.setColor( TQColorGroup::Background, TQColor( 222, 226, 246) );
cg.setColor( TQColorGroup::Shadow, black );
cg.setColor( TQColorGroup::Highlight, TQColor( 10, 95, 137) );
cg.setColor( TQColorGroup::HighlightedText, white );
pal.setInactive( cg );
cg.setColor( TQColorGroup::Foreground, TQColor( 128, 128, 128) );
cg.setColor( TQColorGroup::Button, TQColor( 228, 228, 228) );
cg.setColor( TQColorGroup::Light, white );
cg.setColor( TQColorGroup::Midlight, white );
cg.setColor( TQColorGroup::Dark, TQColor( 114, 114, 114) );
cg.setColor( TQColorGroup::Mid, TQColor( 152, 152, 152) );
cg.setColor( TQColorGroup::Text, black );
cg.setColor( TQColorGroup::BrightText, white );
cg.setColor( TQColorGroup::ButtonText, TQColor( 128, 128, 128) );
cg.setColor( TQColorGroup::Base, white );
cg.setColor( TQColorGroup::Background, TQColor( 222, 226, 246) );
cg.setColor( TQColorGroup::Shadow, black );
cg.setColor( TQColorGroup::Highlight, TQColor( 10, 95, 137) );
cg.setColor( TQColorGroup::HighlightedText, white );
pal.setDisabled( cg );
Frame6->setPalette( pal );
Frame6->setFrameShape( TQFrame::NoFrame );
Frame6->setFrameShadow( TQFrame::Plain );
labelTitle = new TQLabel( Frame6, "labelTitle" );
labelTitle->setGeometry( TQRect( 19, 19, 221, 16 ) );
TQFont labelTitle_font( labelTitle->font() );
labelTitle_font.setPointSize( 10 );
labelTitle_font.setBold( TRUE );
labelTitle->setFont( labelTitle_font );
TextLabel3_2 = new TQLabel( Frame6, "TextLabel3_2" );
TextLabel3_2->setGeometry( TQRect( 20, 49, 248, 147 ) );
TextLabel3_2->setAlignment( int( TQLabel::WordBreak | TQLabel::AlignTop | TQLabel::AlignLeft ) );
Frame5Layout->addWidget( Frame6 );
Spacer1 = new TQSpacerItem( 61, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
Frame5Layout->addItem( Spacer1 );
AboutCfgDesignLayout->addWidget( Frame5 );
languageChange();
resize( TQSize(413, 353).expandedTo(minimumSizeHint()) );
clearWState( WState_Polished );
}
/*
* Destroys the object and frees any allocated resources
*/
AboutCfgDesign::~AboutCfgDesign()
{
// no need to delete child widgets, TQt does it all for us
}
/*
* Sets the strings of the subwidgets using the current
* language.
*/
void AboutCfgDesign::languageChange()
{
setCaption( tr2i18n( "AboutCfgDesign" ) );
TextLabel2->setText( tr2i18n( "KSensors configuration" ) );
TextLabel1->setText( tr2i18n( "Monitoring your motherboard" ) );
labelTitle->setText( tr2i18n( "KSensors" ) );
TextLabel3_2->setText( tr2i18n( "Welcome to the KSensors configuration window. Click on the left to select a configuration option." ) );
}
#include "aboutcfgdesign.moc"

@ -1,55 +0,0 @@
/****************************************************************************
** Form interface generated from reading ui file './aboutcfgdesign.ui'
**
** Created: mer aoû 18 23:39:01 2004
** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.3 edited Nov 24 2003 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#ifndef ABOUTCFGDESIGN_H
#define ABOUTCFGDESIGN_H
#include <ntqvariant.h>
#include <ntqpixmap.h>
#include <ntqwidget.h>
class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class TQFrame;
class TQLabel;
class AboutCfgDesign : public TQWidget
{
Q_OBJECT
public:
AboutCfgDesign( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~AboutCfgDesign();
TQFrame* Frame3;
TQLabel* PixmapLabel1;
TQLabel* TextLabel2;
TQFrame* Frame4;
TQLabel* TextLabel1;
TQFrame* Frame5;
TQFrame* Frame6;
TQLabel* labelTitle;
TQLabel* TextLabel3_2;
protected:
TQVBoxLayout* AboutCfgDesignLayout;
TQHBoxLayout* Frame5Layout;
TQSpacerItem* Spacer1;
protected slots:
virtual void languageChange();
private:
TQPixmap image0;
};
#endif // ABOUTCFGDESIGN_H

@ -1,103 +0,0 @@
#include <tdelocale.h>
/****************************************************************************
** Form implementation generated from reading ui file './generalcfgdesign.ui'
**
** Created: mer aoû 18 23:39:02 2004
** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.3 edited Nov 24 2003 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#include "generalcfgdesign.h"
#include <ntqvariant.h>
#include <ntqpushbutton.h>
#include <ntqbuttongroup.h>
#include <ntqradiobutton.h>
#include <ntqgroupbox.h>
#include <ntqcheckbox.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>
/*
* Constructs a GeneralCfgDesign as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*/
GeneralCfgDesign::GeneralCfgDesign( TQWidget* parent, const char* name, WFlags fl )
: TQWidget( parent, name, fl )
{
if ( !name )
setName( "GeneralCfgDesign" );
GeneralCfgDesignLayout = new TQGridLayout( this, 1, 1, 8, 6, "GeneralCfgDesignLayout");
ButtonGroup5 = new TQButtonGroup( this, "ButtonGroup5" );
ButtonGroup5->setColumnLayout(0, TQt::Vertical );
ButtonGroup5->layout()->setSpacing( 6 );
ButtonGroup5->layout()->setMargin( 11 );
ButtonGroup5Layout = new TQGridLayout( ButtonGroup5->layout() );
ButtonGroup5Layout->setAlignment( TQt::AlignTop );
Radio64 = new TQRadioButton( ButtonGroup5, "Radio64" );
Radio64->setChecked( TRUE );
ButtonGroup5Layout->addWidget( Radio64, 0, 0 );
Radio56 = new TQRadioButton( ButtonGroup5, "Radio56" );
ButtonGroup5Layout->addWidget( Radio56, 0, 1 );
Radio48 = new TQRadioButton( ButtonGroup5, "Radio48" );
ButtonGroup5Layout->addWidget( Radio48, 0, 2 );
GeneralCfgDesignLayout->addWidget( ButtonGroup5, 0, 0 );
boxGeneralPalette = new TQGroupBox( this, "boxGeneralPalette" );
boxGeneralPalette->setMinimumSize( TQSize( 0, 65 ) );
GeneralCfgDesignLayout->addWidget( boxGeneralPalette, 1, 0 );
GroupBox2 = new TQGroupBox( this, "GroupBox2" );
GroupBox2->setColumnLayout(0, TQt::Vertical );
GroupBox2->layout()->setSpacing( 6 );
GroupBox2->layout()->setMargin( 11 );
GroupBox2Layout = new TQVBoxLayout( GroupBox2->layout() );
GroupBox2Layout->setAlignment( TQt::AlignTop );
CheckBoxAutoStart = new TQCheckBox( GroupBox2, "CheckBoxAutoStart" );
GroupBox2Layout->addWidget( CheckBoxAutoStart );
GeneralCfgDesignLayout->addWidget( GroupBox2, 2, 0 );
Spacer28 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
GeneralCfgDesignLayout->addItem( Spacer28, 3, 0 );
languageChange();
resize( TQSize(343, 239).expandedTo(minimumSizeHint()) );
clearWState( WState_Polished );
}
/*
* Destroys the object and frees any allocated resources
*/
GeneralCfgDesign::~GeneralCfgDesign()
{
// no need to delete child widgets, TQt does it all for us
}
/*
* Sets the strings of the subwidgets using the current
* language.
*/
void GeneralCfgDesign::languageChange()
{
setCaption( tr2i18n( "GeneralCfg" ) );
ButtonGroup5->setTitle( tr2i18n( "Panels size" ) );
Radio64->setText( tr2i18n( "64 x 64" ) );
Radio56->setText( tr2i18n( "56 x 56" ) );
Radio48->setText( tr2i18n( "48 x 48" ) );
boxGeneralPalette->setTitle( tr2i18n( "Colors" ) );
GroupBox2->setTitle( tr2i18n( "Startup" ) );
CheckBoxAutoStart->setText( tr2i18n( "Autostart KSensors on KDE startup" ) );
}
#include "generalcfgdesign.moc"

@ -1,52 +0,0 @@
/****************************************************************************
** Form interface generated from reading ui file './generalcfgdesign.ui'
**
** Created: mer aoû 18 23:39:01 2004
** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.3 edited Nov 24 2003 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#ifndef GENERALCFGDESIGN_H
#define GENERALCFGDESIGN_H
#include <ntqvariant.h>
#include <ntqwidget.h>
class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class TQButtonGroup;
class TQRadioButton;
class TQGroupBox;
class TQCheckBox;
class GeneralCfgDesign : public TQWidget
{
Q_OBJECT
public:
GeneralCfgDesign( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~GeneralCfgDesign();
TQButtonGroup* ButtonGroup5;
TQRadioButton* Radio64;
TQRadioButton* Radio56;
TQRadioButton* Radio48;
TQGroupBox* boxGeneralPalette;
TQGroupBox* GroupBox2;
TQCheckBox* CheckBoxAutoStart;
protected:
TQGridLayout* GeneralCfgDesignLayout;
TQSpacerItem* Spacer28;
TQGridLayout* ButtonGroup5Layout;
TQVBoxLayout* GroupBox2Layout;
protected slots:
virtual void languageChange();
};
#endif // GENERALCFGDESIGN_H

@ -1,471 +0,0 @@
#include <tdelocale.h>
/****************************************************************************
** Form implementation generated from reading ui file './lmsensorscfgdesign.ui'
**
** Created: mer aoû 18 23:39:03 2004
** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.3 edited Nov 24 2003 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#include "lmsensorscfgdesign.h"
#include <ntqvariant.h>
#include <ntqpushbutton.h>
#include <ntqtabwidget.h>
#include <ntqgroupbox.h>
#include <ntqlabel.h>
#include <ntqlineedit.h>
#include <ntqcombobox.h>
#include <ntqcheckbox.h>
#include <kcolorbutton.h>
#include <ntqframe.h>
#include <ntqradiobutton.h>
#include <ntqlistbox.h>
#include <ntqbuttongroup.h>
#include <ntqspinbox.h>
#include <ntqslider.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>
/*
* Constructs a LMSensorsCfgDesign as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*/
LMSensorsCfgDesign::LMSensorsCfgDesign( TQWidget* parent, const char* name, WFlags fl )
: TQWidget( parent, name, fl )
{
if ( !name )
setName( "LMSensorsCfgDesign" );
setMinimumSize( TQSize( 0, 340 ) );
LMSensorsCfgDesignLayout = new TQGridLayout( this, 1, 1, 8, 4, "LMSensorsCfgDesignLayout");
MainTab = new TQTabWidget( this, "MainTab" );
MainTab->setMinimumSize( TQSize( 422, 295 ) );
tab = new TQWidget( MainTab, "tab" );
tabLayout = new TQGridLayout( tab, 1, 1, 11, 6, "tabLayout");
SensorsTab = new TQTabWidget( tab, "SensorsTab" );
SensorsTab->setMinimumSize( TQSize( 272, 276 ) );
SensorsTab->setTabShape( TQTabWidget::Rounded );
SensorsTab->setMargin( 0 );
tab_2 = new TQWidget( SensorsTab, "tab_2" );
tabLayout_2 = new TQGridLayout( tab_2, 1, 1, 11, 6, "tabLayout_2");
GroupBoxDes = new TQGroupBox( tab_2, "GroupBoxDes" );
GroupBoxDes->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)1, 0, 0, GroupBoxDes->sizePolicy().hasHeightForWidth() ) );
GroupBoxDes->setColumnLayout(0, TQt::Vertical );
GroupBoxDes->layout()->setSpacing( 6 );
GroupBoxDes->layout()->setMargin( 11 );
GroupBoxDesLayout = new TQGridLayout( GroupBoxDes->layout() );
GroupBoxDesLayout->setAlignment( TQt::AlignTop );
layout5 = new TQHBoxLayout( 0, 0, 6, "layout5");
pixmapSensor = new TQLabel( GroupBoxDes, "pixmapSensor" );
pixmapSensor->setScaledContents( TRUE );
layout5->addWidget( pixmapSensor );
layout4 = new TQVBoxLayout( 0, 0, 6, "layout4");
TextLabel2_2 = new TQLabel( GroupBoxDes, "TextLabel2_2" );
layout4->addWidget( TextLabel2_2 );
editDescription = new TQLineEdit( GroupBoxDes, "editDescription" );
layout4->addWidget( editDescription );
layout5->addLayout( layout4 );
GroupBoxDesLayout->addLayout( layout5, 0, 0 );
tabLayout_2->addWidget( GroupBoxDes, 0, 0 );
GroupBox2_2_2 = new TQGroupBox( tab_2, "GroupBox2_2_2" );
GroupBox2_2_2->setFrameShape( TQGroupBox::Box );
GroupBox2_2_2->setFrameShadow( TQGroupBox::Sunken );
GroupBox2_2_2->setColumnLayout(0, TQt::Vertical );
GroupBox2_2_2->layout()->setSpacing( 6 );
GroupBox2_2_2->layout()->setMargin( 11 );
GroupBox2_2_2Layout = new TQGridLayout( GroupBox2_2_2->layout() );
GroupBox2_2_2Layout->setAlignment( TQt::AlignTop );
editValue = new TQLineEdit( GroupBox2_2_2, "editValue" );
editValue->setEnabled( FALSE );
editValue->setAlignment( int( TQLineEdit::AlignLeft ) );
editValue->setEdited( TRUE );
GroupBox2_2_2Layout->addWidget( editValue, 1, 0 );
TextLabel3_2_2_3_2_2_2 = new TQLabel( GroupBox2_2_2, "TextLabel3_2_2_3_2_2_2" );
GroupBox2_2_2Layout->addWidget( TextLabel3_2_2_3_2_2_2, 0, 0 );
TextLabel3_2_4_2_2_2 = new TQLabel( GroupBox2_2_2, "TextLabel3_2_4_2_2_2" );
TextLabel3_2_4_2_2_2->setScaledContents( FALSE );
GroupBox2_2_2Layout->addWidget( TextLabel3_2_4_2_2_2, 0, 1 );
editMaxValue = new TQComboBox( FALSE, GroupBox2_2_2, "editMaxValue" );
editMaxValue->setEditable( TRUE );
editMaxValue->setSizeLimit( 12 );
GroupBox2_2_2Layout->addWidget( editMaxValue, 1, 1 );
TextLabel1_2_3_2_2 = new TQLabel( GroupBox2_2_2, "TextLabel1_2_3_2_2" );
GroupBox2_2_2Layout->addWidget( TextLabel1_2_3_2_2, 0, 2 );
editMul = new TQLineEdit( GroupBox2_2_2, "editMul" );
GroupBox2_2_2Layout->addWidget( editMul, 1, 2 );
TextLabel3_2 = new TQLabel( GroupBox2_2_2, "TextLabel3_2" );
GroupBox2_2_2Layout->addWidget( TextLabel3_2, 3, 0 );
TextLabel3_2_3_2_2_2_2 = new TQLabel( GroupBox2_2_2, "TextLabel3_2_3_2_2_2_2" );
GroupBox2_2_2Layout->addWidget( TextLabel3_2_3_2_2_2_2, 3, 1 );
TextLabel1_3_3_2 = new TQLabel( GroupBox2_2_2, "TextLabel1_3_3_2" );
GroupBox2_2_2Layout->addWidget( TextLabel1_3_3_2, 3, 2 );
editIdealValue = new TQLineEdit( GroupBox2_2_2, "editIdealValue" );
editIdealValue->setAlignment( int( TQLineEdit::AlignLeft ) );
GroupBox2_2_2Layout->addWidget( editIdealValue, 4, 0 );
editMinValue = new TQComboBox( FALSE, GroupBox2_2_2, "editMinValue" );
editMinValue->setEditable( TRUE );
editMinValue->setSizeLimit( 12 );
GroupBox2_2_2Layout->addWidget( editMinValue, 4, 1 );
editSum = new TQLineEdit( GroupBox2_2_2, "editSum" );
GroupBox2_2_2Layout->addWidget( editSum, 4, 2 );
spacer12 = new TQSpacerItem( 21, 21, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
GroupBox2_2_2Layout->addItem( spacer12, 5, 1 );
spacer10 = new TQSpacerItem( 20, 5, TQSizePolicy::Minimum, TQSizePolicy::Fixed );
GroupBox2_2_2Layout->addItem( spacer10, 2, 1 );
tabLayout_2->addWidget( GroupBox2_2_2, 1, 0 );
SensorsTab->insertTab( tab_2, TQString("") );
tab_3 = new TQWidget( SensorsTab, "tab_3" );
tabLayout_3 = new TQVBoxLayout( tab_3, 11, 6, "tabLayout_3");
GroupBox13 = new TQGroupBox( tab_3, "GroupBox13" );
GroupBox13->setMinimumSize( TQSize( 0, 50 ) );
GroupBox13->setMaximumSize( TQSize( 32767, 50 ) );
GroupBox13->setColumnLayout(0, TQt::Vertical );
GroupBox13->layout()->setSpacing( 6 );
GroupBox13->layout()->setMargin( 11 );
GroupBox13Layout = new TQGridLayout( GroupBox13->layout() );
GroupBox13Layout->setAlignment( TQt::AlignTop );
checkShow = new TQCheckBox( GroupBox13, "checkShow" );
checkShow->setCursor( TQCursor( 0 ) );
GroupBox13Layout->addWidget( checkShow, 0, 0 );
tabLayout_3->addWidget( GroupBox13 );
boxPanelPalette = new TQGroupBox( tab_3, "boxPanelPalette" );
boxPanelPalette->setMinimumSize( TQSize( 0, 90 ) );
tabLayout_3->addWidget( boxPanelPalette );
Spacer4_2 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
tabLayout_3->addItem( Spacer4_2 );
SensorsTab->insertTab( tab_3, TQString("") );
tab_4 = new TQWidget( SensorsTab, "tab_4" );
tabLayout_4 = new TQGridLayout( tab_4, 1, 1, 11, 6, "tabLayout_4");
GroupBox14 = new TQGroupBox( tab_4, "GroupBox14" );
GroupBox14->setMinimumSize( TQSize( 0, 50 ) );
GroupBox14->setMaximumSize( TQSize( 32767, 50 ) );
GroupBox14->setColumnLayout(0, TQt::Vertical );
GroupBox14->layout()->setSpacing( 6 );
GroupBox14->layout()->setMargin( 11 );
GroupBox14Layout = new TQGridLayout( GroupBox14->layout() );
GroupBox14Layout->setAlignment( TQt::AlignTop );
checkShowInDock = new TQCheckBox( GroupBox14, "checkShowInDock" );
checkShowInDock->setCursor( TQCursor( 0 ) );
GroupBox14Layout->addWidget( checkShowInDock, 0, 0 );
tabLayout_4->addWidget( GroupBox14, 0, 0 );
Spacer3_2 = new TQSpacerItem( 20, 120, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
tabLayout_4->addItem( Spacer3_2, 2, 0 );
GroupBoxColorDock = new TQGroupBox( tab_4, "GroupBoxColorDock" );
GroupBoxColorDock->setEnabled( TRUE );
GroupBoxColorDock->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, GroupBoxColorDock->sizePolicy().hasHeightForWidth() ) );
GroupBoxColorDock->setFrameShape( TQGroupBox::Box );
GroupBoxColorDock->setColumnLayout(0, TQt::Vertical );
GroupBoxColorDock->layout()->setSpacing( 6 );
GroupBoxColorDock->layout()->setMargin( 11 );
GroupBoxColorDockLayout = new TQGridLayout( GroupBoxColorDock->layout() );
GroupBoxColorDockLayout->setAlignment( TQt::AlignTop );
TextLabel1_2_2_2_2 = new TQLabel( GroupBoxColorDock, "TextLabel1_2_2_2_2" );
TextLabel1_2_2_2_2->setAlignment( int( TQLabel::AlignVCenter | TQLabel::AlignLeft ) );
GroupBoxColorDockLayout->addWidget( TextLabel1_2_2_2_2, 1, 0 );
colorAlarm = new KColorButton( GroupBoxColorDock, "colorAlarm" );
colorAlarm->setEnabled( TRUE );
colorAlarm->setToggleButton( FALSE );
colorAlarm->setColor( TQColor( 255, 85, 0 ) );
GroupBoxColorDockLayout->addWidget( colorAlarm, 1, 1 );
colorNormal = new KColorButton( GroupBoxColorDock, "colorNormal" );
colorNormal->setEnabled( TRUE );
colorNormal->setAcceptDrops( TRUE );
colorNormal->setToggleButton( FALSE );
colorNormal->setOn( FALSE );
colorNormal->setColor( TQColor( 0, 0, 255 ) );
GroupBoxColorDockLayout->addWidget( colorNormal, 0, 1 );
spacer5 = new TQSpacerItem( 41, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
GroupBoxColorDockLayout->addItem( spacer5, 0, 2 );
spacer6 = new TQSpacerItem( 41, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
GroupBoxColorDockLayout->addItem( spacer6, 1, 2 );
TextLabel1_4_2_2 = new TQLabel( GroupBoxColorDock, "TextLabel1_4_2_2" );
TextLabel1_4_2_2->setAlignment( int( TQLabel::AlignVCenter | TQLabel::AlignLeft ) );
GroupBoxColorDockLayout->addWidget( TextLabel1_4_2_2, 0, 0 );
tabLayout_4->addWidget( GroupBoxColorDock, 1, 0 );
SensorsTab->insertTab( tab_4, TQString("") );
tab_5 = new TQWidget( SensorsTab, "tab_5" );
tabLayout_5 = new TQVBoxLayout( tab_5, 11, 6, "tabLayout_5");
TextLabel1_3_2_2_2_2 = new TQLabel( tab_5, "TextLabel1_3_2_2_2_2" );
tabLayout_5->addWidget( TextLabel1_3_2_2_2_2 );
Frame11_2_2_2 = new TQFrame( tab_5, "Frame11_2_2_2" );
Frame11_2_2_2->setFrameShape( TQFrame::HLine );
Frame11_2_2_2->setFrameShadow( TQFrame::Sunken );
tabLayout_5->addWidget( Frame11_2_2_2 );
layout9 = new TQGridLayout( 0, 1, 1, 0, 6, "layout9");
CheckAllSensors = new TQCheckBox( tab_5, "CheckAllSensors" );
CheckAllSensors->setAutoResize( TRUE );
layout9->addWidget( CheckAllSensors, 6, 0 );
spacer9 = new TQSpacerItem( 20, 31, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
layout9->addItem( spacer9, 7, 0 );
radioAlarm1 = new TQRadioButton( tab_5, "radioAlarm1" );
radioAlarm1->setCursor( TQCursor( 0 ) );
radioAlarm1->setChecked( TRUE );
layout9->addWidget( radioAlarm1, 4, 0 );
buttonTest = new TQPushButton( tab_5, "buttonTest" );
buttonTest->setEnabled( FALSE );
layout9->addWidget( buttonTest, 5, 1 );
radioAlarm2 = new TQRadioButton( tab_5, "radioAlarm2" );
radioAlarm2->setCursor( TQCursor( 0 ) );
radioAlarm2->setChecked( FALSE );
layout9->addWidget( radioAlarm2, 2, 0 );
radioAlarm3 = new TQRadioButton( tab_5, "radioAlarm3" );
radioAlarm3->setCursor( TQCursor( 0 ) );
layout9->addWidget( radioAlarm3, 0, 0 );
layout6 = new TQHBoxLayout( 0, 0, 6, "layout6");
spacer7 = new TQSpacerItem( 31, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
layout6->addItem( spacer7 );
editLaunch = new TQLineEdit( tab_5, "editLaunch" );
editLaunch->setEnabled( FALSE );
layout6->addWidget( editLaunch );
layout9->addLayout( layout6, 1, 0 );
layout7 = new TQHBoxLayout( 0, 0, 6, "layout7");
spacer8 = new TQSpacerItem( 31, 21, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
layout7->addItem( spacer8 );
editPlay = new TQLineEdit( tab_5, "editPlay" );
editPlay->setEnabled( FALSE );
layout7->addWidget( editPlay );
layout9->addLayout( layout7, 3, 0 );
tabLayout_5->addLayout( layout9 );
SensorsTab->insertTab( tab_5, TQString("") );
tabLayout->addWidget( SensorsTab, 0, 1 );
listSensors = new TQListBox( tab, "listSensors" );
listSensors->setMinimumSize( TQSize( 120, 0 ) );
listSensors->setMaximumSize( TQSize( 120, 32767 ) );
listSensors->setFrameShape( TQListBox::StyledPanel );
listSensors->setFrameShadow( TQListBox::Sunken );
listSensors->setLineWidth( 2 );
listSensors->setColumnMode( TQListBox::FixedNumber );
tabLayout->addWidget( listSensors, 0, 0 );
MainTab->insertTab( tab, TQString("") );
tab_6 = new TQWidget( MainTab, "tab_6" );
tabLayout_6 = new TQGridLayout( tab_6, 1, 1, 11, 6, "tabLayout_6");
ButtonGroup5 = new TQButtonGroup( tab_6, "ButtonGroup5" );
ButtonGroup5->setColumnLayout(0, TQt::Vertical );
ButtonGroup5->layout()->setSpacing( 6 );
ButtonGroup5->layout()->setMargin( 11 );
ButtonGroup5Layout = new TQGridLayout( ButtonGroup5->layout() );
ButtonGroup5Layout->setAlignment( TQt::AlignTop );
RadioF = new TQRadioButton( ButtonGroup5, "RadioF" );
RadioF->setMinimumSize( TQSize( 0, 0 ) );
ButtonGroup5Layout->addWidget( RadioF, 1, 0 );
RadioC = new TQRadioButton( ButtonGroup5, "RadioC" );
RadioC->setChecked( TRUE );
ButtonGroup5Layout->addWidget( RadioC, 0, 0 );
RadioK = new TQRadioButton( ButtonGroup5, "RadioK" );
ButtonGroup5Layout->addWidget( RadioK, 2, 0 );
tabLayout_6->addWidget( ButtonGroup5, 0, 0 );
spacer12_2 = new TQSpacerItem( 5, 5, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
tabLayout_6->addItem( spacer12_2, 2, 0 );
groupBox79 = new TQGroupBox( tab_6, "groupBox79" );
groupBox79->setColumnLayout(0, TQt::Vertical );
groupBox79->layout()->setSpacing( 6 );
groupBox79->layout()->setMargin( 18 );
groupBox79Layout = new TQGridLayout( groupBox79->layout() );
groupBox79Layout->setAlignment( TQt::AlignTop );
SpinUpdateTime = new TQSpinBox( groupBox79, "SpinUpdateTime" );
SpinUpdateTime->setMinValue( 1 );
SpinUpdateTime->setValue( 5 );
groupBox79Layout->addWidget( SpinUpdateTime, 0, 0 );
SliderUpdateTime = new TQSlider( groupBox79, "SliderUpdateTime" );
SliderUpdateTime->setMaxValue( 60 );
SliderUpdateTime->setValue( 5 );
SliderUpdateTime->setOrientation( TQSlider::Horizontal );
SliderUpdateTime->setTickmarks( TQSlider::Below );
SliderUpdateTime->setTickInterval( 1 );
groupBox79Layout->addWidget( SliderUpdateTime, 0, 1 );
tabLayout_6->addWidget( groupBox79, 1, 0 );
MainTab->insertTab( tab_6, TQString("") );
LMSensorsCfgDesignLayout->addWidget( MainTab, 0, 0 );
languageChange();
resize( TQSize(438, 344).expandedTo(minimumSizeHint()) );
clearWState( WState_Polished );
// signals and slots connections
connect( radioAlarm3, SIGNAL( toggled(bool) ), editLaunch, SLOT( setEnabled(bool) ) );
connect( radioAlarm2, SIGNAL( toggled(bool) ), editPlay, SLOT( setEnabled(bool) ) );
connect( radioAlarm1, SIGNAL( toggled(bool) ), buttonTest, SLOT( setDisabled(bool) ) );
connect( SliderUpdateTime, SIGNAL( valueChanged(int) ), SpinUpdateTime, SLOT( setValue(int) ) );
connect( SpinUpdateTime, SIGNAL( valueChanged(int) ), SliderUpdateTime, SLOT( setValue(int) ) );
}
/*
* Destroys the object and frees any allocated resources
*/
LMSensorsCfgDesign::~LMSensorsCfgDesign()
{
// no need to delete child widgets, TQt does it all for us
}
/*
* Sets the strings of the subwidgets using the current
* language.
*/
void LMSensorsCfgDesign::languageChange()
{
setCaption( tr2i18n( "LMSensorsCfgDesign" ) );
GroupBoxDes->setTitle( TQString::null );
TextLabel2_2->setText( tr2i18n( "Description" ) );
editDescription->setText( TQString::null );
GroupBox2_2_2->setTitle( tr2i18n( "Values" ) );
editValue->setText( TQString::null );
TextLabel3_2_2_3_2_2_2->setText( tr2i18n( "Current" ) );
TextLabel3_2_4_2_2_2->setText( tr2i18n( "Maximum" ) );
editMaxValue->clear();
editMaxValue->insertItem( tr2i18n( "+1%" ) );
editMaxValue->insertItem( tr2i18n( "+2%" ) );
editMaxValue->insertItem( tr2i18n( "+3%" ) );
editMaxValue->insertItem( tr2i18n( "+4%" ) );
editMaxValue->insertItem( tr2i18n( "+5%" ) );
editMaxValue->insertItem( tr2i18n( "+10%" ) );
editMaxValue->insertItem( tr2i18n( "+15%" ) );
editMaxValue->insertItem( tr2i18n( "+20%" ) );
editMaxValue->insertItem( tr2i18n( "+30%" ) );
editMaxValue->insertItem( tr2i18n( "+40%" ) );
editMaxValue->insertItem( tr2i18n( "+50%" ) );
TextLabel1_2_3_2_2->setText( tr2i18n( "Multiplier" ) );
TextLabel3_2->setText( tr2i18n( "Ideal" ) );
TextLabel3_2_3_2_2_2_2->setText( tr2i18n( "Minimum" ) );
TextLabel1_3_3_2->setText( tr2i18n( "Addition" ) );
editIdealValue->setText( TQString::null );
editMinValue->clear();
editMinValue->insertItem( tr2i18n( "-1%" ) );
editMinValue->insertItem( tr2i18n( "-2%" ) );
editMinValue->insertItem( tr2i18n( "-3%" ) );
editMinValue->insertItem( tr2i18n( "-4%" ) );
editMinValue->insertItem( tr2i18n( "-5%" ) );
editMinValue->insertItem( tr2i18n( "-10%" ) );
editMinValue->insertItem( tr2i18n( "-15%" ) );
editMinValue->insertItem( tr2i18n( "-20%" ) );
editMinValue->insertItem( tr2i18n( "-30%" ) );
editMinValue->insertItem( tr2i18n( "-40%" ) );
editMinValue->insertItem( tr2i18n( "-50%" ) );
SensorsTab->changeTab( tab_2, tr2i18n( "General" ) );
GroupBox13->setTitle( TQString::null );
checkShow->setText( tr2i18n( "Visible" ) );
boxPanelPalette->setTitle( tr2i18n( "Colors" ) );
SensorsTab->changeTab( tab_3, tr2i18n( "Panel" ) );
GroupBox14->setTitle( TQString::null );
checkShowInDock->setText( tr2i18n( "Visible" ) );
GroupBoxColorDock->setTitle( tr2i18n( "Colors" ) );
TextLabel1_2_2_2_2->setText( tr2i18n( "Alarm" ) );
colorAlarm->setText( TQString::null );
colorNormal->setText( TQString::null );
TextLabel1_4_2_2->setText( tr2i18n( "Normal" ) );
SensorsTab->changeTab( tab_4, tr2i18n( "Dock" ) );
TextLabel1_3_2_2_2_2->setText( tr2i18n( "On reach alarm value:" ) );
CheckAllSensors->setText( tr2i18n( "Apply to all sensors" ) );
radioAlarm1->setText( tr2i18n( "Do nothing" ) );
buttonTest->setText( tr2i18n( "Test" ) );
radioAlarm2->setText( tr2i18n( "Play alarm sound" ) );
radioAlarm3->setText( tr2i18n( "Run command" ) );
SensorsTab->changeTab( tab_5, tr2i18n( "Alarms" ) );
MainTab->changeTab( tab, tr2i18n( "Sensors" ) );
ButtonGroup5->setTitle( tr2i18n( "Temperatures scale" ) );
RadioF->setText( tr2i18n( "Fahrenheit" ) );
RadioC->setText( tr2i18n( "Celsius" ) );
RadioK->setText( tr2i18n( "Kelvin" ) );
groupBox79->setTitle( tr2i18n( "Update interval" ) );
SpinUpdateTime->setSuffix( tr2i18n( "s" ) );
MainTab->changeTab( tab_6, tr2i18n( "Preferences" ) );
}
#include "lmsensorscfgdesign.moc"

@ -1,134 +0,0 @@
/****************************************************************************
** Form interface generated from reading ui file './lmsensorscfgdesign.ui'
**
** Created: mer aoû 18 23:39:01 2004
** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.3 edited Nov 24 2003 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#ifndef LMSENSORSCFGDESIGN_H
#define LMSENSORSCFGDESIGN_H
#include <ntqvariant.h>
#include <ntqwidget.h>
#include <kcolorbutton.h>
class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class TQTabWidget;
class TQGroupBox;
class TQLabel;
class TQLineEdit;
class TQComboBox;
class TQCheckBox;
class KColorButton;
class TQFrame;
class TQRadioButton;
class TQPushButton;
class TQListBox;
class TQListBoxItem;
class TQButtonGroup;
class TQSpinBox;
class TQSlider;
class LMSensorsCfgDesign : public TQWidget
{
Q_OBJECT
public:
LMSensorsCfgDesign( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~LMSensorsCfgDesign();
TQTabWidget* MainTab;
TQWidget* tab;
TQTabWidget* SensorsTab;
TQWidget* tab_2;
TQGroupBox* GroupBoxDes;
TQLabel* pixmapSensor;
TQLabel* TextLabel2_2;
TQLineEdit* editDescription;
TQGroupBox* GroupBox2_2_2;
TQLineEdit* editValue;
TQLabel* TextLabel3_2_2_3_2_2_2;
TQLabel* TextLabel3_2_4_2_2_2;
TQComboBox* editMaxValue;
TQLabel* TextLabel1_2_3_2_2;
TQLineEdit* editMul;
TQLabel* TextLabel3_2;
TQLabel* TextLabel3_2_3_2_2_2_2;
TQLabel* TextLabel1_3_3_2;
TQLineEdit* editIdealValue;
TQComboBox* editMinValue;
TQLineEdit* editSum;
TQWidget* tab_3;
TQGroupBox* GroupBox13;
TQCheckBox* checkShow;
TQGroupBox* boxPanelPalette;
TQWidget* tab_4;
TQGroupBox* GroupBox14;
TQCheckBox* checkShowInDock;
TQGroupBox* GroupBoxColorDock;
TQLabel* TextLabel1_2_2_2_2;
KColorButton* colorAlarm;
KColorButton* colorNormal;
TQLabel* TextLabel1_4_2_2;
TQWidget* tab_5;
TQLabel* TextLabel1_3_2_2_2_2;
TQFrame* Frame11_2_2_2;
TQCheckBox* CheckAllSensors;
TQRadioButton* radioAlarm1;
TQPushButton* buttonTest;
TQRadioButton* radioAlarm2;
TQRadioButton* radioAlarm3;
TQLineEdit* editLaunch;
TQLineEdit* editPlay;
TQListBox* listSensors;
TQWidget* tab_6;
TQButtonGroup* ButtonGroup5;
TQRadioButton* RadioF;
TQRadioButton* RadioC;
TQRadioButton* RadioK;
TQGroupBox* groupBox79;
TQSpinBox* SpinUpdateTime;
TQSlider* SliderUpdateTime;
protected:
TQGridLayout* LMSensorsCfgDesignLayout;
TQGridLayout* tabLayout;
TQGridLayout* tabLayout_2;
TQGridLayout* GroupBoxDesLayout;
TQHBoxLayout* layout5;
TQVBoxLayout* layout4;
TQGridLayout* GroupBox2_2_2Layout;
TQSpacerItem* spacer12;
TQSpacerItem* spacer10;
TQVBoxLayout* tabLayout_3;
TQSpacerItem* Spacer4_2;
TQGridLayout* GroupBox13Layout;
TQGridLayout* tabLayout_4;
TQSpacerItem* Spacer3_2;
TQGridLayout* GroupBox14Layout;
TQGridLayout* GroupBoxColorDockLayout;
TQSpacerItem* spacer5;
TQSpacerItem* spacer6;
TQVBoxLayout* tabLayout_5;
TQGridLayout* layout9;
TQSpacerItem* spacer9;
TQHBoxLayout* layout6;
TQSpacerItem* spacer7;
TQHBoxLayout* layout7;
TQSpacerItem* spacer8;
TQGridLayout* tabLayout_6;
TQSpacerItem* spacer12_2;
TQGridLayout* ButtonGroup5Layout;
TQGridLayout* groupBox79Layout;
protected slots:
virtual void languageChange();
};
#endif // LMSENSORSCFGDESIGN_H

@ -1,153 +0,0 @@
#include <tdelocale.h>
/****************************************************************************
** Form implementation generated from reading ui file './palettecfgdesign.ui'
**
** Created: mer aoû 18 23:39:05 2004
** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.3 edited Nov 24 2003 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#include "palettecfgdesign.h"
#include <ntqvariant.h>
#include <ntqframe.h>
#include <ntqlabel.h>
#include <ntqpushbutton.h>
#include <ntqcombobox.h>
#include <kcolorbutton.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>
/*
* Constructs a PaletteCfgDesign as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*/
PaletteCfgDesign::PaletteCfgDesign( TQWidget* parent, const char* name, WFlags fl )
: TQWidget( parent, name, fl )
{
if ( !name )
setName( "PaletteCfgDesign" );
setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) );
PaletteCfgDesignLayout = new TQGridLayout( this, 1, 1, 0, 6, "PaletteCfgDesignLayout");
framePanel = new TQFrame( this, "framePanel" );
framePanel->setMinimumSize( TQSize( 64, 64 ) );
framePanel->setMaximumSize( TQSize( 64, 64 ) );
TQPalette pal;
TQColorGroup cg;
cg.setColor( TQColorGroup::Foreground, black );
cg.setColor( TQColorGroup::Button, TQColor( 228, 228, 228) );
cg.setColor( TQColorGroup::Light, white );
cg.setColor( TQColorGroup::Midlight, TQColor( 241, 241, 241) );
cg.setColor( TQColorGroup::Dark, TQColor( 114, 114, 114) );
cg.setColor( TQColorGroup::Mid, TQColor( 152, 152, 152) );
cg.setColor( TQColorGroup::Text, black );
cg.setColor( TQColorGroup::BrightText, white );
cg.setColor( TQColorGroup::ButtonText, black );
cg.setColor( TQColorGroup::Base, white );
cg.setColor( TQColorGroup::Background, white );
cg.setColor( TQColorGroup::Shadow, black );
cg.setColor( TQColorGroup::Highlight, TQColor( 10, 95, 137) );
cg.setColor( TQColorGroup::HighlightedText, white );
cg.setColor( TQColorGroup::Link, black );
cg.setColor( TQColorGroup::LinkVisited, black );
pal.setActive( cg );
cg.setColor( TQColorGroup::Foreground, black );
cg.setColor( TQColorGroup::Button, TQColor( 228, 228, 228) );
cg.setColor( TQColorGroup::Light, white );
cg.setColor( TQColorGroup::Midlight, white );
cg.setColor( TQColorGroup::Dark, TQColor( 114, 114, 114) );
cg.setColor( TQColorGroup::Mid, TQColor( 152, 152, 152) );
cg.setColor( TQColorGroup::Text, black );
cg.setColor( TQColorGroup::BrightText, white );
cg.setColor( TQColorGroup::ButtonText, black );
cg.setColor( TQColorGroup::Base, white );
cg.setColor( TQColorGroup::Background, white );
cg.setColor( TQColorGroup::Shadow, black );
cg.setColor( TQColorGroup::Highlight, TQColor( 10, 95, 137) );
cg.setColor( TQColorGroup::HighlightedText, white );
cg.setColor( TQColorGroup::Link, black );
cg.setColor( TQColorGroup::LinkVisited, black );
pal.setInactive( cg );
cg.setColor( TQColorGroup::Foreground, TQColor( 128, 128, 128) );
cg.setColor( TQColorGroup::Button, TQColor( 228, 228, 228) );
cg.setColor( TQColorGroup::Light, white );
cg.setColor( TQColorGroup::Midlight, white );
cg.setColor( TQColorGroup::Dark, TQColor( 114, 114, 114) );
cg.setColor( TQColorGroup::Mid, TQColor( 152, 152, 152) );
cg.setColor( TQColorGroup::Text, black );
cg.setColor( TQColorGroup::BrightText, white );
cg.setColor( TQColorGroup::ButtonText, TQColor( 128, 128, 128) );
cg.setColor( TQColorGroup::Base, white );
cg.setColor( TQColorGroup::Background, white );
cg.setColor( TQColorGroup::Shadow, black );
cg.setColor( TQColorGroup::Highlight, TQColor( 10, 95, 137) );
cg.setColor( TQColorGroup::HighlightedText, white );
cg.setColor( TQColorGroup::Link, black );
cg.setColor( TQColorGroup::LinkVisited, black );
pal.setDisabled( cg );
framePanel->setPalette( pal );
framePanel->setFrameShape( TQFrame::Panel );
framePanel->setFrameShadow( TQFrame::Raised );
labelTitle = new TQLabel( framePanel, "labelTitle" );
labelTitle->setGeometry( TQRect( 8, 40, 50, 20 ) );
TQFont labelTitle_font( labelTitle->font() );
labelTitle_font.setPointSize( 7 );
labelTitle->setFont( labelTitle_font );
labelTitle->setAlignment( int( TQLabel::AlignCenter ) );
labelValue = new TQLabel( framePanel, "labelValue" );
labelValue->setGeometry( TQRect( 7, 16, 50, 20 ) );
labelValue->setAlignment( int( TQLabel::AlignCenter ) );
PaletteCfgDesignLayout->addMultiCellWidget( framePanel, 0, 1, 0, 0 );
buttonDefaultPalette = new TQPushButton( this, "buttonDefaultPalette" );
buttonDefaultPalette->setMinimumSize( TQSize( 0, 22 ) );
PaletteCfgDesignLayout->addMultiCellWidget( buttonDefaultPalette, 1, 1, 1, 2 );
comboSelect = new TQComboBox( FALSE, this, "comboSelect" );
comboSelect->setMinimumSize( TQSize( 0, 22 ) );
PaletteCfgDesignLayout->addWidget( comboSelect, 0, 1 );
buttonColor = new KColorButton( this, "buttonColor" );
buttonColor->setMinimumSize( TQSize( 0, 22 ) );
PaletteCfgDesignLayout->addWidget( buttonColor, 0, 2 );
languageChange();
resize( TQSize(287, 74).expandedTo(minimumSizeHint()) );
clearWState( WState_Polished );
}
/*
* Destroys the object and frees any allocated resources
*/
PaletteCfgDesign::~PaletteCfgDesign()
{
// no need to delete child widgets, TQt does it all for us
}
/*
* Sets the strings of the subwidgets using the current
* language.
*/
void PaletteCfgDesign::languageChange()
{
setCaption( tr2i18n( "PaletteCfg" ) );
labelTitle->setText( tr2i18n( "Title" ) );
labelValue->setText( tr2i18n( "+3.5V" ) );
buttonDefaultPalette->setText( tr2i18n( "Default colors" ) );
comboSelect->clear();
comboSelect->insertItem( tr2i18n( "Background" ) );
comboSelect->insertItem( tr2i18n( "Border" ) );
comboSelect->insertItem( tr2i18n( "Title" ) );
comboSelect->insertItem( tr2i18n( "Value" ) );
buttonColor->setText( TQString::null );
}
#include "palettecfgdesign.moc"

@ -1,50 +0,0 @@
/****************************************************************************
** Form interface generated from reading ui file './palettecfgdesign.ui'
**
** Created: mer aoû 18 23:39:01 2004
** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.3 edited Nov 24 2003 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#ifndef PALETTECFGDESIGN_H
#define PALETTECFGDESIGN_H
#include <ntqvariant.h>
#include <ntqwidget.h>
#include <kcolorbutton.h>
class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class TQFrame;
class TQLabel;
class TQPushButton;
class TQComboBox;
class KColorButton;
class PaletteCfgDesign : public TQWidget
{
Q_OBJECT
public:
PaletteCfgDesign( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~PaletteCfgDesign();
TQFrame* framePanel;
TQLabel* labelTitle;
TQLabel* labelValue;
TQPushButton* buttonDefaultPalette;
TQComboBox* comboSelect;
KColorButton* buttonColor;
protected:
TQGridLayout* PaletteCfgDesignLayout;
protected slots:
virtual void languageChange();
};
#endif // PALETTECFGDESIGN_H

@ -1,143 +0,0 @@
#include <tdelocale.h>
/****************************************************************************
** Form implementation generated from reading ui file './systemcfgdesign.ui'
**
** Created: mer aoû 18 23:39:06 2004
** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.3 edited Nov 24 2003 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#include "systemcfgdesign.h"
#include <ntqvariant.h>
#include <ntqpushbutton.h>
#include <ntqtabwidget.h>
#include <ntqlistbox.h>
#include <ntqframe.h>
#include <ntqgroupbox.h>
#include <ntqcheckbox.h>
#include <ntqspinbox.h>
#include <ntqslider.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>
/*
* Constructs a SystemCfgDesign as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*/
SystemCfgDesign::SystemCfgDesign( TQWidget* parent, const char* name, WFlags fl )
: TQWidget( parent, name, fl )
{
if ( !name )
setName( "SystemCfgDesign" );
SystemCfgDesignLayout = new TQGridLayout( this, 1, 1, 8, 4, "SystemCfgDesignLayout");
TabWidget = new TQTabWidget( this, "TabWidget" );
tab = new TQWidget( TabWidget, "tab" );
tabLayout = new TQHBoxLayout( tab, 8, 8, "tabLayout");
listSensors = new TQListBox( tab, "listSensors" );
listSensors->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, listSensors->sizePolicy().hasHeightForWidth() ) );
listSensors->setMinimumSize( TQSize( 160, 0 ) );
listSensors->setMaximumSize( TQSize( 160, 32767 ) );
listSensors->setFrameShape( TQListBox::StyledPanel );
listSensors->setFrameShadow( TQListBox::Sunken );
listSensors->setLineWidth( 2 );
listSensors->setColumnMode( TQListBox::FixedNumber );
tabLayout->addWidget( listSensors );
framePanelCfg = new TQFrame( tab, "framePanelCfg" );
framePanelCfg->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, framePanelCfg->sizePolicy().hasHeightForWidth() ) );
framePanelCfg->setFrameShape( TQFrame::NoFrame );
framePanelCfg->setFrameShadow( TQFrame::Raised );
framePanelCfgLayout = new TQVBoxLayout( framePanelCfg, 0, 4, "framePanelCfgLayout");
GroupBox13 = new TQGroupBox( framePanelCfg, "GroupBox13" );
GroupBox13->setMinimumSize( TQSize( 0, 50 ) );
GroupBox13->setMaximumSize( TQSize( 32767, 50 ) );
GroupBox13->setColumnLayout(0, TQt::Vertical );
GroupBox13->layout()->setSpacing( 6 );
GroupBox13->layout()->setMargin( 11 );
GroupBox13Layout = new TQGridLayout( GroupBox13->layout() );
GroupBox13Layout->setAlignment( TQt::AlignTop );
checkShow = new TQCheckBox( GroupBox13, "checkShow" );
checkShow->setCursor( TQCursor( 0 ) );
GroupBox13Layout->addWidget( checkShow, 0, 0 );
framePanelCfgLayout->addWidget( GroupBox13 );
boxPanelPalette = new TQGroupBox( framePanelCfg, "boxPanelPalette" );
boxPanelPalette->setMinimumSize( TQSize( 0, 90 ) );
framePanelCfgLayout->addWidget( boxPanelPalette );
Spacer4_2 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
framePanelCfgLayout->addItem( Spacer4_2 );
tabLayout->addWidget( framePanelCfg );
TabWidget->insertTab( tab, TQString("") );
tab_2 = new TQWidget( TabWidget, "tab_2" );
tabLayout_2 = new TQVBoxLayout( tab_2, 11, 6, "tabLayout_2");
GroupBox7 = new TQGroupBox( tab_2, "GroupBox7" );
GroupBox7->setMinimumSize( TQSize( 0, 0 ) );
GroupBox7->setColumnLayout(0, TQt::Vertical );
GroupBox7->layout()->setSpacing( 12 );
GroupBox7->layout()->setMargin( 12 );
GroupBox7Layout = new TQHBoxLayout( GroupBox7->layout() );
GroupBox7Layout->setAlignment( TQt::AlignTop );
SpinUpdateTime = new TQSpinBox( GroupBox7, "SpinUpdateTime" );
SpinUpdateTime->setMinValue( 1 );
SpinUpdateTime->setValue( 5 );
GroupBox7Layout->addWidget( SpinUpdateTime );
SliderUpdateTime = new TQSlider( GroupBox7, "SliderUpdateTime" );
SliderUpdateTime->setMaxValue( 60 );
SliderUpdateTime->setValue( 5 );
SliderUpdateTime->setOrientation( TQSlider::Horizontal );
SliderUpdateTime->setTickmarks( TQSlider::Right );
SliderUpdateTime->setTickInterval( 1 );
GroupBox7Layout->addWidget( SliderUpdateTime );
tabLayout_2->addWidget( GroupBox7 );
Spacer18 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
tabLayout_2->addItem( Spacer18 );
TabWidget->insertTab( tab_2, TQString("") );
SystemCfgDesignLayout->addWidget( TabWidget, 0, 0 );
languageChange();
resize( TQSize(334, 240).expandedTo(minimumSizeHint()) );
clearWState( WState_Polished );
// signals and slots connections
connect( SliderUpdateTime, SIGNAL( valueChanged(int) ), SpinUpdateTime, SLOT( setValue(int) ) );
connect( SpinUpdateTime, SIGNAL( valueChanged(int) ), SliderUpdateTime, SLOT( setValue(int) ) );
}
/*
* Destroys the object and frees any allocated resources
*/
SystemCfgDesign::~SystemCfgDesign()
{
// no need to delete child widgets, TQt does it all for us
}
/*
* Sets the strings of the subwidgets using the current
* language.
*/
void SystemCfgDesign::languageChange()
{
setCaption( tr2i18n( "SystemCfgDesign" ) );
GroupBox13->setTitle( TQString::null );
checkShow->setText( tr2i18n( "Visible" ) );
boxPanelPalette->setTitle( tr2i18n( "Colors" ) );
TabWidget->changeTab( tab, tr2i18n( "System Panels" ) );
GroupBox7->setTitle( tr2i18n( "Update interval" ) );
SpinUpdateTime->setSuffix( tr2i18n( "s" ) );
TabWidget->changeTab( tab_2, tr2i18n( "Preferences" ) );
}
#include "systemcfgdesign.moc"

@ -1,64 +0,0 @@
/****************************************************************************
** Form interface generated from reading ui file './systemcfgdesign.ui'
**
** Created: mer aoû 18 23:39:01 2004
** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.3 edited Nov 24 2003 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#ifndef SYSTEMCFGDESIGN_H
#define SYSTEMCFGDESIGN_H
#include <ntqvariant.h>
#include <ntqwidget.h>
class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class TQTabWidget;
class TQListBox;
class TQListBoxItem;
class TQFrame;
class TQGroupBox;
class TQCheckBox;
class TQSpinBox;
class TQSlider;
class SystemCfgDesign : public TQWidget
{
Q_OBJECT
public:
SystemCfgDesign( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~SystemCfgDesign();
TQTabWidget* TabWidget;
TQWidget* tab;
TQListBox* listSensors;
TQFrame* framePanelCfg;
TQGroupBox* GroupBox13;
TQCheckBox* checkShow;
TQGroupBox* boxPanelPalette;
TQWidget* tab_2;
TQGroupBox* GroupBox7;
TQSpinBox* SpinUpdateTime;
TQSlider* SliderUpdateTime;
protected:
TQGridLayout* SystemCfgDesignLayout;
TQHBoxLayout* tabLayout;
TQVBoxLayout* framePanelCfgLayout;
TQSpacerItem* Spacer4_2;
TQGridLayout* GroupBox13Layout;
TQVBoxLayout* tabLayout_2;
TQSpacerItem* Spacer18;
TQHBoxLayout* GroupBox7Layout;
protected slots:
virtual void languageChange();
};
#endif // SYSTEMCFGDESIGN_H
Loading…
Cancel
Save