author | mickeyl <mickeyl> | 2002-12-09 15:31:42 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2002-12-09 15:31:42 (UTC) |
commit | b0a600bf9dd32b908d79c2cf1f12b8088dc2590d (patch) (side-by-side diff) | |
tree | a0555985d4cf10e135cb5e3bcf318ef359cf7936 /noncore/net/wellenreiter/gui/wellenreiterbase.cpp | |
parent | 159a3334ecd168f422afe81853998373457fefa0 (diff) | |
download | opie-b0a600bf9dd32b908d79c2cf1f12b8088dc2590d.zip opie-b0a600bf9dd32b908d79c2cf1f12b8088dc2590d.tar.gz opie-b0a600bf9dd32b908d79c2cf1f12b8088dc2590d.tar.bz2 |
APs and adhoc stations are now grouped and displayed as belonging to a common
net.
Diffstat (limited to 'noncore/net/wellenreiter/gui/wellenreiterbase.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiterbase.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiterbase.cpp b/noncore/net/wellenreiter/gui/wellenreiterbase.cpp index 9b6424d..b1845b9 100644 --- a/noncore/net/wellenreiter/gui/wellenreiterbase.cpp +++ b/noncore/net/wellenreiter/gui/wellenreiterbase.cpp @@ -39,53 +39,60 @@ * name 'name' and widget flags set to 'f' */ WellenreiterBase::WellenreiterBase( QWidget* parent, const char* name, WFlags fl ) : QWidget( parent, name, fl ) { if ( !name ) setName( "WellenreiterBase" ); resize( 191, 294 ); setCaption( tr( "Wellenreiter" ) ); WellenreiterBaseLayout = new QVBoxLayout( this ); WellenreiterBaseLayout->setSpacing( 2 ); WellenreiterBaseLayout->setMargin( 0 ); TabWidget = new OTabWidget( this, "TabWidget", OTabWidget::Global ); ap = new QWidget( TabWidget, "ap" ); apLayout = new QVBoxLayout( ap ); apLayout->setSpacing( 2 ); apLayout->setMargin( 2 ); //--------- NETVIEW TAB -------------- netview = new QListView( ap, "netview" ); netview->addColumn( tr( "SSID" ) ); + netview->setColumnAlignment( 0, AlignLeft || AlignVCenter ); netview->addColumn( tr( "Sig" ) ); + netview->setColumnAlignment( 1, AlignCenter ); netview->addColumn( tr( "AP" ) ); + netview->setColumnAlignment( 2, AlignCenter ); netview->addColumn( tr( "Chn" ) ); + netview->setColumnAlignment( 3, AlignCenter ); netview->addColumn( tr( "W" ) ); + netview->setColumnAlignment( 4, AlignCenter ); netview->addColumn( tr( "T" ) ); + netview->setColumnAlignment( 5, AlignCenter ); + netview->setFrameShape( QListView::StyledPanel ); netview->setFrameShadow( QListView::Sunken ); netview->setRootIsDecorated( TRUE ); apLayout->addWidget( netview ); TabWidget->addTab( ap, "wellenreiter/networks", tr( "Networks" ) ); //--------- LOG TAB -------------- logwindow = new MLogWindow( TabWidget, "Log" ); TabWidget->addTab( logwindow, "wellenreiter/log", tr( "Log" ) ); //--------- HEX TAB -------------- hexwindow = new MHexWindow( TabWidget, "Hex" ); TabWidget->addTab( hexwindow, "wellenreiter/hex", tr( "Hex" ) ); //--------- CONFIG TAB -------------- QPushButton* dummy = new QPushButton( "under construction", TabWidget ); TabWidget->addTab( dummy, "wellenreiter/config", tr( "Config" ) ); //--------- ABOUT TAB -------------- about = new QWidget( TabWidget, "about" ); |