1 /*---------------------------------------------------------------------\
3 | __ __ ____ _____ ____ |
4 | \ \ / /_ _/ ___|_ _|___ \ |
5 | \ V / _` \___ \ | | __) | |
6 | | | (_| |___) || | / __/ |
7 | |_|\__,_|____/ |_| |_____| |
11 \----------------------------------------------------------------------/
13 File: YQSimplePatchSelector.h
15 Author: Stefan Hundhammer <sh@suse.de>
20 #ifndef YQSimplePatchSelector_h
21 #define YQSimplePatchSelector_h
24 #include <ycp/YCPString.h>
26 #include "YQPackageSelectorBase.h"
31 class YQPkgPatchFilterView;
36 class YQSimplePatchSelector : public YQPackageSelectorBase
42 YQSimplePatchSelector( YWidget * parent, long modeFlags );
48 * User clicked on "Details..." - start the detailed package selection.
49 * This will return from UI::RunPkgSelection() with `details .
51 void detailedPackageSelection();
61 // Layout methods - create and layout widgets
64 void layoutButtons ( QWidget * parent );
67 * Find the wizard in the current dialog, if there is any.
68 * Returns 0 if there is none.
70 YQWizard * findWizard() const;
73 * Establish Qt signal / slot connections.
75 void makeConnections();
80 YQPkgPatchFilterView * _patchFilterView;
81 YQPkgPatchList * _patchList;
87 #endif // YQSimplePatchSelector_h