|
|
|
@ -22,7 +22,7 @@
|
|
|
|
|
#include <tqpushbutton.h>
|
|
|
|
|
#include <tqheader.h>
|
|
|
|
|
#include <tqtable.h>
|
|
|
|
|
#include <layout.h>
|
|
|
|
|
#include <tqlayout.h>
|
|
|
|
|
#include <tqtooltip.h>
|
|
|
|
|
#include <tqwhatsthis.h>
|
|
|
|
|
|
|
|
|
@ -45,7 +45,7 @@ BookmarksDlg::BookmarksDlg(const Bookmarks& bms, TQWidget* parent,
|
|
|
|
|
setSizeGripEnabled(TRUE);
|
|
|
|
|
BookmarksDlgLayout = new TQVBoxLayout( this, 11, 6, "BookmarksDlgLayout");
|
|
|
|
|
|
|
|
|
|
layout3 = new TQHBoxLayout( 0, 0, 6, "layout3");
|
|
|
|
|
tqlayout3 = new TQHBoxLayout( 0, 0, 6, "tqlayout3");
|
|
|
|
|
|
|
|
|
|
bookmarksTable = new TQTable(3, 2, this, "bookmarksList" );
|
|
|
|
|
bookmarksTable->horizontalHeader()->setLabel(0, "Title");
|
|
|
|
@ -53,19 +53,19 @@ BookmarksDlg::BookmarksDlg(const Bookmarks& bms, TQWidget* parent,
|
|
|
|
|
// bookmarksTable->setLeftMargin(0);
|
|
|
|
|
bookmarksTable->setColumnStretchable(0, true);
|
|
|
|
|
bookmarksTable->setSelectionMode(TQTable::SingleRow);
|
|
|
|
|
layout3->addWidget( bookmarksTable );
|
|
|
|
|
tqlayout3->addWidget( bookmarksTable );
|
|
|
|
|
|
|
|
|
|
layout2 = new TQVBoxLayout( 0, 0, 6, "layout2");
|
|
|
|
|
tqlayout2 = new TQVBoxLayout( 0, 0, 6, "tqlayout2");
|
|
|
|
|
|
|
|
|
|
addButton = new TQPushButton( this, "addButton" );
|
|
|
|
|
layout2->addWidget( addButton );
|
|
|
|
|
tqlayout2->addWidget( addButton );
|
|
|
|
|
|
|
|
|
|
deleteButton = new TQPushButton( this, "deleteButton" );
|
|
|
|
|
layout2->addWidget( deleteButton );
|
|
|
|
|
tqlayout2->addWidget( deleteButton );
|
|
|
|
|
Horizontal_Spacing2_2 = new TQSpacerItem( 20, 60, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
|
|
|
|
|
layout2->addItem( Horizontal_Spacing2_2 );
|
|
|
|
|
layout3->addLayout( layout2 );
|
|
|
|
|
BookmarksDlgLayout->addLayout( layout3 );
|
|
|
|
|
tqlayout2->addItem( Horizontal_Spacing2_2 );
|
|
|
|
|
tqlayout3->addLayout( tqlayout2 );
|
|
|
|
|
BookmarksDlgLayout->addLayout( tqlayout3 );
|
|
|
|
|
|
|
|
|
|
Layout1 = new TQHBoxLayout( 0, 0, 6, "Layout1");
|
|
|
|
|
|
|
|
|
@ -85,7 +85,7 @@ BookmarksDlg::BookmarksDlg(const Bookmarks& bms, TQWidget* parent,
|
|
|
|
|
Layout1->addWidget( buttonCancel );
|
|
|
|
|
BookmarksDlgLayout->addLayout( Layout1 );
|
|
|
|
|
languageChange();
|
|
|
|
|
resize( TQSize(400, 267).expandedTo(minimumSizeHint()) );
|
|
|
|
|
resize( TQSize(400, 267).expandedTo(tqminimumSizeHint()) );
|
|
|
|
|
clearWState( WState_Polished );
|
|
|
|
|
|
|
|
|
|
updateBookmarks();
|
|
|
|
|