Changeset View
Changeset View
Standalone View
Standalone View
krusader/Konfigurator/konfiguratorpage.h
Show First 20 Lines • Show All 253 Lines • ▼ Show 20 Line(s) | 245 | /** | |||
---|---|---|---|---|---|
254 | * KonfiguratorComboBox *myComboBox = createComboBox( "class", "name", "value2", comboInfo, 3, parentWidget );<br> | 254 | * KonfiguratorComboBox *myComboBox = createComboBox( "class", "name", "value2", comboInfo, 3, parentWidget );<br> | ||
255 | * myLayout->addWidget( myComboBox, 0, 0 ); | 255 | * myLayout->addWidget( myComboBox, 0, 0 ); | ||
256 | * | 256 | * | ||
257 | * @param configGroup The class name used in KConfig (ex. "Archives") | 257 | * @param configGroup The class name used in KConfig (ex. "Archives") | ||
258 | * @param name The item name used in KConfig (ex. "Do Tar") | 258 | * @param name The item name used in KConfig (ex. "Do Tar") | ||
259 | * @param defaultValue The default value of the combobox | 259 | * @param defaultValue The default value of the combobox | ||
260 | * @param params Pointer to the name-value pair array (combo elements) | 260 | * @param params Pointer to the name-value pair array (combo elements) | ||
261 | * @param paramNum Number of the combobox elements | 261 | * @param paramNum Number of the combobox elements | ||
262 | * @param label The label that is associated to the combobox | ||||
262 | * @param parent Reference to the parent widget | 263 | * @param parent Reference to the parent widget | ||
263 | * @param restart The change of this parameter requires Krusader restart | 264 | * @param restart The change of this parameter requires Krusader restart | ||
264 | * @param editable Flag indicates that the combo can be edited | 265 | * @param editable Flag indicates that the combo can be edited | ||
265 | * @param toolTip Tooltip used for this combobox | 266 | * @param toolTip Tooltip used for this combobox | ||
266 | * @param page The subpage of a Konfigurator page (because of setDefaults) | 267 | * @param page The subpage of a Konfigurator page (because of setDefaults) | ||
267 | * | 268 | * | ||
268 | * @return reference to the newly created combobox | 269 | * @return reference to the newly created combobox | ||
269 | */ | 270 | */ | ||
270 | KonfiguratorComboBox *createComboBox(QString configGroup, QString name, QString defaultValue, | 271 | KonfiguratorComboBox *createComboBox(QString configGroup, QString name, QString defaultValue, | ||
271 | KONFIGURATOR_NAME_VALUE_PAIR *params, int paramNum, | 272 | KONFIGURATOR_NAME_VALUE_PAIR *params, int paramNum, | ||
272 | QWidget *parent = nullptr, bool restart = false, | 273 | QLabel *label, QWidget *parent = nullptr, bool restart = false, | ||
273 | bool editable = false, const QString &toolTip = QString(), | 274 | bool editable = false, const QString &toolTip = QString(), | ||
274 | int page = FIRST_PAGE); | 275 | int page = FIRST_PAGE); | ||
275 | 276 | | |||
276 | /** | 277 | /** | ||
277 | * Creates a frame on the page. | 278 | * Creates a frame on the page. | ||
278 | * | 279 | * | ||
279 | * Sample:<br><br> | 280 | * Sample:<br><br> | ||
280 | * QGroupBox *myGroup = createFrame( i18n( "MyFrameName" ), parentWidget, "frameName" );<br> | 281 | * QGroupBox *myGroup = createFrame( i18n( "MyFrameName" ), parentWidget, "frameName" );<br> | ||
▲ Show 20 Lines • Show All 240 Lines • Show Last 20 Lines |