author | mickeyl <mickeyl> | 2003-09-09 13:42:04 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-09-09 13:42:04 (UTC) |
commit | 807165ababca1b8c93b88d6b41f75ec96ce5e799 (patch) (unidiff) | |
tree | 5042886f052d34d7d79bf4e784f87cbad171c86c /noncore/net/wellenreiter/gui/wellenreiterbase.cpp | |
parent | fca4c73a5f0c672db9150f312eb85f1299e80e1b (diff) | |
download | opie-807165ababca1b8c93b88d6b41f75ec96ce5e799.zip opie-807165ababca1b8c93b88d6b41f75ec96ce5e799.tar.gz opie-807165ababca1b8c93b88d6b41f75ec96ce5e799.tar.bz2 |
reading GPS data from gpsd is now working. TODO: save the data
Diffstat (limited to 'noncore/net/wellenreiter/gui/wellenreiterbase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiterbase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiterbase.cpp b/noncore/net/wellenreiter/gui/wellenreiterbase.cpp index 36fbb9a..eac5d89 100644 --- a/noncore/net/wellenreiter/gui/wellenreiterbase.cpp +++ b/noncore/net/wellenreiter/gui/wellenreiterbase.cpp | |||
@@ -102,52 +102,52 @@ WellenreiterBase::WellenreiterBase( QWidget* parent, const char* name, WFlags f | |||
102 | aboutLayout = new QGridLayout( about ); | 102 | aboutLayout = new QGridLayout( about ); |
103 | aboutLayout->setSpacing( 6 ); | 103 | aboutLayout->setSpacing( 6 ); |
104 | aboutLayout->setMargin( 11 ); | 104 | aboutLayout->setMargin( 11 ); |
105 | 105 | ||
106 | PixmapLabel1_3_2 = new QLabel( about, "PixmapLabel1_3_2" ); | 106 | PixmapLabel1_3_2 = new QLabel( about, "PixmapLabel1_3_2" ); |
107 | PixmapLabel1_3_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, PixmapLabel1_3_2->sizePolicy().hasHeightForWidth() ) ); | 107 | PixmapLabel1_3_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, PixmapLabel1_3_2->sizePolicy().hasHeightForWidth() ) ); |
108 | PixmapLabel1_3_2->setFrameShape( QLabel::Panel ); | 108 | PixmapLabel1_3_2->setFrameShape( QLabel::Panel ); |
109 | PixmapLabel1_3_2->setFrameShadow( QLabel::Sunken ); | 109 | PixmapLabel1_3_2->setFrameShadow( QLabel::Sunken ); |
110 | PixmapLabel1_3_2->setLineWidth( 2 ); | 110 | PixmapLabel1_3_2->setLineWidth( 2 ); |
111 | PixmapLabel1_3_2->setMargin( 0 ); | 111 | PixmapLabel1_3_2->setMargin( 0 ); |
112 | PixmapLabel1_3_2->setMidLineWidth( 0 ); | 112 | PixmapLabel1_3_2->setMidLineWidth( 0 ); |
113 | PixmapLabel1_3_2->setPixmap( Resource::loadPixmap( "wellenreiter/logo" ) ); | 113 | PixmapLabel1_3_2->setPixmap( Resource::loadPixmap( "wellenreiter/logo" ) ); |
114 | PixmapLabel1_3_2->setScaledContents( TRUE ); | 114 | PixmapLabel1_3_2->setScaledContents( TRUE ); |
115 | PixmapLabel1_3_2->setAlignment( int( QLabel::AlignCenter ) ); | 115 | PixmapLabel1_3_2->setAlignment( int( QLabel::AlignCenter ) ); |
116 | 116 | ||
117 | aboutLayout->addWidget( PixmapLabel1_3_2, 0, 0 ); | 117 | aboutLayout->addWidget( PixmapLabel1_3_2, 0, 0 ); |
118 | 118 | ||
119 | TextLabel1_4_2 = new QLabel( about, "TextLabel1_4_2" ); | 119 | TextLabel1_4_2 = new QLabel( about, "TextLabel1_4_2" ); |
120 | QFont TextLabel1_4_2_font( TextLabel1_4_2->font() ); | 120 | QFont TextLabel1_4_2_font( TextLabel1_4_2->font() ); |
121 | TextLabel1_4_2_font.setFamily( "adobe-helvetica" ); | 121 | TextLabel1_4_2_font.setFamily( "adobe-helvetica" ); |
122 | TextLabel1_4_2_font.setPointSize( 10 ); | 122 | TextLabel1_4_2_font.setPointSize( 10 ); |
123 | TextLabel1_4_2->setFont( TextLabel1_4_2_font ); | 123 | TextLabel1_4_2->setFont( TextLabel1_4_2_font ); |
124 | TextLabel1_4_2->setText( tr( "<p align=center>\n" | 124 | TextLabel1_4_2->setText( tr( "<p align=center>\n" |
125 | "<hr>\n" | 125 | "<hr>\n" |
126 | "Michael 'Mickey' Lauer<br><hr>\n" | ||
126 | "Max Moser<br>\n" | 127 | "Max Moser<br>\n" |
127 | "Martin J. Muench<br>\n" | 128 | "Martin J. Muench<br>\n" |
128 | "Michael Lauer<br><hr>\n" | 129 | "<b>www.wellenreiter.net</b>\n" |
129 | "<b>www.remote-exploit.org</b>\n" | ||
130 | "</p>" ) ); | 130 | "</p>" ) ); |
131 | TextLabel1_4_2->setAlignment( int( QLabel::AlignCenter ) ); | 131 | TextLabel1_4_2->setAlignment( int( QLabel::AlignCenter ) ); |
132 | 132 | ||
133 | aboutLayout->addWidget( TextLabel1_4_2, 1, 0 ); | 133 | aboutLayout->addWidget( TextLabel1_4_2, 1, 0 ); |
134 | 134 | ||
135 | #ifdef QWS | 135 | #ifdef QWS |
136 | TabWidget->addTab( ap, "wellenreiter/networks", tr( "Nets" ) ); | 136 | TabWidget->addTab( ap, "wellenreiter/networks", tr( "Nets" ) ); |
137 | TabWidget->addTab( graphwindow, "wellenreiter/graph", tr( "Graph" ) ); | 137 | TabWidget->addTab( graphwindow, "wellenreiter/graph", tr( "Graph" ) ); |
138 | TabWidget->addTab( logwindow, "wellenreiter/log", tr( "Log" ) ); | 138 | TabWidget->addTab( logwindow, "wellenreiter/log", tr( "Log" ) ); |
139 | TabWidget->addTab( hexwindow, "wellenreiter/hex", tr( "Hex" ) ); | 139 | TabWidget->addTab( hexwindow, "wellenreiter/hex", tr( "Hex" ) ); |
140 | TabWidget->addTab( statwindow, "wellenreiter/stat", tr( "Stat" ) ); | 140 | TabWidget->addTab( statwindow, "wellenreiter/stat", tr( "Stat" ) ); |
141 | TabWidget->addTab( about, "wellenreiter/about", tr( "About" ) ); | 141 | TabWidget->addTab( about, "wellenreiter/about", tr( "About" ) ); |
142 | #else | 142 | #else |
143 | TabWidget->addTab( ap, /* "wellenreiter/networks", */ tr( "Networks" ) ); | 143 | TabWidget->addTab( ap, /* "wellenreiter/networks", */ tr( "Networks" ) ); |
144 | TabWidget->addTab( graphwindow, /* "wellenreiter/graph", */ tr( "Graph" ) ); | 144 | TabWidget->addTab( graphwindow, /* "wellenreiter/graph", */ tr( "Graph" ) ); |
145 | TabWidget->addTab( logwindow, /* "wellenreiter/log", */ tr( "Log" ) ); | 145 | TabWidget->addTab( logwindow, /* "wellenreiter/log", */ tr( "Log" ) ); |
146 | TabWidget->addTab( hexwindow, /* "wellenreiter/hex", */ tr( "Hex" ) ); | 146 | TabWidget->addTab( hexwindow, /* "wellenreiter/hex", */ tr( "Hex" ) ); |
147 | TabWidget->addTab( statwindow, /* "wellenreiter/hex", */ tr( "Stat" ) ); | 147 | TabWidget->addTab( statwindow, /* "wellenreiter/hex", */ tr( "Stat" ) ); |
148 | TabWidget->addTab( about, /* "wellenreiter/about", */ tr( "About" ) ); | 148 | TabWidget->addTab( about, /* "wellenreiter/about", */ tr( "About" ) ); |
149 | #endif | 149 | #endif |
150 | WellenreiterBaseLayout->addWidget( TabWidget ); | 150 | WellenreiterBaseLayout->addWidget( TabWidget ); |
151 | 151 | ||
152 | #ifdef QWS | 152 | #ifdef QWS |
153 | TabWidget->setCurrentTab( tr( "Nets" ) ); | 153 | TabWidget->setCurrentTab( tr( "Nets" ) ); |