1 /*---------------------------------------------------------------------\
3 | __ __ ____ _____ ____ |
4 | \ \ / /_ _/ ___|_ _|___ \ |
5 | \ V / _` \___ \ | | __) | |
6 | | | (_| |___) || | / __/ |
7 | |_|\__,_|____/ |_| |_____| |
11 \----------------------------------------------------------------------/
13 File: YQPatternSelector.h
15 Author: Stefan Hundhammer <sh@suse.de>
20 #ifndef YQPatternSelector_h
21 #define YQPatternSelector_h
25 #include <ycp/YCPString.h>
27 #include "YQPackageSelectorBase.h"
32 class YQPkgSelDescriptionView;
34 class YQPkgPatternList;
38 class YQPatternSelector: public YQPackageSelectorBase
44 YQPatternSelector( YWidget * parent, long modeFlags );
50 * User clicked on "Details..." - start the detailed package selection.
51 * This will return from UI::RunPkgSelection() with `details .
53 void detailedPackageSelection();
63 // Layout methods - create and layout widgets
66 QWidget * layoutLeftPane ( QWidget * parent );
67 QWidget * layoutRightPane ( QWidget * parent );
68 void layoutButtons ( QWidget * parent );
71 * Find the wizard in the current dialog, if there is any.
72 * Returns 0 if there is none.
74 YQWizard * findWizard() const;
77 * Establish Qt signal / slot connections.
79 void makeConnections();
86 YQPkgSelList * _selList;
87 YQPkgPatternList * _patternList;
88 YQPkgSelDescriptionView * _descriptionView;
94 #endif // YQPatternSelector_h