diff options
author | Michele Calgaro <[email protected]> | 2024-08-16 19:11:00 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-08-16 19:11:00 +0900 |
commit | 82ecd83484c9fa1ede059986ab771e74e33e68ef (patch) | |
tree | d0e76f19632bb02fc55028625bdb903902e1bac1 /doc/html/listbox-example.html | |
parent | c55ef27a2c511c29a8a82d00bd2ede1fb02cfa41 (diff) | |
download | tqt3-82ecd83484c9fa1ede059986ab771e74e33e68ef.tar.gz tqt3-82ecd83484c9fa1ede059986ab771e74e33e68ef.zip |
Rename layout nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/html/listbox-example.html')
-rw-r--r-- | doc/html/listbox-example.html | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/doc/html/listbox-example.html b/doc/html/listbox-example.html index 79f4528f9..885ecf514 100644 --- a/doc/html/listbox-example.html +++ b/doc/html/listbox-example.html @@ -107,7 +107,7 @@ private: #include <<a href="tqspinbox-h.html">tqspinbox.h</a>> #include <<a href="tqlistbox-h.html">tqlistbox.h</a>> #include <<a href="tqbuttongroup-h.html">tqbuttongroup.h</a>> -#include <<a href="qlayout-h.html">ntqlayout.h</a>> +#include <<a href="tqlayout-h.html">tqlayout.h</a>> #include <<a href="tqpushbutton-h.html">tqpushbutton.h</a>> @@ -123,7 +123,7 @@ private: g-><a href="tqgridlayout.html#addWidget">addWidget</a>( l, 1, 1 ); <a name="x1447"></a> l-><a href="tqwidget.html#setFocusPolicy">setFocusPolicy</a>( TQWidget::StrongFocus ); - <a href="qvboxlayout.html">TQVBoxLayout</a> * v = new <a href="qvboxlayout.html">TQVBoxLayout</a>; + <a href="tqvboxlayout.html">TQVBoxLayout</a> * v = new <a href="tqvboxlayout.html">TQVBoxLayout</a>; <a name="x1430"></a> g-><a href="tqgridlayout.html#addLayout">addLayout</a>( v, 1, 0 ); <a href="tqradiobutton.html">TQRadioButton</a> * b; @@ -133,77 +133,77 @@ private: "as many rows as needed.", this ); <a name="x1428"></a> bg-><a href="tqbuttongroup.html#insert">insert</a>( b ); -<a name="x1425"></a> v-><a href="qboxlayout.html#addWidget">addWidget</a>( b ); +<a name="x1425"></a> v-><a href="tqboxlayout.html#addWidget">addWidget</a>( b ); <a name="x1440"></a> b-><a href="tqradiobutton.html#setChecked">setChecked</a>( TRUE ); <a name="x1426"></a> <a href="tqobject.html#connect">connect</a>( b, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), this, TQ_SLOT(setNumCols()) ); - <a href="qhboxlayout.html">TQHBoxLayout</a> * h = new <a href="qhboxlayout.html">TQHBoxLayout</a>; -<a name="x1422"></a> v-><a href="qboxlayout.html#addLayout">addLayout</a>( h ); -<a name="x1423"></a> h-><a href="qboxlayout.html#addSpacing">addSpacing</a>( 30 ); - h-><a href="qboxlayout.html#addSpacing">addSpacing</a>( 100 ); - h-><a href="qboxlayout.html#addWidget">addWidget</a>( new <a href="tqlabel.html">TQLabel</a>( "Columns:", this ) ); + <a href="tqhboxlayout.html">TQHBoxLayout</a> * h = new <a href="tqhboxlayout.html">TQHBoxLayout</a>; +<a name="x1422"></a> v-><a href="tqboxlayout.html#addLayout">addLayout</a>( h ); +<a name="x1423"></a> h-><a href="tqboxlayout.html#addSpacing">addSpacing</a>( 30 ); + h-><a href="tqboxlayout.html#addSpacing">addSpacing</a>( 100 ); + h-><a href="tqboxlayout.html#addWidget">addWidget</a>( new <a href="tqlabel.html">TQLabel</a>( "Columns:", this ) ); columns = new <a href="tqspinbox.html">TQSpinBox</a>( this ); - h-><a href="qboxlayout.html#addWidget">addWidget</a>( columns ); + h-><a href="tqboxlayout.html#addWidget">addWidget</a>( columns ); - v-><a href="qboxlayout.html#addSpacing">addSpacing</a>( 12 ); + v-><a href="tqboxlayout.html#addSpacing">addSpacing</a>( 12 ); b = new <a href="tqradiobutton.html">TQRadioButton</a>( "As many columns as fit on-screen,\n" "as many rows as needed.", this ); bg-><a href="tqbuttongroup.html#insert">insert</a>( b ); - v-><a href="qboxlayout.html#addWidget">addWidget</a>( b ); + v-><a href="tqboxlayout.html#addWidget">addWidget</a>( b ); <a href="tqobject.html#connect">connect</a>( b, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), this, TQ_SLOT(setColsByWidth()) ); - v-><a href="qboxlayout.html#addSpacing">addSpacing</a>( 12 ); + v-><a href="tqboxlayout.html#addSpacing">addSpacing</a>( 12 ); b = new <a href="tqradiobutton.html">TQRadioButton</a>( "Fixed number of rows,\n" "as many columns as needed.", this ); bg-><a href="tqbuttongroup.html#insert">insert</a>( b ); - v-><a href="qboxlayout.html#addWidget">addWidget</a>( b ); + v-><a href="tqboxlayout.html#addWidget">addWidget</a>( b ); <a href="tqobject.html#connect">connect</a>( b, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), this, TQ_SLOT(setNumRows()) ); - h = new <a href="qhboxlayout.html">TQHBoxLayout</a>; - v-><a href="qboxlayout.html#addLayout">addLayout</a>( h ); - h-><a href="qboxlayout.html#addSpacing">addSpacing</a>( 30 ); - h-><a href="qboxlayout.html#addSpacing">addSpacing</a>( 100 ); - h-><a href="qboxlayout.html#addWidget">addWidget</a>( new <a href="tqlabel.html">TQLabel</a>( "Rows:", this ) ); + h = new <a href="tqhboxlayout.html">TQHBoxLayout</a>; + v-><a href="tqboxlayout.html#addLayout">addLayout</a>( h ); + h-><a href="tqboxlayout.html#addSpacing">addSpacing</a>( 30 ); + h-><a href="tqboxlayout.html#addSpacing">addSpacing</a>( 100 ); + h-><a href="tqboxlayout.html#addWidget">addWidget</a>( new <a href="tqlabel.html">TQLabel</a>( "Rows:", this ) ); rows = new <a href="tqspinbox.html">TQSpinBox</a>( this ); <a name="x1442"></a> rows-><a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE ); - h-><a href="qboxlayout.html#addWidget">addWidget</a>( rows ); + h-><a href="tqboxlayout.html#addWidget">addWidget</a>( rows ); - v-><a href="qboxlayout.html#addSpacing">addSpacing</a>( 12 ); + v-><a href="tqboxlayout.html#addSpacing">addSpacing</a>( 12 ); b = new <a href="tqradiobutton.html">TQRadioButton</a>( "As many rows as fit on-screen,\n" "as many columns as needed.", this ); bg-><a href="tqbuttongroup.html#insert">insert</a>( b ); - v-><a href="qboxlayout.html#addWidget">addWidget</a>( b ); + v-><a href="tqboxlayout.html#addWidget">addWidget</a>( b ); <a href="tqobject.html#connect">connect</a>( b, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), this, TQ_SLOT(setRowsByHeight()) ); - v-><a href="qboxlayout.html#addSpacing">addSpacing</a>( 12 ); + v-><a href="tqboxlayout.html#addSpacing">addSpacing</a>( 12 ); <a href="tqcheckbox.html">TQCheckBox</a> * cb = new <a href="tqcheckbox.html">TQCheckBox</a>( "Variable-height rows", this ); <a name="x1429"></a> cb-><a href="tqcheckbox.html#setChecked">setChecked</a>( TRUE ); <a name="x1427"></a> <a href="tqobject.html#connect">connect</a>( cb, TQ_SIGNAL(<a href="tqbutton.html#toggled">toggled</a>(bool)), this, TQ_SLOT(setVariableHeight(bool)) ); - v-><a href="qboxlayout.html#addWidget">addWidget</a>( cb ); - v-><a href="qboxlayout.html#addSpacing">addSpacing</a>( 6 ); + v-><a href="tqboxlayout.html#addWidget">addWidget</a>( cb ); + v-><a href="tqboxlayout.html#addSpacing">addSpacing</a>( 6 ); cb = new <a href="tqcheckbox.html">TQCheckBox</a>( "Variable-width columns", this ); <a href="tqobject.html#connect">connect</a>( cb, TQ_SIGNAL(<a href="tqbutton.html#toggled">toggled</a>(bool)), this, TQ_SLOT(setVariableWidth(bool)) ); - v-><a href="qboxlayout.html#addWidget">addWidget</a>( cb ); + v-><a href="tqboxlayout.html#addWidget">addWidget</a>( cb ); cb = new <a href="tqcheckbox.html">TQCheckBox</a>( "Extended-Selection", this ); <a href="tqobject.html#connect">connect</a>( cb, TQ_SIGNAL(<a href="tqbutton.html#toggled">toggled</a>(bool)), this, TQ_SLOT(setMultiSelection(bool)) ); - v-><a href="qboxlayout.html#addWidget">addWidget</a>( cb ); + v-><a href="tqboxlayout.html#addWidget">addWidget</a>( cb ); <a href="tqpushbutton.html">TQPushButton</a> *pb = new <a href="tqpushbutton.html">TQPushButton</a>( "Sort ascending", this ); <a href="tqobject.html#connect">connect</a>( pb, TQ_SIGNAL( <a href="tqbutton.html#clicked">clicked</a>() ), this, TQ_SLOT( sortAscending() ) ); - v-><a href="qboxlayout.html#addWidget">addWidget</a>( pb ); + v-><a href="tqboxlayout.html#addWidget">addWidget</a>( pb ); pb = new <a href="tqpushbutton.html">TQPushButton</a>( "Sort descending", this ); <a href="tqobject.html#connect">connect</a>( pb, TQ_SIGNAL( <a href="tqbutton.html#clicked">clicked</a>() ), this, TQ_SLOT( sortDescending() ) ); - v-><a href="qboxlayout.html#addWidget">addWidget</a>( pb ); + v-><a href="tqboxlayout.html#addWidget">addWidget</a>( pb ); -<a name="x1424"></a> v-><a href="qboxlayout.html#addStretch">addStretch</a>( 100 ); +<a name="x1424"></a> v-><a href="tqboxlayout.html#addStretch">addStretch</a>( 100 ); int i = 0; while( ++i <= 2560 ) |