...
 
Commits (3)
......@@ -69,3 +69,8 @@ Plasma components
~~~~~~~~~~~~~~~~~
- :plasmaapi:`Plasma ToolTip <ToolTip>`
Qt Widgets
~~~~~~~~~~
- :kwidgetsaddonsapi:`QtWidgets: KToolTipWidget <KToolTipWidget>`
......@@ -85,3 +85,27 @@ Appearance
along technical relations.
- Provide a title to each section.
- Follow the guidelines for :doc:`alignment </layout/alignment>`.
Code
----
Qt Widgets
~~~~~~~~~~
- :kwidgetsaddonsapi:`QtWidgets: KPageDialog <KPageDialog>`
.. code-block:: c++
UrlDialog::UrlDialog( QWidget *parent )
: KPageDialog( parent )
{
setFaceType( List );
QLabel *label = new QLabel( "Test Page" );
addPage( label, i18n( "My Test Page" ) );
label = new QLabel( "Second Test Page" );
KPageWidgetItem *page = new KPageWidgetItem( label, i18n( "My Second
Test Page" ) );
page->setHeader( i18n( "My header string" ) );
page->setIcon( QIcon::fromTheme( "file" ) );
addPage( page );
}
......@@ -126,3 +126,8 @@ Kirigami
}
...
}
Qt Widgets
~~~~~~~~~~
- :kwidgetsaddonsapi:`QtWidgets: KActionMenu <KActionMenu>`
......@@ -105,3 +105,17 @@ Appearance
- Use :doc:`title style capitalization </style/writing/capitalization>`
for the label.
- Use a verb or verb phrase for the title of a push button.
Code
----
Kirigami and Plasma components
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- `QML: Button <https://doc.qt.io/qt-5/qml-qtquick-controls2-button.html>`_
Qt Widgets
~~~~~~~~~~
- `QtWidgets: QPushButton <https://doc.qt.io/qt-5/qpushbutton.html>`_
- :kwidgetsaddonsapi:`QtWidgets: KToggleAction <KToggleAction>`