2
For general Scribus (>=1.3.2) copyright and licensing information please refer
3
to the COPYING file provided with the program. Following this notice may exist
4
a copyright and/or license notice that predates the release of Scribus 1.3.2
5
for which a new license (GPL+exception) is in place.
10
#include "sccombobox.h"
13
class SMScComboBox : public ScComboBox
17
SMScComboBox(QWidget *parent);
20
void setCurrentItem(int i);
21
void setCurrentItem(int i, bool isParentValue);
23
// Set the current index of a combobox according to the value
24
// stored into the data associated to items. Thus, allowing
25
// separation between presentation and data.Isn’t that cool? ;-)
26
void setCurrentItemByData(int i);
27
void setCurrentItemByData(int i, bool isParentValue);
28
void setCurrentItemByData(double d);
29
void setCurrentItemByData(double d, bool isParentValue);
31
int getItemIndexForData(int i);
32
int getItemIndexForData(double d);
34
void setParentItem(int i);
36
bool useParentValue();
42
void setFont(bool wantBold);
45
void currentChanged();