26 #ifndef LIGHTAPP_DIALOG_H
27 #define LIGHTAPP_DIALOG_H
43 #pragma warning ( disable:4251 )
83 bool =
false,
const int = Standard, Qt::WindowFlags = 0 );
89 bool isExclusive()
const;
92 void setExclusive(
const bool );
95 bool isAutoResumed()
const;
98 void setAutoResumed(
const bool );
101 void showObject(
const int );
104 void hideObject(
const int );
107 void setObjectShown(
const int,
const bool );
110 bool isObjectShown(
const int )
const;
113 void setObjectEnabled(
const int,
const bool );
116 bool isObjectEnabled(
const int )
const;
119 QWidget* objectWg(
const int theId,
const int theWgId )
const;
122 void selectObject(
const QString&,
const int,
const QString&,
const bool =
true );
128 void selectObject(
const QStringList&,
const TypesList&,
const QStringList&,
const bool =
true );
131 QString objectText(
const int )
const;
134 void setObjectText(
const int,
const QString& );
137 void selectObject(
const int,
const QString&,
const int,
const QString&,
const bool =
true );
138 void selectObject(
const int,
const QStringList&,
const TypesList&,
const QStringList&,
const bool =
true );
141 bool hasSelection(
const int )
const;
144 void clearSelection(
const int = -1 );
147 void selectedObject(
const int, QStringList& )
const;
150 QString selectedObject(
const int )
const;
153 void objectSelection( SelectedObjects& )
const;
156 void activateObject(
const int );
159 void deactivateAll();
163 void selectionChanged (
int );
166 void objectActivated (
int );
169 void objectDeactivated(
int );
175 void objectChanged(
int,
const QStringList& );
185 int createObject (
const QString&,
QWidget*,
const int = -1 );
188 void setObjectPixmap (
const QPixmap& );
191 void setObjectPixmap (
const QString&,
const QString& );
194 void renameObject (
const int,
const QString& );
197 void setObjectType (
const int,
const int, ... );
200 void setObjectType (
const int,
const TypesList& );
206 void addObjectType (
const int,
const int,
const int, ... );
209 void addObjectType (
const int,
const TypesList& );
212 void addObjectType (
const int,
const int );
215 void removeObjectType(
const int );
218 void removeObjectType(
const int,
const TypesList& );
221 void removeObjectType(
const int,
const int );
224 bool hasObjectType (
const int,
const int )
const;
227 void objectTypes (
const int, TypesList& )
const;
230 QString& typeName(
const int );
231 const QString typeName(
const int )
const;
234 virtual QString selectionDescription(
const QStringList&,
const TypesList&,
const NameIndication )
const;
237 virtual QString countOfTypes(
const TypesList& )
const;
240 NameIndication nameIndication(
const int )
const;
241 void setNameIndication(
const int,
const NameIndication );
244 bool multipleSelection(
const int )
const;
248 void setReadOnly(
const int,
const bool );
251 bool isReadOnly(
const int )
const;
255 void onToggled(
bool );
258 void onTextChanged(
const QString& );
265 void updateButtons(
const int = -1 );
271 void updateObject(
const int,
bool =
true );
274 void filterTypes(
const int, QStringList&, TypesList&, QStringList& )
const;
299 #pragma warning ( default:4251 )